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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5286b8
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.0049dea0
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.0049dfd0
fst qword [esp + 0x44]
fabs
fcom qword [0x534060]
add esp, 0x20
fnstsw ax
test ah, 1
jne 0x49e5e2
fcomp qword [0x531180]
fnstsw ax
test ah, 0x41
je 0x49e5e4
lea ecx, [esp + 0x80]
call fcn.00488210
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.0048a020
mov ecx, edi
call fcn.0049c880
mov ecx, dword [0x53ad54]
mov ebx, eax
mov eax, dword [0x53ad50]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov edx, eax
mov eax, ecx
mov ecx, dword [0x53ad58]
mov dword [esp + 0x14], edx
mov edx, dword [0x53ad5c]
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.0048a9a0
fld qword [esp + 0x1c]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 1
jne 0x49e2bd
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 0x49e2d2
fst qword [esp + 0x14]
fld qword [esp + 0xc]
fcomp qword [esp + 0x34]
fnstsw ax
test ah, 0x41
je 0x49e2f1
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 0x49e304
fstp qword [esp + 0x2c]
jmp 0x49e306
fstp st(0)
mov esi, dword [esi + 0x38]
cmp esi, ebx
jne 0x49e26d
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 [0x539d38]
fcomp st(1)
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x49e46b
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x49e3e4
lea esi, [edi + 0x48]
mov ecx, esi
call fcn.00488210
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.00488230
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.00488220
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.00488280
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 0x49e425
lea ecx, [esp + 0x80]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00519440
fld qword [0x531cf0]
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 [0x5a5758]
mov edx, dword [0x5a575c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x28], edx
mov dword [esp + 0xd8], 0xffffffff
call fcn.00519440
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 0x49e561
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.0048a020
push esi
lea ecx, [esp + 0x84]
call fcn.0048a9d0
push ebx
lea ecx, [esp + 0x84]
call fcn.0048a9d0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x80]
push edx
call fcn.0048a9d0
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x80]
push eax
call fcn.0048a9d0
fld qword [esp + 0x6c]
fcomp qword [esp + 0x5c]
fnstsw ax
test ah, 0x41
jne 0x49e5a2
lea ecx, [esp + 0x80]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00519440
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 [0x5a5758]
fsub qword [esp + 0x24]
lea ecx, [esp + 0x80]
mov dword [esp + 0xd8], 0xffffffff
fstp qword [esp + 0x5c]
call fcn.00519440
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 0x49e67d
lea esi, [edi + 0x48]
mov ecx, esi
call fcn.00488210
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.00488230
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.00488220
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.00488280
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 0x49e6a9
fld qword [0x531cf0]
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 [0x5a5758]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4