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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x517d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.00493820
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [edi + 0x84]
push ecx
mov ecx, dword [edi + 0x80]
push edx
push eax
push ecx
call fcn.00493950
fst qword [esp + 0x44]
fabs
fcom qword [0x522c70]
add esp, 0x20
fnstsw ax
test ah, 1
jne 0x493f62
fcomp qword [0x520178]
fnstsw ax
test ah, 0x41
je 0x493f64
lea ecx, [esp + 0x80]
call fcn.0047ded0
fld qword [esp + 0x24]
mov edx, dword [edi + 0xa4]
mov eax, dword [edi + 0xa0]
mov ecx, dword [edi + 0x9c]
sub esp, 8
fchs
fstp qword [esp]
push edx
mov edx, dword [edi + 0x98]
push eax
push ecx
push edx
lea ecx, [esp + 0x98]
mov dword [esp + 0xf0], 0
call fcn.0047fc50
mov ecx, edi
call fcn.004f7aa0
mov ecx, dword [0x52940c]
mov ebx, eax
mov eax, dword [0x529408]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov edx, eax
mov eax, ecx
mov ecx, dword [0x529410]
mov dword [esp + 0x14], edx
mov edx, dword [0x529414]
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
mov eax, ecx
mov ecx, edx
mov esi, ebx
mov dword [esp + 0x10], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov ecx, dword [esi + 8]
mov edx, dword [esi + 0xc]
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x54]
lea ecx, [esp + 0x34]
push eax
push ecx
lea ecx, [esp + 0x88]
mov dword [esp + 0x60], edx
call fcn.004805f0
fld qword [esp + 0x1c]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 1
jne 0x493c3d
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
fld qword [esp + 0x54]
fld qword [esp + 0x14]
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x493c52
fst qword [esp + 0x14]
fld qword [esp + 0xc]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 0x41
je 0x493c71
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edx
fld qword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x493c84
fstp qword [esp + 0x2c]
jmp 0x493c86
fstp st(0)
mov esi, dword [esi + 0x38]
cmp esi, ebx
jne 0x493bed
fld qword [esp + 0x14]
fsub qword [esp + 0x2c]
fabs
fstp qword [esp + 0x5c]
fld qword [esp + 0x1c]
fsub qword [esp + 0xc]
fabs
fst qword [esp + 0x6c]
fmul qword [esp + 0x5c]
fld qword [edi + 0x78]
fxch st(1)
fmul qword [0x529468]
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x493deb
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x493d64
lea esi, [edi + 0x48]
mov ecx, esi
call fcn.0047ded0
mov edx, dword [eax]
mov ecx, ebx
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.0047def0
mov ecx, dword [eax]
lea edx, [ebx + 0x10]
mov dword [ebx + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, esi
mov dword [edx + 0xc], eax
call fcn.0047dee0
mov edx, dword [eax]
lea ecx, [ebx + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call fcn.0047df40
mov edx, dword [eax]
add ebx, 0x30
mov dword [ebx], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ebx + 0xc], eax
fld qword [edi + 0x70]
fcomp qword [edi + 0x68]
fnstsw ax
test ah, 1
je 0x493da5
lea ecx, [esp + 0x80]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00507a00
fld qword [0x520dc0]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [0x591da8]
mov edx, dword [0x591dac]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x28], edx
mov dword [esp + 0xd8], 0xffffffff
call fcn.00507a00
fld qword [esp + 0x24]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
test esi, esi
je 0x493ee1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov dword [esi], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x10]
lea ebx, [esi + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x14]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x18], eax
mov dword [ebx + 4], edx
mov edx, dword [esp + 0xc]
lea eax, [esi + 0x20]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x28], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x30]
mov dword [esp + 0xc], eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esi + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x3c], ecx
mov ecx, dword [edi + 0xa4]
push edx
mov edx, dword [edi + 0xa0]
push eax
mov eax, dword [edi + 0x9c]
push ecx
mov ecx, dword [edi + 0x98]
push edx
push eax
push ecx
lea ecx, [esp + 0x98]
call fcn.0047fc50
push esi
lea ecx, [esp + 0x84]
call fcn.00480620
push ebx
lea ecx, [esp + 0x84]
call fcn.00480620
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x80]
push edx
call fcn.00480620
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x80]
push eax
call fcn.00480620
fld qword [esp + 0x6c]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x493f22
lea ecx, [esp + 0x80]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00507a00
fld qword [esp + 0x24]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
fld qword [0x591da8]
fsub qword [esp + 0x24]
lea ecx, [esp + 0x80]
mov dword [esp + 0xd8], 0xffffffff
fstp qword [esp + 0x5c]
call fcn.00507a00
fld qword [esp + 0x5c]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
fstp st(0)
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x493ffd
lea esi, [edi + 0x48]
mov ecx, esi
call fcn.0047ded0
mov edx, dword [eax]
mov ecx, ebx
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.0047def0
mov ecx, dword [eax]
lea edx, [ebx + 0x10]
mov dword [ebx + 0x10], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, esi
mov dword [edx + 0xc], eax
call fcn.0047dee0
mov edx, dword [eax]
lea ecx, [ebx + 0x20]
mov dword [ebx + 0x20], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x5c]
push ecx
mov ecx, esi
call fcn.0047df40
mov edx, dword [eax]
add ebx, 0x30
mov dword [ebx], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ebx + 0xc], eax
fld qword [edi + 0x68]
fld qword [edi + 0x70]
fcompp
fnstsw ax
test ah, 1
je 0x494029
fld qword [0x520dc0]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esp + 0xd0]
pop edi
fld qword [0x591da8]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4