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

Disassembly:
sub esp, 0x6c
fild dword [0x131473c]
push ebx
push ebp
mov ebp, ecx
push esi
fmul dword [0x535428]
mov eax, dword [ebp + 4]
push edi
mov edi, 1
mov dword [esp + 0x2c], ebp
cmp eax, edi
mov dword [esp + 0x30], eax
fstp dword [esp + 0x10]
mov dword [esp + 0x1c], edi
jl 0x49f371
mov eax, dword [ebp]
mov esi, dword [eax + edi*4 - 4]
mov eax, dword [esi + 0x60]
test eax, eax
jne 0x49f371
mov eax, dword [esi + 0x78]
test eax, eax
je 0x49f212
fild dword [esi + 0x80]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x34], 0
fstp dword [esp + 0x24]
fild dword [esi + 0x7c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
fstp dword [esp + 0x14]
call fcn.0051bf85
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul dword [0x535a38]
fld dword [esp + 0x24]
fsub dword [esp + 0x14]
fmulp st(1)
fadd dword [esp + 0x14]
call fcn.0051a9fc
test eax, eax
je 0x49f262
lea ecx, [esi + 8]
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov edx, dword [ecx]
mov dword [esp + 0x40], edx
mov dword [esp + 0x4c], edx
mov eax, dword [ecx + 4]
mov edx, dword [esi + 0x38]
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], eax
mov ecx, dword [ecx + 8]
mov eax, dword [esi + 0x34]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x54], ecx
push edx
push eax
mov ecx, esi
call fcn.0049fd90
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x70]
push ecx
push edx
mov ecx, esi
call fcn.0049fdc0
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0x64]
call fcn.0049fa40
mov ecx, dword [esi + 0x40]
mov edx, dword [esi + 0x3c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], edx
call fcn.0051bf85
mov dword [esp + 0x24], eax
push ecx
fild dword [esp + 0x28]
lea ecx, [esp + 0x5c]
fmul dword [0x535a38]
fld dword [esp + 0x2c]
fsub dword [esp + 0x1c]
fmulp st(1)
fadd dword [esp + 0x1c]
fstp dword [esp]
call fcn.0049fc90
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x38], ecx
push eax
mov dword [esp + 0x40], edx
call fcn.0045b080
fstp st(0)
fild dword [esi + 0x80]
add esp, 4
fstp dword [esp + 0x20]
fild dword [esi + 0x7c]
fstp dword [esp + 0x14]
call fcn.0051bf85
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fmul dword [0x535a38]
fld dword [esp + 0x20]
fsub dword [esp + 0x14]
fmulp st(1)
fadd dword [esp + 0x14]
call fcn.0051a9fc
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x88]
fild dword [esp + 0x24]
fld dword [esp + 0x34]
mov edx, dword [esi + 0x14]
push ecx
fmul st(1)
fld dword [esp + 0x3c]
fmul st(2)
push 0
push ecx
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fmul st(2)
fstp dword [esp + 0x48]
fld dword [esp + 0x4c]
fadd st(1)
fstp dword [esp + 0x40]
mov ecx, dword [esp + 0x40]
fstp st(0)
fstp st(0)
fld dword [esp + 0x44]
fadd dword [esp + 0x50]
fstp dword [esp + 0x44]
fld dword [esp + 0x48]
fadd dword [esp + 0x54]
fstp dword [esp + 0x48]
fld dword [esi + 0x84]
fstp dword [esp]
push edx
mov edx, dword [esp + 0x48]
sub esp, 0xc
mov eax, esp
sub esp, 0xc
mov dword [eax], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], edx
mov edx, esp
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [edx], eax
mov eax, dword [esp + 0x7c]
mov dword [edx + 4], ecx
mov ecx, ebp
mov dword [edx + 8], eax
call fcn.0049ed10
jmp 0x49f262
mov eax, dword [esi + 0x68]
test eax, eax
je 0x49f227
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.0049dfd0
jmp 0x49f262
lea edx, [esi + 8]
mov eax, dword [esi + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [edx + 4]
mov dword [esp + 0x68], ecx
mov edx, dword [edx + 8]
fld dword [esp + 0x68]
mov dword [esp + 0x6c], edx
call fcn.0051a9fc
mov ebx, dword [ebp + 0xc]
fld dword [esp + 0x64]
imul ebx, eax
call fcn.0051a9fc
mov ecx, dword [esi + 0x14]
add ebx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax + ebx*4], ecx
mov ebx, dword [esi + 0xa0]
cmp ebx, 1
jl 0x49f360
mov edx, dword [esi + 0x9c]
mov eax, dword [esp + 0x10]
push eax
mov edi, dword [edx + ebx*4 - 4]
mov ecx, edi
call fcn.0049da00
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
fcomp dword [edi + 0x94]
fnstsw ax
test ah, 0x41
jnp 0x49f31a
fld dword [edi + 0x94]
fcomp dword [0x5354c0]
fnstsw ax
test ah, 5
jnp 0x49f31a
fild dword [ebp + 0x10]
fcomp dword [edi + 0x98]
fnstsw ax
test ah, 0x41
jnp 0x49f31a
fld dword [edi + 0x98]
fcomp dword [0x5354c0]
fnstsw ax
test ah, 5
jnp 0x49f31a
fld dword [edi + 4]
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 5
jnp 0x49f31a
fld dword [edi + 0x98]
call fcn.0051a9fc
imul eax, dword [esp + 0x14]
fld dword [edi + 0x94]
mov dword [esp + 0x24], eax
call fcn.0051a9fc
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add ecx, eax
mov eax, dword [edi + 0xa0]
mov edx, dword [ebp + 0x18]
mov dword [edx + ecx*4], eax
jmp 0x49f352
push edi
call dword [sym.imp.SYSTEM86.DLL_MemoryFree]
mov edi, dword [esi + 0xa0]
add esp, 4
dec edi
lea eax, [ebx - 1]
mov ecx, edi
mov dword [esi + 0xa0], edi
cmp eax, ecx
jge 0x49f352
mov ecx, dword [esi + 0x9c]
inc eax
mov edx, dword [ecx + eax*4]
mov dword [ecx + eax*4 - 4], edx
mov ecx, dword [esi + 0xa0]
cmp eax, ecx
jl 0x49f33a
dec ebx
cmp ebx, 1
jge 0x49f271
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x30]
inc edi
cmp edi, eax
mov dword [esp + 0x1c], edi
jle 0x49efd5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret