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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
mov ebx, ecx
cmp byte [ebx + 0x14c], 0
push esi
push edi
je 0x4f260a
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x11944]
mov dword [esp + 0x14], ecx
fild dword [esp + 0x14]
mov eax, dword [eax + 0x11948]
sub esp, 0xc
fdiv qword [0x6a1590]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x54]
fstp dword [esp + 0x1c]
fld1
fstp dword [esp + 8]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fstp dword [esp]
push eax
call fcn.00474095
fldz
add esp, 0x10
lea ecx, [ebx + 0x180]
mov eax, dword [ecx]
push 0xb4ffffff
push ecx
push ecx
fst dword [esp + 4]
lea edx, [esp + 0x54]
fstp dword [esp]
push edx
call dword [eax + 0x5c]
lea ecx, [esp + 0xc8]
call fcn.00404620
fldz
sub esp, 0xc
fstp dword [esp + 8]
fld dword [esp + 0x1c]
lea eax, [esp + 0x94]
fmul qword [0x6a1878]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fmul qword [0x6a1870]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp]
push eax
call fcn.0047402e
add esp, 0x10
lea ecx, [esp + 0xc8]
call fcn.00404580
fldz
push 0xffffffffffffffff
push ecx
push ecx
fst dword [esp + 4]
lea eax, [esp + 0xd4]
fstp dword [esp]
push eax
lea esi, [ebx + 0x5a8]
mov edi, dword [esi]
lea eax, [esp + 0x98]
lea edx, [esp + 0x58]
call fcn.004044d0
push eax
mov ecx, esi
call dword [edi + 0x5c]
lea ecx, [esp + 0x28]
lea esi, [ebx + 0x3ec]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
fild dword [eax]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
fstp dword [esp + 0x18]
mov ecx, esi
call dword [eax + 0x1c]
fild dword [eax + 4]
mov edx, dword [esi]
fstp dword [esp + 0x18]
fldz
push 0xffffffffffffffff
fst dword [esp + 0x2c]
sub esp, 0x10
fstp dword [esp + 0x40]
mov edi, esp
fld dword [esp + 0x28]
lea esi, [esp + 0x3c]
fstp dword [esp + 0x44]
lea eax, [ebx + 0x654]
fld dword [esp + 0x2c]
sub esp, 0x10
fstp dword [esp + 0x58]
lea ecx, [ebx + 0x3ec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x64]
lea ecx, [esp + 0x28]
lea esi, [ebx + 0x480]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
fild dword [eax]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
fstp dword [esp + 0x18]
call dword [eax + 0x1c]
fild dword [eax + 4]
mov eax, dword [esi]
push 0xffffffffffffffff
fstp dword [esp + 0x1c]
sub esp, 0x10
fldz
mov edi, esp
fst dword [esp + 0x3c]
lea esi, [esp + 0x3c]
fstp dword [esp + 0x40]
sub esp, 0x10
fld dword [esp + 0x38]
lea ecx, [ebx + 0x480]
fstp dword [esp + 0x54]
fld dword [esp + 0x3c]
fstp dword [esp + 0x58]
fld dword [ebx + 0x654]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x5c]
fld dword [esp + 0x34]
movsd dword es:[edi], dword [esi]
fmul qword [0x6a1868]
movsd dword es:[edi], dword [esi]
fstp qword [esp + 0x44]
fld dword [ebx + 0x658]
fsub qword [esp + 0x44]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x60]
fld dword [ebx + 0x65c]
fstp dword [esp + 0x64]
mov edi, esp
fld dword [ebx + 0x658]
lea esi, [esp + 0x5c]
fstp dword [esp + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x64]
lea esi, [ebx + 0x514]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, esi
call dword [eax + 0x1c]
fild dword [eax]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
fstp dword [esp + 0x18]
mov ecx, esi
call dword [eax + 0x1c]
fild dword [eax + 4]
lea eax, [ebx + 0x660]
push 0xffffffffffffffff
fstp dword [esp + 0x1c]
sub esp, 0x10
fldz
mov edi, esp
fst dword [esp + 0x3c]
sub esp, 0x10
fstp dword [esp + 0x50]
lea ecx, [ebx + 0x514]
fld dword [esp + 0x38]
fstp dword [esp + 0x54]
fld dword [esp + 0x3c]
fstp dword [esp + 0x58]
fld dword [ebx + 0x654]
fstp dword [esp + 0x5c]
fld dword [eax]
fstp dword [esp + 0x60]
fld dword [ebx + 0x65c]
fstp dword [esp + 0x64]
fld dword [eax]
mov eax, dword [esi]
fadd qword [esp + 0x44]
lea esi, [esp + 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x68]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [esp + 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x64]
lea eax, [ebx + 0x800]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 2
mov eax, dword [esp + 0x1c]
sub esp, 0x40
push 0x10
pop ecx
mov edi, esp
add eax, 0xffffff10
mov edx, dword [eax]
lea esi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
mov ecx, eax
call dword [edx + 0x48]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
sub esp, 0x40
push 0x10
pop ecx
mov edi, esp
lea esi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
mov ecx, eax
call dword [edx + 0x48]
add dword [esp + 0x1c], 0x78
dec dword [esp + 0x20]
jne 0x4f239e
sub esp, 0x40
push 0x10
pop ecx
mov edi, esp
lea eax, [ebx + 0x984]
mov edx, dword [eax]
lea esi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
mov ecx, eax
call dword [edx + 0x48]
xor esi, esi
cmp dword [ebx + 0x10], esi
je 0x4f260a
cmp dword [ebx + 0xa4], esi
mov dword [esp + 0x20], esi
jle 0x4f260a
fld dword [esp + 0x10]
mov dword [esp + 0x1c], esi
fmul qword [0x6a1860]
fstp qword [esp + 0x38]
lea edi, [ebx + 0x158]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, dword [ebx + 0x10]
fmul dword [esp + 0x10]
fadd dword [esi + eax + 0x3c4]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 0x41
jnp 0x4f25ec
fld dword [esp + 0x10]
mov eax, dword [edi]
fmul qword [0x6a1858]
mov ecx, edi
fstp qword [esp + 0x28]
call dword [eax + 4]
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
mov eax, dword [ebx + 0x10]
fmul dword [esp + 0x10]
fadd dword [esi + eax + 0x3c4]
fcomp qword [esp + 0x28]
fnstsw ax
test ah, 1
je 0x4f25ec
fld1
sub esp, 0xc
fstp dword [esp + 8]
lea eax, [esp + 0x94]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fstp dword [esp]
push eax
call fcn.00474095
add esp, 0x10
lea ecx, [esp + 0x48]
call fcn.00404580
mov eax, dword [ebx + 0x10]
lea ecx, [esi + eax]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebx + 0x10]
lea ecx, [esi + eax + 0x1a4]
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [ebx + 0x10]
sub esp, 0x40
push 0x10
lea eax, [esi + eax + 0x348]
mov edx, dword [eax]
pop ecx
mov edi, esp
lea esi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
push 0xffffffffffffffff
mov ecx, eax
call dword [edx + 0x48]
sub esp, 0xc
fld1
lea eax, [esp + 0x94]
fst dword [esp + 8]
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fstp dword [esp]
push eax
call fcn.00474095
add esp, 0x10
lea ecx, [esp + 0x48]
call fcn.00404580
fldz
push ecx
fstp dword [esp]
lea ecx, [ebx + 0x158]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
mov eax, dword [ebx + 0x10]
push ecx
fadd qword [0x6a1850]
push ecx
fsub qword [0x6a15d0]
fmul dword [esp + 0x1c]
fadd dword [ecx + eax + 0x3c4]
lea eax, [esp + 0x94]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fmul qword [0x6a1848]
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
call fcn.0047402e
add esp, 0x10
lea ecx, [esp + 0xc8]
call fcn.00404580
fldz
push 0xffffffffffffffff
lea esi, [ebx + 0x9fc]
mov edi, dword [esi]
push ecx
push ecx
fst dword [esp + 4]
lea eax, [esp + 0xd4]
fstp dword [esp]
push eax
lea eax, [esp + 0x98]
lea edx, [esp + 0x58]
call fcn.004044d0
push eax
mov ecx, esi
call dword [edi + 0x5c]
mov esi, dword [esp + 0x1c]
inc dword [esp + 0x20]
mov eax, dword [esp + 0x20]
add esi, 0x3d0
cmp eax, dword [ebx + 0xa4]
mov dword [esp + 0x1c], esi
jl 0x4f2437
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret