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

Disassembly:
sub esp, 0x8c
fld dword [0x672af8]
mov edx, dword [esp + 0x98]
push ebp
push esi
mov esi, dword [0x746ebc]
fld dword [esi + 0x2c]
add esi, 0x2c
fucompp
push edi
mov byte [esp + 0xf], 0
mov edi, edx
mov ecx, 0x1d
fnstsw ax
test ah, 0x44
jnp 0x4f2731
rep movsd dword es:[edi], dword [esi]
mov word [edx + 0xc], 2
jmp 0x4f2738
mov esi, 0x65dd70
rep movsd dword es:[edi], dword [esi]
mov cl, byte [esp + 0x9c]
mov eax, 1
test al, cl
je 0x4f275a
mov dword [esp + 0x48], 0x65ddf0
mov dword [esp + 0x18], 4
jmp 0x4f2766
mov dword [esp + 0x48], 0x65dde4
mov dword [esp + 0x18], eax
xor ebp, ebp
cmp word [esp + 0x18], bp
jle 0x4f2b4e
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x54]
movsx eax, bp
lea edx, [esp + 0x28]
lea eax, [eax + eax*2]
push edx
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0xb0]
push edx
lea ebx, [esp + 0x24]
lea edi, [esp + 0x34]
lea esi, [esp + 0xa0]
call fcn.005555c0
add esp, 0x10
test al, al
jne 0x4f27ca
inc ebp
cmp bp, word [esp + 0x1c]
jl 0x4f2774
mov al, byte [esp + 0x13]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x8c
ret
movsx ecx, word [esp + 0x24]
mov eax, dword [0x746ebc]
mov edx, dword [eax + 0x108]
movsx edi, word [esp + 0x20]
mov eax, dword [0x87b7b4]
shl ecx, 5
mov ebp, dword [ecx + edx + 0x18]
add ecx, edx
shl edi, 8
mov edx, dword [edi + ebp + 0xc]
add edi, ebp
and edx, 0xffff
shl edx, 5
mov ebp, dword [edx + eax + 0x14]
cmp word [ebp + 0x24], 3
jne 0x4f2b4d
mov esi, dword [0x746ebc]
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x4f2b4d
mov dx, word [ecx]
cmp dx, 0xffff
je 0x4f2b4d
cmp dword [ebp + 0x94], 0xffffffff
je 0x4f2b4d
mov ecx, dword [esp + 0x5c]
mov esi, dword [esi + 0xfc]
lea ecx, [ecx + ecx*2]
lea ebx, [esi + ecx*2]
call fcn.0043f250
mov ecx, dword [ebp + 0x94]
mov esi, eax
mov eax, dword [0x87b7b4]
mov edx, ecx
and edx, 0xffff
shl edx, 5
mov ebp, dword [edx + eax + 0x14]
movsx eax, word [edi + 0x10]
cdq
idiv dword [ebp + 0x60]
mov eax, ecx
call fcn.0043f250
test esi, esi
mov ebp, eax
je 0x4f2b4d
test ebp, ebp
je 0x4f2b4d
push 1
push 1
mov eax, esi
call fcn.00444670
add esp, 8
test eax, eax
je 0x4f2b4d
push 1
push 1
mov eax, ebp
call fcn.00444670
add esp, 8
test eax, eax
je 0x4f2b4d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x78]
push ecx
push edx
push eax
push ebp
mov ecx, ebx
mov eax, edi
call fcn.004f0aa0
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x94]
push ecx
push edx
push eax
push esi
mov edx, ebx
mov ecx, edi
call fcn.004f08d0
mov bp, word [edi + 0xb0]
add esp, 0x20
cmp bp, 1
jne 0x4f2946
movzx eax, word [ebx]
mov ecx, dword [edi + 0xf8]
shl eax, 5
add eax, ecx
lea esi, [esp + 0x28]
call fcn.00513630
movzx eax, word [ebx + 2]
mov esi, dword [edi + 0xf8]
shl eax, 5
add eax, esi
lea esi, [esp + 0x34]
call fcn.00513630
movzx eax, word [ebx + 4]
mov ecx, dword [edi + 0xf8]
shl eax, 5
add eax, ecx
lea esi, [esp + 0x40]
call fcn.00513630
jmp 0x4f29b6
test bp, bp
je 0x4f2951
cmp bp, 0xc
jne 0x4f29b6
movzx eax, word [ebx]
mov ecx, dword [edi + 0xe4]
imul eax, eax, 0x38
add eax, ecx
add eax, 0xc
mov edx, dword [eax]
mov dword [esp + 0x28], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x30], eax
movzx eax, word [ebx + 2]
imul eax, eax, 0x38
add eax, ecx
add eax, 0xc
mov dword [esp + 0x2c], edx
mov edx, dword [eax]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], eax
movzx eax, word [ebx + 4]
imul eax, eax, 0x38
add eax, ecx
add eax, 0xc
mov ecx, dword [eax]
mov dword [esp + 0x38], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x68]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x3c]
lea esi, [esp + 0x30]
call fcn.004f0870
add esp, 8
mov ecx, eax
call fcn.00401990
fstp st(0)
cmp bp, 1
jne 0x4f2a2d
mov ebp, dword [edi + 0xb4]
movzx eax, word [ebx]
mov edi, dword [edi + 0xf8]
shl ebp, 2
add eax, ebp
lea eax, [edi + eax*8]
lea esi, [esp + 0x28]
call fcn.00513660
movzx ecx, word [ebx + 2]
add ecx, ebp
lea eax, [edi + ecx*8]
lea esi, [esp + 0x34]
call fcn.00513660
movzx edx, word [ebx + 4]
add edx, ebp
lea eax, [edi + edx*8]
lea esi, [esp + 0x40]
call fcn.00513660
jmp 0x4f2aaa
test bp, bp
je 0x4f2a38
cmp bp, 0xc
jne 0x4f2aaa
mov eax, dword [edi + 0xb4]
movzx ecx, word [ebx]
imul eax, eax, 0x38
mov edi, dword [edi + 0xe4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov edx, dword [ecx + edi]
add ecx, edi
mov dword [esp + 0x28], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x30], ecx
movzx ecx, word [ebx + 2]
mov dword [esp + 0x2c], edx
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*4]
mov edx, dword [ecx + edi]
add ecx, edi
mov dword [esp + 0x34], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x3c], ecx
movzx ecx, word [ebx + 4]
mov dword [esp + 0x38], edx
lea edx, [ecx + ecx*4]
lea eax, [eax + edx*4]
mov ecx, dword [eax + edi]
mov edx, dword [eax + edi + 4]
add eax, edi
mov eax, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
lea ecx, [esp + 0x28]
call fcn.00401990
fstp dword [esp + 0x50]
lea ecx, [esp + 0x34]
call fcn.00401990
fstp dword [esp + 0x54]
lea ecx, [esp + 0x40]
call fcn.00401990
fstp dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x74]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x3c]
lea esi, [esp + 0x30]
call fcn.004f0870
mov ecx, eax
call fcn.00401990
fstp st(0)
fld dword [esp + 0x5c]
mov ecx, dword [esp + 0xa8]
fsub dword [esp + 0x58]
mov esi, dword [esp + 0xb0]
add esp, 4
lea eax, [esp + 0x64]
fmul dword [esp + 0x1c]
fld dword [esp + 0x5c]
lea edx, [esp + 0x7c]
fsub dword [esp + 0x54]
fmul dword [esp + 0x18]
faddp st(1)
fadd dword [esp + 0x54]
fstp dword [esp]
push eax
push ecx
lea ecx, [esp + 0x90]
lea eax, [esp + 0x78]
call fcn.004f3190
add esp, 0xc
mov byte [esp + 0x13], 1
pop ebx
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebp
add esp, 0x8c
ret