Function at 0x10015140
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
lea edi, [ebp - 0x128]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0xa
jge 0x10015179
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx*4 + 0x1001cce0]
mov dword [ebp - 0x2c], edx
jmp 0x10015180
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 8]
fld dword [eax + 0x68]
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x6c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x10015201
mov edx, dword [ebp + 8]
fld dword [edx + 0x6c]
mov eax, dword [ebp + 8]
fld dword [eax + 0x70]
fcompp
fnstsw ax
test ah, 0x41
jne 0x100151b8
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x6c]
fstp dword [ebp - 0x118]
jmp 0x100151f3
mov edx, dword [ebp + 8]
fld dword [edx + 0x68]
mov eax, dword [ebp + 8]
fld dword [eax + 0x70]
fcompp
fnstsw ax
test ah, 0x41
jne 0x100151db
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x70]
fstp dword [ebp - 0x11c]
jmp 0x100151e7
mov edx, dword [ebp + 8]
fld dword [edx + 0x68]
fstp dword [ebp - 0x11c]
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
mov dword [ebp - 0x120], ecx
jmp 0x1001526b
mov edx, dword [ebp + 8]
fld dword [edx + 0x70]
mov eax, dword [ebp + 8]
fld dword [eax + 0x6c]
fcompp
fnstsw ax
test ah, 0x41
jne 0x10015224
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x6c]
fstp dword [ebp - 0x124]
jmp 0x1001525f
mov edx, dword [ebp + 8]
fld dword [edx + 0x70]
mov eax, dword [ebp + 8]
fld dword [eax + 0x68]
fcompp
fnstsw ax
test ah, 0x41
jne 0x10015247
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x70]
fstp dword [ebp - 0x128]
jmp 0x10015253
mov edx, dword [ebp + 8]
fld dword [edx + 0x68]
fstp dword [ebp - 0x128]
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x120], ecx
mov edx, dword [ebp - 0x120]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp + 8]
fld dword [ebp - 0x38]
fcomp dword [eax + 0x64]
fnstsw ax
test ah, 5
jp 0x1001528d
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0x64], ecx
mov eax, dword [ebp + 8]
fld dword [0x1001aa50]
fmul dword [eax + 0x64]
fstp dword [ebp - 0x20]
fld dword [ebp - 0x20]
fcomp qword [0x1001ce40]
fnstsw ax
test ah, 0x41
jne 0x100152b3
mov dword [ebp - 0x20], 0x3f59999a
fld dword [ebp - 0x2c]
fmul dword [ebp - 0x20]
fadd dword [0x1001cf48]
fstp dword [ebp - 0x20]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
push eax
call fcn.1000eb70
add esp, 8
fstp dword [ebp - 0x44]
fld dword [ebp - 0x20]
fmul dword [ebp - 0x20]
fsubr dword [0x1001aa50]
fmul dword [ebp - 0x2c]
fmul dword [ebp - 0x44]
fstp dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
lea ecx, [eax + ecx*2]
lea edx, [ecx*4 + 0x30]
mov esi, esp
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
lea ecx, [eax + ecx*4]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
push eax
call dword [sym.imp.MSVCR71.dll_memmove]
add esp, 0xc
cmp esi, esp
call fcn.10018246
mov eax, dword [ebp + 8]
add eax, 0x78
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov dword [ebp - 0x118], edx
fild dword [ebp - 0x118]
push ecx
fstp dword [esp]
call fcn.1000ae50
add esp, 8
call fcn.10018308
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x60]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x20]
jle 0x1001537a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x1c]
jge 0x1001538e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
jmp 0x100153a0
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0xc]
jge 0x100153f0
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
fld dword [edx + eax*4]
fadd dword [0x1001cf48]
fmul dword [ebp - 0x20]
fstp dword [ebp - 0x118]
mov eax, dword [ebp + 8]
add eax, 0x78
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.1000ae50
add esp, 8
fadd dword [ebp - 0x118]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
mov ecx, dword [ebp - 8]
fstp dword [eax + ecx*4]
jmp 0x10015397
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3c]
push edx
push 0x3f7ae148
call fcn.1000e6b0
add esp, 0x10
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x40]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
neg edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
lea edx, [ecx + edx*4]
push edx
call fcn.1000ecb0
add esp, 0x1c
mov eax, dword [ebp + 8]
add eax, 0x44
push eax
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000e7e0
add esp, 0x14
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x74]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x20]
mov dword [edx + ecx*4 + 0x68], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x74]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x74], edx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x74], 2
jle 0x100154bb
mov eax, dword [ebp + 8]
mov dword [eax + 0x74], 0
pop edi
pop esi
pop ebx
add esp, 0x128
cmp ebp, esp
call fcn.10018246
mov esp, ebp
pop ebp
ret