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

Disassembly:
sub esp, 0x108
push ebx
push ebp
push esi
push edi
lea ebx, [ebx]
mov eax, dword [0x85ff50]
mov edx, dword [eax + 0x34]
mov edi, dword [esp + 0x120]
mov ebp, dword [esp + 0x11c]
mov eax, edi
and eax, 0xffff
lea ecx, [eax + eax*2]
mov esi, dword [edx + ecx*4 + 8]
mov ecx, dword [esi]
mov eax, dword [0x87b7b4]
mov bl, byte [esi + 0x10]
and ecx, 0xffff
shl ecx, 5
mov ecx, dword [ecx + eax + 0x14]
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp]
and ecx, 0xffff
shl ecx, 5
mov eax, dword [ecx + eax + 0x14]
not bl
and bl, 1
mov dword [esp + 0x18], eax
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0
je 0x4ee19e
mov cl, byte [esi + 0xb4]
mov eax, 1
shl eax, cl
test al, 3
je 0x4ee19e
mov ecx, dword [esp + 0x18]
fld dword [ecx + 0x1cc]
fcomp dword [0x672bf4]
fnstsw ax
test ah, 0x41
jne 0x4ee19e
fld dword [esi + 0xa0]
lea edi, [ebp + 0x28]
fsub dword [edi]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x54]
mov byte [esp + 0x17], 1
fstp dword [esp + 0x54]
fld dword [esi + 0xa4]
fsub dword [edi + 4]
fstp dword [esp + 0x58]
fld dword [esi + 0xa8]
fsub dword [edi + 8]
fstp dword [esp + 0x5c]
call fcn.004cd6b0
mov ecx, eax
call fcn.00401990
fstp st(0)
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x30]
call fcn.004052c0
add esp, 4
mov ecx, eax
call fcn.00401990
fstp st(0)
xor ebp, ebp
mov dword [esp + 0x1c], 4
cmp ebp, 3
ja case.default.0x4ee069
jmp dword [ebp*4 + 0x4ee464]
mov eax, dword [esp + 0x18]
fld dword [eax + 0x1cc]
jmp 0x4ee088
mov ecx, dword [esp + 0x18]
fld dword [ecx + 0x1cc]
fchs
fld dword [esp + 0x2c]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x30]
fmul st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x34]
jmp 0x4ee0d2
mov edx, dword [esp + 0x18]
fld dword [edx + 0x1cc]
jmp 0x4ee0ba
mov eax, dword [esp + 0x18]
fld dword [eax + 0x1cc]
fchs
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x40]
fmul st(1)
fstp dword [esp + 0x28]
fstp st(0)
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x124]
call fcn.004f7150
push eax
lea edx, [esp + 0x28]
push edx
push edi
push 0xc221
call fcn.00505a20
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
mov edx, dword [esp + 0xac]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x134]
add esp, 0x14
mov dword [esp + 0x44], eax
mov dword [esp + 0x4c], edx
call fcn.004f7150
fld dword [esi + 0xa0]
fsub dword [esp + 0x44]
lea ecx, [esp + 0x78]
push ecx
push eax
fstp dword [esp + 0x74]
lea edx, [esp + 0x74]
fld dword [esi + 0xa4]
push edx
fsub dword [esp + 0x54]
lea eax, [esp + 0x50]
push eax
push 0xc221
fstp dword [esp + 0x84]
fld dword [esi + 0xa8]
fsub dword [esp + 0x60]
fstp dword [esp + 0x88]
call fcn.00505a20
add esp, 0x14
test al, al
jne 0x4ee181
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x1c]
inc ebp
dec eax
mov dword [esp + 0x1c], eax
jne 0x4ee064
mov al, byte [esp + 0x17]
mov ebp, dword [esp + 0x11c]
jmp 0x4ee20e
or ecx, 0xffffffff
cmp edi, 0xffffffff
mov eax, edi
je 0x4ee1c9
jmp 0x4ee1b0
mov ecx, eax
and eax, 0xffff
lea eax, [eax + eax*2]
mov eax, dword [edx + eax*4 + 8]
mov eax, dword [eax + 0x11c]
cmp eax, 0xffffffff
jne 0x4ee1b0
fld dword [esi + 0xa0]
lea edi, [ebp + 0x28]
fsub dword [edi]
lea edx, [esp + 0xc8]
push edx
push ecx
fstp dword [esp + 0x68]
lea eax, [esp + 0x68]
fld dword [esi + 0xa4]
push eax
fsub dword [edi + 4]
push edi
push 0xc221
fstp dword [esp + 0x78]
fld dword [esi + 0xa8]
fsub dword [edi + 8]
fstp dword [esp + 0x7c]
call fcn.00505a20
add esp, 0x14
test al, al
je 0x4ee214
xor bl, bl
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x1c8]
test al, 1
je 0x4ee230
mov edx, dword [esp + 0x120]
cmp edx, dword [ebp + 0xc]
jne 0x4ee230
xor bl, bl
test al, 8
je 0x4ee24f
mov cx, word [ebp + 0x10]
mov dx, word [esi + 0xb8]
call fcn.0045beb0
test al, al
jne 0x4ee24f
xor bl, bl
jmp 0x4ee318
test bl, bl
je 0x4ee318
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x1c8]
test ch, 0x10
je 0x4ee318
mov cl, byte [esi + 0xb4]
mov edx, 1
shl edx, cl
xor bl, bl
test dl, 3
je 0x4ee318
mov eax, dword [esi]
mov ecx, dword [0x87b7b4]
and eax, 0xffff
shl eax, 5
mov edx, dword [eax + ecx + 0x14]
test dword [edx + 0x17c], 0x80000
je 0x4ee318
mov eax, dword [esp + 0x120]
cmp eax, dword [ebp + 0xc]
je 0x4ee318
mov ecx, dword [0x6b0aa8]
mov cx, word [ecx + 0xe]
push 8
call fcn.0046ff90
fcom dword [0x672af8]
add esp, 4
fst dword [esp + 0x1c]
mov bl, 1
fnstsw ax
test ah, 0x41
je 0x4ee2e4
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x1c8]
test ah, 4
je 0x4ee2ec
test byte [ebp + 4], 0x40
je 0x4ee2ec
xor bl, bl
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jne 0x4ee313
call fcn.004019f0
fld dword [esp + 0x1c]
fmul dword [0x672bc4]
fcompp
fnstsw ax
test ah, 0x41
jne 0x4ee313
xor bl, bl
mov byte [esp + 0x16], 1
mov ecx, dword [ebp + 4]
or ecx, 1
test bl, bl
mov dword [ebp + 4], ecx
je 0x4ee417
fld dword [esi + 0xa0]
lea ecx, [ebp + 0x34]
fsub dword [edi]
fstp dword [ecx]
fld dword [esi + 0xa4]
fsub dword [edi + 4]
fstp dword [ecx + 4]
fld dword [esi + 0xa8]
fsub dword [edi + 8]
fstp dword [ecx + 8]
call fcn.00401990
mov ecx, dword [esp + 0x18]
fld dword [ecx + 4]
fsub dword [ecx]
fcom dword [0x672af8]
fnstsw ax
test ah, 0x41
jne 0x4ee390
fxch st(1)
fsub dword [ecx]
fdiv st(1)
fsubr dword [0x672afc]
fxch st(1)
fstp st(0)
fcom dword [0x672af8]
fnstsw ax
test ah, 5
jp 0x4ee394
fstp st(0)
fld dword [0x672af8]
jmp 0x4ee3a9
fstp st(0)
jmp 0x4ee3a1
fcom dword [0x672afc]
fnstsw ax
test ah, 0x41
jne 0x4ee3a9
fstp st(0)
fld dword [0x672afc]
test byte [ecx + 0xc], 1
jne 0x4ee3b2
fst dword [ebp + 0x40]
fcomp dword [0x672af8]
fnstsw ax
test ah, 0x41
jne 0x4ee3dd
mov eax, dword [esp + 0x120]
push 0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
push ebp
call fcn.004ee780
add esp, 0x18
mov byte [esp + 0x15], 1
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x7c]
cmp eax, 0xffffffff
je 0x4ee417
mov edx, dword [0x87b7b4]
and eax, 0xffff
shl eax, 5
mov eax, dword [eax + edx + 0x14]
test byte [eax], 8
je 0x4ee417
mov eax, dword [esi + 0x118]
cmp eax, 0xffffffff
je 0x4ee417
push 1
push eax
push ebp
call fcn.004edf50
add esp, 0xc
mov al, byte [esp + 0x16]
test al, al
je 0x4ee42f
test bl, bl
je 0x4ee42b
mov al, byte [esp + 0x15]
test al, al
je 0x4ee42f
or dword [ebp + 4], 0x40
mov al, byte [esp + 0x124]
test al, al
je 0x4ee459
mov esi, dword [esi + 0x114]
cmp esi, 0xffffffff
je 0x4ee459
mov byte [esp + 0x124], 1
mov dword [esp + 0x120], esi
jmp 0x4edf60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret