Function at 0x101507e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1019ffc8
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x10218460]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x30], ebx
push ebx
call fcn.1014fb70
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov byte [esi + 0x10], 0
mov byte [edi + 0x10], 0
mov eax, dword [esi + 0xc]
xor ecx, ecx
cmp eax, ecx
jl 0x1015083c
je 0x1015084f
cmp byte [esi + 0x10], cl
je 0x1015084f
call fcn.1012c8b0
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
mov byte [esi + 0x11], 1
xor ecx, ecx
mov dword [esi + 8], ecx
mov eax, dword [edi + 0xc]
cmp eax, ecx
jl 0x10150861
je 0x10150886
cmp byte [edi + 0x10], 0
je 0x10150886
cmp byte [edi + 0x11], 0
je 0x10150879
mov eax, dword [edi + 4]
cmp eax, ecx
je 0x10150879
push eax
call fcn.10178e5d
add esp, 4
xor ecx, ecx
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], ecx
mov byte [edi + 0x11], 1
fld dword [0x101e92bc]
sub esp, 0xc
fstp dword [esp + 0x4c]
lea eax, [esp + 0x70]
fldz
mov dword [edi + 8], ecx
fst dword [esp + 8]
fst dword [esp + 4]
fstp dword [esp]
call fcn.1004b450
mov ecx, dword [ebp + 8]
mov dword [esp + 0xc8], 1
mov eax, dword [ebx + 0x280]
mov eax, dword [eax + 8]
push eax
lea esi, [ebx + 0x68]
push ecx
push esi
mov dword [esp + 0x2c], esi
call fcn.1015af80
mov edx, dword [ebx]
mov eax, dword [edx + 0x2c]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov dword [esp + 0x5c], eax
mov eax, dword [edx + 0x30]
mov ecx, ebx
call eax
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
jmp 0x10150900
mov eax, dword [esi + 0x164]
sub eax, dword [esi + 8]
mov ecx, dword [esi + 0x158]
mov edx, dword [esi + 0x15c]
sub eax, ecx
mov ecx, dword [esi + 0x168]
sub ecx, dword [esi + 0xc]
mov dword [esp + 0x34], eax
sub ecx, edx
test eax, eax
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x34]
jg 0x10150936
lea edx, [esp + 0x54]
test ecx, ecx
lea eax, [esp + 0x24]
jg 0x10150942
lea eax, [esp + 0x58]
mov ecx, dword [eax]
imul ecx, dword [edx]
test ecx, ecx
jle 0x10151160
mov edx, dword [ebx + 0x25c]
mov eax, dword [edx + 8]
mov ecx, dword [ebx + 0x280]
mov edi, dword [ecx + 8]
mov dword [esp + 0x18], eax
mov eax, esi
call fcn.1015a9f0
mov eax, dword [ebx + 0x21c]
xor edi, edi
test eax, eax
jl 0x10150985
cmp eax, edi
je 0x101509ba
cmp byte [ebx + 0x220], 0
je 0x101509ba
cmp byte [ebx + 0x221], 0
je 0x101509a1
mov eax, dword [ebx + 0x214]
cmp eax, edi
je 0x101509a1
push eax
call fcn.10178e5d
add esp, 4
mov dword [ebx + 0x218], edi
mov dword [ebx + 0x214], edi
mov dword [ebx + 0x21c], edi
mov byte [ebx + 0x221], 1
xor ecx, ecx
lea edi, [ebx + 0x22c]
mov dword [ebx + 0x218], ecx
mov eax, dword [edi + 0xc]
cmp eax, ecx
mov dword [esp + 0x38], edi
jl 0x101509da
je 0x101509ff
cmp byte [edi + 0x10], cl
je 0x101509ff
cmp byte [edi + 0x11], 0
je 0x101509f2
mov eax, dword [edi + 4]
cmp eax, ecx
je 0x101509f2
push eax
call fcn.10178e5d
add esp, 4
xor ecx, ecx
mov dword [edi + 8], ecx
mov dword [edi + 4], ecx
mov dword [edi + 0xc], ecx
mov byte [edi + 0x11], 1
fld dword [0x101e93a8]
mov dword [edi + 8], ecx
cmp dword [ebx + 0x54], 1
fstp dword [esp + 0x2c]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], ecx
jle 0x10150b60
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 8]
mov eax, dword [edx + 0x4c]
add ecx, 8
call eax
cmp eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x58]
mov dword [esp + 0x28], eax
jge 0x10150a3d
lea ecx, [esp + 0x28]
mov eax, dword [esp + 0x18]
mov edi, dword [ecx]
lea ecx, [eax + 0x10]
mov byte [eax + 0x20], 0
mov dword [esp + 0x14], ecx
call fcn.10038410
jmp 0x10150a60
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x104]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x30]
call eax
fstp dword [esp + 0x24]
fldz
fld dword [esp + 0x24]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x10150acc
mov ecx, dword [esi + 0x15c]
fstp st(0)
mov edx, dword [esi + 0x158]
mov eax, dword [esi + 0x164]
mov edi, dword [esi + 0x8c]
sub edi, ecx
sub eax, edx
imul edi, eax
add edi, dword [esi + 0x88]
lea ecx, [ebx + 0x208]
sub edi, edx
push edi
call fcn.1003e570
add esp, 4
fld dword [esp + 0x24]
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x10150b0a
mov edi, dword [esi + 0x158]
fstp dword [esp + 0x2c]
mov edx, dword [esi + 0x15c]
mov ecx, dword [esi + 0x164]
mov eax, dword [esi + 0x8c]
sub eax, edx
sub ecx, edi
imul eax, ecx
add eax, dword [esi + 0x88]
sub eax, edi
mov dword [esp + 0x3c], eax
jmp 0x10150b0c
fstp st(0)
mov ecx, dword [ebx + 0x54]
push ecx
mov eax, esi
call fcn.1015b2b0
test al, al
jne 0x10150a60
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov byte [edx + 0x20], al
call fcn.10038410
mov eax, dword [ebx + 0x218]
mov esi, dword [esp + 0x38]
push 0
push eax
call fcn.10009380
fldz
push ecx
fstp dword [esp]
mov eax, esi
call fcn.10061260
mov esi, dword [esp + 0x20]
jmp 0x10150c33
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x104]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x30]
call eax
fstp dword [esp + 0x14]
fldz
fld dword [esp + 0x14]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x10150be0
mov ecx, dword [esi + 0x15c]
fstp st(0)
mov eax, dword [esi + 0x164]
mov edx, dword [esi + 0x8c]
sub eax, dword [esi + 0x158]
sub edx, ecx
imul edx, eax
add edx, dword [esi + 0x88]
lea ecx, [ebx + 0x208]
sub edx, dword [esi + 0x158]
push edx
call fcn.1003e570
fld dword [esp + 0x18]
mov ebx, edi
fstp dword [esp]
call fcn.1014b020
fld dword [esp + 0x18]
mov ebx, dword [esp + 0x34]
add esp, 4
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x10150c20
mov ecx, dword [esi + 0x164]
fstp dword [esp + 0x2c]
mov edx, dword [esi + 0x15c]
mov eax, dword [esi + 0x8c]
sub ecx, dword [esi + 0x158]
sub eax, edx
imul eax, ecx
add eax, dword [esi + 0x88]
sub eax, dword [esi + 0x158]
mov dword [esp + 0x3c], eax
jmp 0x10150c22
fstp st(0)
push 1
mov eax, esi
call fcn.1015b2b0
test al, al
jne 0x10150b60
cmp dword [ebx + 0x54], 1
jle 0x10150da1
cmp dword [ebx + 0x218], 0
mov dword [esp + 0x28], 0
jle 0x10150d5e
mov eax, dword [ebx + 0x54]
mov ecx, dword [esp + 0x28]
or eax, 1
push eax
push eax
mov eax, dword [ebx + 0x214]
mov eax, dword [eax + ecx*4]
call fcn.1015aac0
fld dword [0x101e93a8]
fstp dword [esp + 0x14]
xor esi, esi
jmp 0x10150c80
mov edi, dword [esp + 0x20]
mov edx, dword [edi + 0x88]
mov eax, dword [edi + 0x104]
mov ecx, dword [esp + 0x18]
lea eax, [eax + edx*4]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x30]
call eax
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x10150ce1
mov edx, dword [edi + 0x158]
fstp dword [esp + 0x14]
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 0x10150ce3
fstp st(0)
push 1
mov eax, edi
call fcn.1015b2b0
test al, al
jne 0x10150c80
mov ecx, dword [ebx + 0x1cc]
fld dword [esp + 0x14]
sub ecx, dword [ebx + 0x1c0]
mov eax, esi
cdq
idiv ecx
mov ecx, dword [ebx + 0x1cc]
sub ecx, dword [ebx + 0x1c0]
imul ecx, eax
sub esi, ecx
mov ecx, dword [ebx + 0x1c4]
add ecx, eax
mov eax, dword [ebx + 0x1c0]
lea edx, [eax + esi]
mov eax, dword [ebx + 0x1ac]
imul eax, ecx
mov ecx, dword [esp + 0x28]
add eax, edx
mov edx, dword [ebx + 0x214]
mov dword [edx + ecx*4], eax
mov eax, dword [ebx + 0x230]
add ecx, 1
mov dword [esp + 0x28], ecx
fstp dword [eax + ecx*4 - 4]
cmp ecx, dword [ebx + 0x218]
mov esi, edi
jl 0x10150c52
mov eax, dword [ebx + 0x1b0]
mov ecx, dword [ebx + 0x1ac]
push eax
push ecx
push 0
push 0
lea eax, [esp + 0xa4]
call fcn.10049010
mov ecx, eax
mov eax, esi
mov byte [esp + 0xc8], 2
call fcn.1015aa30
lea ecx, [esp + 0xb4]
mov byte [esp + 0xc8], 1
call fcn.10049090
mov edx, dword [ebx + 0x250]
mov eax, dword [edx + 0x4c]
lea ecx, [ebx + 0x250]
mov dword [esp + 0x18], 1
call eax
cmp eax, 1
jle 0x10150fac
mov dword [esp + 0x24], 0xc
jmp 0x10150dd0
cmp dword [ebx + 0x218], 0
je 0x10150fb9
mov ecx, dword [ebx + 0x25c]
fld dword [0x101e93a8]
mov eax, dword [esp + 0x24]
fstp dword [esp + 0x2c]
mov edx, dword [eax + ecx + 8]
mov ecx, dword [ebx + 0x280]
mov edi, dword [ecx + eax + 8]
mov eax, esi
mov dword [esp + 0x44], edx
call fcn.1015a9f0
xor eax, eax
cmp dword [ebx + 0x218], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], eax
jle 0x10150ee1
mov edx, dword [ebx + 0x214]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax*4]
mov edi, dword [esi + 0x144]
mov eax, ecx
cdq
idiv edi
mov edx, esi
imul edi, eax
sub ecx, edi
call fcn.1015b410
mov ecx, dword [esi + 0x88]
mov eax, dword [esi + 0x104]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x30]
call eax
mov ecx, dword [esp + 0x14]
fstp dword [esp + 0x1c]
fldz
fld dword [esp + 0x1c]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x10150ea4
mov eax, dword [ebx + 0x214]
mov edx, dword [esp + 0x28]
mov edi, dword [eax + ecx*4]
mov dword [eax + edx*4], edi
mov eax, dword [ebx + 0x230]
fld dword [eax + ecx*4]
add edx, 1
fadd st(1)
mov dword [esp + 0x28], edx
fmul qword [0x101e9328]
fstp dword [eax + edx*4 - 4]
fld dword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x10150ecc
mov edx, dword [ebx + 0x214]
fstp dword [esp + 0x2c]
mov eax, dword [edx + ecx*4]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], edx
jmp 0x10150ece
fstp st(0)
add ecx, 1
cmp ecx, dword [ebx + 0x218]
mov dword [esp + 0x14], ecx
jl 0x10150e20
mov eax, dword [ebx + 0x21c]
mov esi, dword [esp + 0x28]
cmp esi, eax
jg 0x10150efa
je 0x10150f6d
cmp byte [ebx + 0x220], 0
je 0x10150f6d
xor edi, edi
cmp byte [ebx + 0x221], 0
je 0x10150f18
mov eax, dword [ebx + 0x214]
cmp eax, edi
je 0x10150f18
push eax
call fcn.10178e5d
add esp, 4
xor eax, eax
cmp esi, edi
mov dword [ebx + 0x214], edi
mov dword [ebx + 0x218], edi
mov dword [ebx + 0x21c], edi
mov byte [ebx + 0x221], 0
jle 0x10150f5a
xor ecx, ecx
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.101790d8
add esp, 4
test eax, eax
je 0x101511b6
mov dword [ebx + 0x214], eax
mov dword [ebx + 0x21c], esi
mov byte [ebx + 0x221], 1
push 0
mov dword [ebx + 0x218], esi
push esi
mov esi, dword [esp + 0x40]
call fcn.10009380
mov esi, dword [esp + 0x18]
mov eax, dword [ebx + 0x250]
mov edx, dword [eax + 0x4c]
add dword [esp + 0x24], 0xc
lea ecx, [ebx + 0x250]
add esi, 1
mov dword [esp + 0x18], esi
call edx
cmp esi, eax
mov esi, dword [esp + 0x20]
jl 0x10150dd0
cmp dword [ebx + 0x218], 0
jne 0x10151057
fild dword [esp + 0x34]
mov eax, dword [ebx + 0x250]
mov edx, dword [eax + 0x4c]
lea edi, [ebx + 0x250]
fadd dword [esp + 0x2c]
mov ecx, edi
fadd qword [0x101ac268]
fstp qword [esp + 0x44]
call edx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov eax, dword [edi]
mov edx, dword [eax + 0x4c]
mov ecx, edi
fsubr qword [esp + 0x44]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp qword [esp + 0x44]
call edx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fdivr qword [esp + 0x44]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x40]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x1015114f
mov esi, dword [esp + 0x3c]
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
lea edi, [esp + 0x84]
call fcn.1014fa60
mov ecx, eax
lea eax, [esp + 0x64]
call fcn.1004b480
mov ecx, edi
call fcn.1004b470
mov esi, dword [esp + 0x20]
jmp 0x10151151
fld1
fcomp dword [ebx + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x10151083
mov eax, dword [esp + 0x38]
push eax
push ecx
mov ecx, dword [esp + 0x38]
fld dword [ecx + 0x1c]
add ebx, 0x208
fstp dword [esp]
push esi
call fcn.1015b6b0
mov ebx, dword [esp + 0x30]
cmp dword [ebx + 0x218], 0
mov dword [esp + 0x18], 0
jle 0x10151120
jmp 0x101510a0
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx + 0x214]
add ecx, ecx
add ecx, ecx
mov esi, dword [eax + ecx]
add eax, ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x20]
lea edi, [esp + 0x74]
call fcn.1014fa60
mov esi, dword [ebp + 0xc]
push eax
mov byte [esp + 0xcc], 3
call fcn.1003e640
add esp, 4
mov ecx, edi
mov byte [esp + 0xc8], 1
call fcn.1004b470
mov edx, dword [ebx + 0x230]
mov eax, dword [esp + 0x1c]
fld dword [eax + edx]
mov ebx, dword [ebp + 0x10]
push ecx
fstp dword [esp]
call fcn.1014b020
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
add eax, 1
add esp, 4
cmp eax, dword [ecx + 0x218]
mov dword [esp + 0x18], eax
mov ebx, ecx
jl 0x101510a0
mov esi, dword [esp + 0x20]
fld1
fcomp dword [ebx + 0x1c]
fnstsw ax
test ah, 0x41
jne 0x10151151
mov edx, dword [ebp + 0x10]
fld dword [ebx + 0x1c]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push edx
push ecx
fstp dword [esp]
call fcn.100f6a40
add esp, 0x14
jmp 0x10151151
fstp st(0)
mov eax, esi
call fcn.1015b140
test al, al
jne 0x10150900
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 8], 0
jne 0x10151198
push 0
push 1
mov esi, ecx
call fcn.10009380
mov ebx, dword [ebp + 0xc]
mov edi, 1
mov ecx, ebx
call fcn.1000ec40
fld dword [esp + 0x40]
mov edx, dword [esi + 4]
fstp dword [edx]
mov eax, dword [ebx + 4]
lea ecx, [esp + 0x64]
call fcn.1004b480
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 4
push esi
push str.void_ert_TmplArr_Type_::size__int32_sizeA__
push str._s:_nFailed_to_allocate__i_untits_of__i_bytes_n
lea eax, [esp + 0x6c]
call fcn.100595b0
add esp, 0x10
push 0x102051a0
lea eax, [esp + 0x60]
push eax
call fcn.1017d044
int3