Function at 0x1015d490
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101a34fe
mov eax, dword fs:[0]
push eax
sub esp, 0x120
push ebx
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x50], ebx
mov esi, dword [ebx + 0x20]
mov edi, dword [ebp + 0xc]
push 7
push esi
lea eax, [esp + 0xa0]
push edi
push eax
mov dword [esp + 0x28], esi
call fcn.1013ed30
add esp, 0xc
mov dword [esp + 0x13c], 0
or ecx, 0xffffffff
mov eax, esp
mov dword [esp + 0x3c], esp
call fcn.10065e40
lea eax, [ebx + 0x90]
push edi
push eax
mov byte [esp + 0x144], 1
mov dword [esp + 0x40], eax
call fcn.1000abc0
lea edi, [esp + 0x9c]
mov ecx, eax
mov byte [esp + 0x13c], 0
call fcn.1000d720
mov ecx, dword [esp + 0x34]
push 2
lea eax, [ebx + 0x3f8]
push ecx
push esi
mov esi, eax
mov dword [esp + 0x54], eax
call fcn.1013f060
mov edx, dword [esp + 0x54]
add esp, 0xc
lea esi, [ebx + 0x190]
push esi
lea edi, [ebx + 0x24]
push edx
mov dword [esp + 0x5c], esi
call fcn.1001aed0
push ecx
or ecx, 0xffffffff
mov eax, esp
mov dword [esp + 0x3c], esp
call fcn.10065e40
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x144], 2
call fcn.1000abc0
mov edi, dword [esp + 0x4c]
mov ecx, eax
mov byte [esp + 0x13c], 0
call fcn.1000d720
mov edi, dword [ebx + 0x1a0]
lea edx, [esp + 0x58]
push edx
mov eax, esi
mov dword [esp + 0x50], edi
call fcn.100141c0
mov eax, dword [ebx + 8]
add eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebx + 0x14]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov dword [esp + 0x18], ecx
fld qword [0x101e9328]
fmul st(1), st(0)
fld1
fadd st(2), st(0)
fxch st(2)
fstp dword [esp + 0x30]
fimul dword [esp + 0x18]
faddp st(1)
fstp dword [esp + 0x18]
lea ecx, [esp + 0x60]
fld dword [esp + 0x64]
lea eax, [esp + 0x80]
fld dword [esp + 0x30]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x64]
fld dword [esp + 0x68]
fld dword [esp + 0x18]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x68]
fld dword [esp + 0x70]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x70]
fadd dword [esp + 0x74]
fstp dword [esp + 0x74]
call fcn.100cad60
mov byte [esp + 0x138], 4
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
push ecx
or ecx, 0xffffffff
mov eax, esp
mov dword [esp + 0x3c], esp
call fcn.10065e40
lea ecx, [esp + 0x64]
lea eax, [esp + 0x84]
call fcn.100cad60
push eax
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x140], 5
call fcn.1000d310
lea ecx, [esp + 0x60]
lea eax, [esp + 0xc0]
mov byte [esp + 0x138], 3
call fcn.10048ae0
fld dword [esp + 0x70]
fsub dword [esp + 0x64]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
call fcn.10189ea0
fld dword [esp + 0x74]
fsub dword [esp + 0x68]
mov dword [esp + 0x30], eax
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
call fcn.10189ea0
fld dword [0x101e92d0]
push ecx
mov ecx, dword [esp + 0x34]
fstp dword [esp]
push eax
mov eax, dword [ebp + 8]
push ecx
lea edx, [esp + 0xa4]
push edx
push eax
lea esi, [ebx + 0x1d8]
push esi
call fcn.10085cf0
fld1
fstp dword [ebx + 0x220]
add esp, 0x18
fld dword [0x101e92bc]
xor eax, eax
fstp dword [ebx + 0x224]
mov dword [ebx + 0x22c], eax
fldz
mov dword [ebx + 0x230], eax
mov eax, dword [ebx + 8]
fstp dword [ebx + 0x228]
mov dword [ebx + 0x218], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x21c], eax
mov eax, dword [ebx + 0x5c]
push eax
lea ecx, [ebx + 0x210]
push esi
push ecx
call fcn.1015af80
mov ecx, dword [ebx + 0x50]
push 0
lea esi, [ebx + 0x3b0]
push edi
mov dword [esp + 0x40], ecx
call fcn.10009380
mov edx, dword [ebx + 0x1b4]
mov eax, dword [edx + 0x50]
lea ecx, [ebx + 0x1b4]
push edi
mov dword [esp + 0x1c], ecx
call eax
xor eax, eax
cmp edi, eax
mov dword [esp + 0x28], eax
jle 0x1015d9ba
mov dword [esp + 0x44], eax
mov ecx, dword [ebx + 8]
add ecx, dword [ebx + 0x10]
mov edx, dword [ebx + 0xc]
add edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x19c]
add eax, dword [esp + 0x44]
mov dword [esp + 0x2c], ecx
fild dword [esp + 0x2c]
mov dword [esp + 0x20], edx
fld qword [0x101e9328]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x2c]
fimul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fadd dword [eax + 8]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x24]
fld dword [eax + 4]
movzx ecx, word [esp + 0x24]
fadd dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x1c]
fld dword [eax + 8]
movzx edx, word [esp + 0x1c]
fsub dword [esp + 0x20]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x40]
fld dword [eax + 4]
movzx esi, word [esp + 0x40]
fsub dword [esp + 0x2c]
fstp dword [esp + 0x14]
fld dword [esp + 0x14]
fistp dword [esp + 0x30]
movsx eax, cx
push eax
movsx eax, word [esp + 0x34]
movsx ecx, dx
movsx edx, si
push ecx
push edx
push eax
lea eax, [esp + 0x100]
call fcn.10049010
lea edi, [ebx + 0x210]
lea ecx, [esp + 0xf0]
mov eax, edi
mov byte [esp + 0x138], 6
call fcn.1015aa30
fld dword [0x101e93a8]
mov ecx, dword [esp + 0x38]
fstp dword [esp + 0x20]
mov edx, dword [ecx]
mov eax, dword [esp + 0x28]
mov edx, dword [edx + 0x3c]
push eax
xor esi, esi
call edx
mov dword [esp + 0x14], eax
jmp 0x1015d864
mov eax, dword [esp + 0x14]
mov edx, dword [edi + 0x88]
mov ecx, dword [edi + 0x104]
lea ecx, [ecx + edx*4]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld dword [esp + 0x20]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x1015d8bf
mov edx, dword [edi + 0x158]
fstp dword [esp + 0x20]
mov ecx, dword [edi + 0x15c]
mov eax, dword [edi + 0x164]
mov esi, dword [edi + 0x8c]
sub esi, ecx
sub eax, edx
imul esi, eax
add esi, dword [edi + 0x88]
sub esi, edx
jmp 0x1015d8c1
fstp st(0)
push 1
mov eax, edi
call fcn.1015b2b0
test al, al
jne 0x1015d860
fild dword [ebx + 0xc]
sub esp, 8
fld qword [0x101e9328]
lea eax, [esp + 0x88]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fimul dword [ebx + 8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.100489e0
lea edi, [esp + 0xe0]
lea ecx, [ebx + 0x210]
mov dword [esp + 0x14], eax
call fcn.1014fa60
mov ecx, eax
lea eax, [esp + 0xd4]
call fcn.10009a30
mov ecx, dword [esp + 0x14]
mov edx, eax
lea eax, [esp + 0x8c]
call fcn.10048a40
lea ecx, [esp + 0xd4]
call fcn.10048a00
mov ecx, edi
call fcn.1004b470
lea ecx, [esp + 0x80]
call fcn.10048a00
mov eax, dword [ebx + 0x1c0]
mov edi, dword [esp + 0x44]
add eax, edi
lea ecx, [esp + 0x8c]
call fcn.10048a30
fld dword [esp + 0x20]
mov ecx, dword [ebx + 0x3b4]
mov esi, dword [esp + 0x28]
fstp dword [ecx + esi*4]
lea ecx, [esp + 0x8c]
call fcn.10048a00
lea ecx, [esp + 0x110]
mov byte [esp + 0x138], 3
call fcn.10049090
add esi, 1
add edi, 0xc
cmp esi, dword [esp + 0x4c]
mov dword [esp + 0x28], esi
mov dword [esp + 0x44], edi
jl 0x1015d76b
push 1
lea edx, [esp + 0xf4]
push edx
lea eax, [ebx + 0x3b0]
push eax
call fcn.100064b0
lea edi, [ebx + 0x3d4]
mov ebx, eax
mov byte [esp + 0x138], 7
call fcn.1005ef00
lea eax, [esp + 0xf0]
push eax
mov byte [esp + 0x13c], 3
call fcn.10001b50
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x50]
mov edi, edx
sar edi, 1
cmp edi, edx
jge 0x1015da33
mov ecx, dword [esi + 0x3e0]
fldz
mov ebx, dword [esi + 0x3b4]
lea ecx, [ecx + edi*4]
mov eax, dword [ecx]
fcom dword [ebx + eax*4]
fnstsw ax
test ah, 0x41
jp 0x1015da31
add edi, 1
add ecx, 4
cmp edi, edx
jl 0x1015da1b
fstp st(0)
mov byte [esi + 0x3ec], 0
mov eax, dword [esi + 0x3e8]
cmp edi, eax
jg 0x1015da57
je 0x1015daed
cmp byte [esi + 0x3ec], 0
je 0x1015daed
xor ebx, ebx
cmp byte [esi + 0x3ed], bl
je 0x1015da74
mov eax, dword [esi + 0x3e0]
cmp eax, ebx
je 0x1015da74
push eax
call fcn.10178e5d
add esp, 4
xor eax, eax
cmp edi, ebx
mov dword [esi + 0x3e0], ebx
mov dword [esi + 0x3e4], ebx
mov dword [esi + 0x3e8], ebx
mov byte [esi + 0x3ed], 0
jle 0x1015dada
xor ecx, ecx
mov eax, edi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101790d8
add esp, 4
cmp eax, ebx
jne 0x1015dada
push 4
push edi
push str.void_ert_TmplArr_Type_::size__int32_sizeA__
push str._s:_nFailed_to_allocate__i_untits_of__i_bytes_n
lea eax, [esp + 0x48]
call fcn.100595b0
add esp, 0x10
push 0x102051a0
lea eax, [esp + 0x3c]
push eax
call fcn.1017d044
mov dword [esi + 0x3e0], eax
mov dword [esi + 0x3e8], edi
mov byte [esi + 0x3ed], 1
lea ebx, [esi + 0x16c]
mov dword [esi + 0x3e4], edi
mov edx, dword [ebx]
mov eax, edi
push eax
mov eax, dword [edx + 0x50]
mov ecx, ebx
call eax
xor edx, edx
cmp dword [esi + 0x3e4], edx
jle 0x1015db41
xor edi, edi
mov ecx, dword [esi + 0x3e0]
mov eax, dword [ecx + edx*4]
mov ecx, dword [esi + 0x19c]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 0x178]
add eax, edi
call fcn.10048a30
add edx, 1
add edi, 0xc
cmp edx, dword [esi + 0x3e4]
jl 0x1015db11
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
push ebx
call eax
xor edx, edx
cmp dword [esi + 0x3e4], edx
jle 0x1015db90
xor edi, edi
lea esp, [esp]
mov ecx, dword [esi + 0x3e0]
mov eax, dword [ecx + edx*4]
mov ecx, dword [esi + 0x1c0]
lea eax, [eax + eax*2]
lea ecx, [ecx + eax*4]
mov eax, dword [esi + 0x178]
add eax, edi
call fcn.10048a30
add edx, 1
add edi, 0xc
cmp edx, dword [esi + 0x3e4]
jl 0x1015db60
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0x4c]
push ebx
call eax
fldz
xor ecx, ecx
fst dword [esp + 0x1c]
cmp dword [esi + 0x3e4], ecx
mov dword [esp + 0x28], ecx
jle 0x1015dc00
mov edi, dword [esi + 0x3b4]
mov edx, dword [esi + 0x3e0]
mov eax, dword [edx]
fld dword [edi + eax*4]
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x1015dbea
fadd dword [esp + 0x1c]
add ecx, 1
add edx, 4
cmp ecx, dword [esi + 0x3e4]
fstp dword [esp + 0x1c]
jl 0x1015dbbc
jmp 0x1015dbec
fstp st(0)
test ecx, ecx
fstp st(0)
mov dword [esp + 0x28], ecx
jle 0x1015dc02
fld dword [esp + 0x1c]
fidiv dword [esp + 0x28]
jmp 0x1015dc04
fstp st(0)
fld1
fstp dword [esp + 0x1c]
mov edi, dword [esp + 0x48]
fild dword [esp + 0x28]
mov ecx, 2
fld dword [esp + 0x1c]
mov eax, edi
fld1
fsubrp st(1)
fsubp st(1)
fidiv dword [esp + 0x4c]
fstp dword [esp + 0x38]
call fcn.10019930
call fcn.10019940
mov edx, dword [esp + 0x54]
call fcn.100198f0
mov edx, dword [esp + 0x18]
mov eax, edi
call fcn.10019910
mov ecx, edi
call fcn.10019cf0
push ecx
or ecx, 0xffffffff
mov eax, esp
mov dword [esp + 0x18], esp
call fcn.10065e40
mov ecx, dword [esp + 0x38]
call fcn.1000d720
push ecx
or ecx, 0xffffffff
mov eax, esp
mov dword [esp + 0x18], esp
call fcn.10065e40
lea ebx, [esp + 0xf4]
lea eax, [esp + 0x9c]
call fcn.1002d160
mov ebx, dword [esp + 0x38]
mov edi, eax
mov ecx, ebx
mov byte [esp + 0x13c], 8
call fcn.1000d720
lea ecx, [esp + 0x124]
mov byte [esp + 0x138], 3
call fcn.10050d00
cmp dword [esi + 0x68], 0
je 0x1015dcbf
push ebx
push ebx
push esi
call fcn.1015c4f0
mov ecx, dword [ebp + 0x10]
push ebx
push ecx
call fcn.1000abc0
lea ecx, [esp + 0x78]
call fcn.10049aa0
lea ecx, [esp + 0xcc]
call fcn.10050d00
fld dword [esp + 0x38]
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc