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

Disassembly:
sub esp, 0x88
push esi
mov esi, ecx
fld dword [esi + 0x3c]
mov dword [esp + 0x28], esi
fcomp dword [esi + 0x40]
fnstsw ax
test ah, 0x44
jnp 0x4eecc6
mov eax, dword [0x6840f4]
test eax, eax
jne 0x4eecc6
fld dword [esi + 0xdc]
push ebx
fadd st(0), st(0)
push ebp
push edi
fstp dword [esp + 0x38]
fld dword [esi + 0x3c]
call fcn.0058c3f0
fld dword [esi + 0x3c]
fmul dword [0x5edab0]
mov ecx, eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
cmp ebx, 3
mov dword [esp + 0x10], ebx
fisub dword [esp + 0x10]
fstp dword [esp + 0x10]
jle 0x4ee9c2
xor ebx, ebx
jmp 0x4ee9c9
test ebx, ebx
jge 0x4ee9c9
add ebx, 4
lea edi, [ebx + 1]
and edi, 0x80000003
jns 0x4ee9d9
dec edi
or edi, 0xfffffffc
inc edi
mov ebp, dword [esp + 0x10]
lea ecx, [edi + 0x25]
shl ecx, 4
add ecx, esi
push ebp
push ecx
lea ecx, [ebx + 0x25]
lea edx, [esp + 0x28]
shl ecx, 4
push edx
add ecx, esi
call fcn.00548770
mov ecx, dword [eax]
mov dword [esp + 0x68], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x6c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x70], ecx
mov edx, dword [eax + 0xc]
lea eax, [edi + 0x29]
shl eax, 4
push ebp
add eax, esi
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x29]
shl ecx, 4
add ecx, esi
mov dword [esp + 0x80], edx
call fcn.00548770
mov edx, dword [eax]
mov dword [esp + 0x48], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 8]
add edi, 0x2d
push ebp
shl edi, 4
add edi, esi
push edi
lea ecx, [esp + 0x28]
push ecx
lea ecx, [ebx + 0x2d]
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 0xc]
shl ecx, 4
add ecx, esi
mov dword [esp + 0x60], eax
call fcn.00548770
mov edx, dword [eax]
mov dword [esp + 0x58], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 8]
mov ecx, dword [0x680134]
mov dword [esp + 0x60], edx
mov eax, dword [eax + 0xc]
mov edx, dword [ecx*4 + 0x6800d0]
mov dword [esp + 0x64], eax
cmp dword [edx + 0x6c], 1
jne 0x4eeab3
lea ecx, [esp + 0x68]
call fcn.00548640
lea ecx, [esp + 0x48]
call fcn.00548640
lea ecx, [esp + 0x58]
call fcn.00548640
mov eax, dword [0x6840f4]
test eax, eax
je 0x4eead4
mov eax, dword [esi + 0xd0]
mov ecx, dword [0x680038]
push eax
call fcn.00536a50
mov dword [esp + 0x30], eax
jmp 0x4eeade
mov ecx, dword [esi + 0xd0]
mov dword [esp + 0x30], ecx
mov eax, dword [0x6840f4]
test eax, eax
je 0x4eeaff
mov edx, dword [esi + 0x144]
mov ecx, dword [0x680038]
push edx
call fcn.00536a50
mov dword [esp + 0x1c], eax
jmp 0x4eeb09
mov eax, dword [esi + 0x144]
mov dword [esp + 0x1c], eax
mov ecx, dword [0x61b7dc]
xor edx, edx
test ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edx
jle 0x4eec8d
xor ebx, ebx
test ecx, ecx
jle 0x4eec7c
fld dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
fmul dword [0x5eec88]
lea ecx, [edx + edx*2]
lea edi, [eax + ecx*8 + 0xc]
mov ecx, 0xfffffff4
fstp dword [esp + 0x3c]
sub ebp, eax
fld dword [0x5f53f4]
sub ecx, eax
fdiv dword [esp + 0x38]
mov dword [esp + 0x44], ecx
fstp dword [esp + 0x40]
jmp 0x4eeb70
mov ecx, dword [esp + 0x44]
jmp 0x4eeb70
mov edx, dword [esi + 0xd0]
add ecx, edi
fld dword [ecx + edx + 8]
fadd dword [esp + 0x3c]
fmul dword [esp + 0x40]
fsubr dword [0x5f53f4]
fcom dword [0x5da2f8]
fnstsw ax
test ah, 5
jp 0x4eebb1
fadd st(0), st(0)
lea ecx, [esp + 0x48]
lea edx, [esp + 0x78]
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x60]
jmp 0x4eebd2
fsub dword [0x5da2f8]
lea ecx, [esp + 0x68]
lea edx, [esp + 0x88]
fadd st(0), st(0)
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x50]
push edx
call fcn.00548770
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
fld dword [esp + 0x20]
mov ecx, dword [eax + 8]
fmul dword [0x5da6d0]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
call fcn.0058c3f0
fld dword [esp + 0x2c]
fmul dword [0x5da6d0]
mov esi, eax
and esi, 0xff
call fcn.0058c3f0
fld dword [esp + 0x24]
fmul dword [0x5da6d0]
shl eax, 8
or esi, eax
shl esi, 8
call fcn.0058c3f0
fld dword [esp + 0x28]
fmul dword [0x5da6d0]
and eax, 0xff
or esi, eax
shl esi, 8
call fcn.0058c3f0
mov ecx, dword [0x61b7dc]
and eax, 0xff
or esi, eax
mov dword [edi + ebp], esi
mov dword [edi], esi
mov esi, dword [esp + 0x14]
inc esi
add edi, 0x18
inc ebx
cmp ebx, ecx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x34]
jl 0x4eeb61
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
inc edi
cmp edi, ecx
mov dword [esp + 0x10], edi
jl 0x4eeb21
mov eax, dword [0x6840f4]
test eax, eax
pop edi
pop ebp
pop ebx
je 0x4eecc6
mov eax, dword [esi + 0xd0]
mov ecx, dword [0x680038]
push eax
call fcn.00536a80
mov eax, dword [0x6840f4]
test eax, eax
je 0x4eecc6
mov ecx, dword [esi + 0x144]
push ecx
mov ecx, dword [0x680038]
call fcn.00536a80
pop esi
add esp, 0x88
ret 8