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

Disassembly:
sub esp, 0x54
cmp byte [0x91fdec], 0
push ebx
push ebp
push esi
push edi
mov ebp, ecx
je 0x4e2f85
cmp byte [0x91fe1c], 0
je 0x4e2f96
mov dword [esp + 0x78], 0x68
jmp 0x4e2f96
cmp byte [0x91fe1c], 0
jne 0x4e2f96
mov dword [esp + 0x78], 0xffffffff
mov eax, dword [0x91fc90]
sub eax, 2
je 0x4e2fe0
sub eax, 1
je 0x4e2fce
sub eax, 1
je 0x4e2fbc
fld dword [0x608880]
fstp dword [esp + 0x10]
fld dword [0x60887c]
jmp 0x4e2ff0
fld dword [0x5ad7ac]
fstp dword [esp + 0x10]
fld dword [0x608878]
jmp 0x4e2ff0
fld dword [0x608874]
fstp dword [esp + 0x10]
fld dword [0x608870]
jmp 0x4e2ff0
fld dword [0x60886c]
fstp dword [esp + 0x10]
fld dword [0x608868]
mov esi, dword [esp + 0x68]
fstp dword [esp + 0x14]
fld dword [0x5adc38]
mov edi, dword [esp + 0x74]
fld dword [0x5adc74]
xor eax, eax
mov dword [esp + 0x18], eax
add eax, 0xfffffffd
mov dword [esp + 0x68], eax
fild dword [esp + 0x68]
mov eax, dword [esp + 0x70]
fmul dword [0x608864]
fld dword [esp + 0x6c]
fadd st(1)
fst dword [esp + 0x68]
fld dword [edi]
fmul st(2)
fadd dword [eax]
fst dword [esp + 0x1c]
fld dword [edi + 4]
fmul st(3)
fadd dword [eax + 4]
fstp dword [esp + 0x20]
fxch st(2)
fmul dword [edi + 8]
fadd dword [eax + 8]
fst dword [esp + 0x24]
mov ebx, dword [esp + 0x24]
fldz
fcomp dword [esi + 4]
fnstsw ax
test ah, 0x44
jnp 0x4e31b3
cmp dword [ebp + 0x20], 0
je 0x4e31b3
fld st(2)
fsub dword [esi + 0xc]
fld st(1)
fsub dword [esi + 0x14]
fstp dword [esp + 0x74]
fld st(2)
fsub dword [esi + 8]
fabs
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x4e30aa
fld dword [esp + 0x74]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4e31b3
jmp 0x4e30ac
fstp st(0)
mov eax, dword [esp + 0x1c]
fxch st(1)
mov ecx, dword [esp + 0x20]
fst dword [esi + 8]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], ebx
mov eax, dword [0x9f9488]
mov edx, eax
and edx, 0xff
fld dword [edx*4 + 0x9f988c]
add eax, 1
fmul st(5)
mov dword [0x9f9488], eax
mov ecx, eax
and ecx, 0xff
faddp st(3)
add eax, 1
fxch st(2)
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fstp dword [esp + 0x38]
fld dword [ecx*4 + 0x9f988c]
mov dword [0x9f9488], eax
fmul st(4)
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [edi]
fmul st(2)
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
fld dword [edi + 4]
mov dword [esp + 0x28], edx
fmul st(2)
fst dword [esp + 0x44]
mov eax, dword [esp + 0x44]
fld dword [edi + 8]
add byte [esi], 1
movzx edx, byte [esi]
fmulp st(3)
and edx, 0x8000001f
fxch st(2)
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x48]
mov ecx, dword [esp + 0x48]
fxch st(1)
mov dword [esp + 0x30], ecx
faddp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
jns 0x4e3160
dec edx
or edx, 0xffffffe0
inc edx
fld dword [edx*4 + 0x608238]
mov eax, dword [esp + 0x78]
push ecx
fstp dword [esp]
push eax
fld dword [esi + 4]
push 2
push 0
push ecx
fstp dword [esp]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x4c]
push edx
push ecx
mov ecx, dword [ebp + 0x20]
fstp dword [esp]
call fcn.004de560
fld dword [0x5adc74]
fld dword [0x5adc38]
fld dword [esp + 0x24]
fld dword [esp + 0x1c]
fld dword [esp + 0x68]
fxch st(3)
fxch st(4)
fxch st(3)
fxch st(1)
fxch st(2)
fldz
fcomp dword [esi + 0x18]
fnstsw ax
test ah, 0x44
jnp 0x4e3315
cmp dword [ebp + 0x24], 0
je 0x4e3315
fld st(2)
fsub dword [esi + 0x20]
fld st(1)
fsub dword [esi + 0x28]
fstp dword [esp + 0x74]
fld st(2)
fsub dword [esi + 0x1c]
fabs
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
je 0x4e320a
fld dword [esp + 0x74]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fcomp dword [esp + 0x14]
fnstsw ax
test ah, 0x41
jne 0x4e3315
jmp 0x4e320c
fstp st(0)
mov eax, dword [esp + 0x1c]
fxch st(1)
mov ecx, dword [esp + 0x20]
fst dword [esi + 0x1c]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ebx
mov eax, dword [0x9f9488]
mov edx, eax
and edx, 0xff
fld dword [edx*4 + 0x9f988c]
add eax, 1
fmul st(5)
mov dword [0x9f9488], eax
mov ecx, eax
and ecx, 0xff
faddp st(3)
add eax, 1
fxch st(2)
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fstp dword [esp + 0x38]
fld dword [ecx*4 + 0x9f988c]
mov dword [0x9f9488], eax
fmul st(4)
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [edi]
fmul st(2)
fstp dword [esp + 0x4c]
mov edx, dword [esp + 0x4c]
fld dword [edi + 4]
mov dword [esp + 0x28], edx
fmul st(2)
fst dword [esp + 0x50]
mov eax, dword [esp + 0x50]
fld dword [edi + 8]
add byte [esi + 1], 1
movzx edx, byte [esi + 1]
fmulp st(3)
and edx, 0x8000001f
fxch st(2)
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x54]
mov ecx, dword [esp + 0x54]
fxch st(1)
mov dword [esp + 0x30], ecx
faddp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
jns 0x4e32c2
dec edx
or edx, 0xffffffe0
inc edx
fld dword [edx*4 + 0x608238]
mov eax, dword [esp + 0x78]
push ecx
fstp dword [esp]
push eax
fld dword [esi + 0x18]
push 2
push 0
push ecx
fstp dword [esp]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x4c]
push edx
push ecx
mov ecx, dword [ebp + 0x24]
fstp dword [esp]
call fcn.004de560
fld dword [0x5adc74]
fld dword [0x5adc38]
fld dword [esp + 0x24]
fld dword [esp + 0x1c]
fld dword [esp + 0x68]
fxch st(3)
fxch st(4)
fxch st(3)
fxch st(1)
fxch st(2)
fldz
fcomp dword [esi + 0x2c]
fnstsw ax
test ah, 0x44
jnp 0x4e336e
cmp dword [ebp + 0x28], 0
je 0x4e336e
fld st(2)
fsub dword [esi + 0x34]
fld st(1)
fsub dword [esi + 0x3c]
fstp dword [esp + 0x68]
fld st(2)
fsub dword [esi + 0x30]
fabs
fld dword [esp + 0x10]
fmul dword [0x5ae17c]
fcompp
fnstsw ax
test ah, 5
jnp 0x4e3379
fld dword [esp + 0x68]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fld dword [esp + 0x14]
fmul dword [0x5b318c]
fcompp
fnstsw ax
test ah, 5
jnp 0x4e337b
fstp st(1)
fstp st(1)
fstp st(0)
jmp 0x4e347a
fstp st(0)
mov eax, dword [esp + 0x1c]
fxch st(1)
mov ecx, dword [esp + 0x20]
fst dword [esi + 0x30]
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], ebx
mov eax, dword [0x9f9488]
mov edx, eax
and edx, 0xff
fld dword [edx*4 + 0x9f988c]
add eax, 1
fld dword [0x5bf864]
mov dword [0x9f9488], eax
fmul st(1), st(0)
mov ecx, eax
fxch st(1)
and ecx, 0xff
add eax, 1
faddp st(4)
fxch st(3)
fstp dword [esp + 0x34]
fld dword [esp + 0x20]
fstp dword [esp + 0x38]
fld dword [ecx*4 + 0x9f988c]
mov dword [0x9f9488], eax
fmulp st(3)
fxch st(2)
faddp st(1)
fstp dword [esp + 0x3c]
fld dword [edi]
fmul st(2)
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
fld dword [edi + 4]
mov dword [esp + 0x28], edx
fmul st(2)
fst dword [esp + 0x5c]
mov eax, dword [esp + 0x5c]
fld dword [edi + 8]
add byte [esi + 2], 1
movzx edx, byte [esi + 2]
fmulp st(3)
and edx, 0x80000003
fxch st(2)
mov dword [esp + 0x2c], eax
fstp dword [esp + 0x60]
mov ecx, dword [esp + 0x60]
fxch st(1)
mov dword [esp + 0x30], ecx
faddp st(2)
fxch st(1)
fstp dword [esp + 0x2c]
jns 0x4e343b
dec edx
or edx, 0xfffffffc
inc edx
fld dword [edx*4 + 0x6082b8]
mov eax, dword [esp + 0x78]
push ecx
fstp dword [esp]
push eax
fld dword [esi + 0x2c]
push 2
push 0
push ecx
fstp dword [esp]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x4c]
push edx
push ecx
mov ecx, dword [ebp + 0x28]
fstp dword [esp]
call fcn.004de560
fld dword [0x5adc74]
fld dword [0x5adc38]
fxch st(1)
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, 4
mov dword [esp + 0x18], eax
jl 0x4e300e
pop edi
fstp st(0)
pop esi
fstp st(0)
pop ebp
pop ebx
add esp, 0x54
ret 0x14