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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
fld qword [0x66a720]
push ebx
fstp qword [esp + 0xa8]
push esi
fld qword [0x66a720]
push edi
fstp qword [esp + 0xa8]
mov edi, eax
fld qword [0x66a710]
mov ecx, edi
fstp qword [esp + 0x88]
mov edx, dword [ecx]
fld qword [0x66a720]
mov dword [esp + 0xb8], edx
fstp qword [esp + 0x90]
sub esp, 8
fld qword [0x66a710]
mov dword [esp + 0x30], 1
fstp qword [esp + 0xa0]
fld qword [0x66a720]
fstp qword [esp + 0xa8]
fld qword [0x66a720]
fstp qword [esp + 0x88]
fld qword [0x66a720]
fstp qword [esp + 0x80]
fld qword [eax]
fstp qword [esp + 0x108]
fld qword [eax + 8]
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
fstp qword [esp + 0x110]
fld qword [edi]
mov dword [esp + 0xc4], eax
fadd qword [0x66a748]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0xc8], edx
mov dword [esp + 0xcc], eax
fstp qword [esp]
call fcn.005386b0
fstp qword [esp + 0x50]
fld qword [edi + 8]
fadd qword [0x66a748]
fstp qword [esp]
call fcn.005386b0
add esp, 8
fstp qword [esp + 0x50]
lea esi, [esp + 0x18]
lea edx, [esp + 0x88]
lea ecx, [esp + 0x48]
call fcn.004e3a60
fld qword [esp + 0x18]
fadd qword [0x66a720]
lea esi, [esp + 0x30]
lea edx, [esp + 0x78]
fstp qword [esp + 0x18]
fld qword [esp + 0x20]
fadd qword [0x66a720]
fstp qword [esp + 0x20]
call fcn.004e3a60
fld qword [esp + 0x30]
lea ecx, [esp + 0x18]
fadd qword [0x66a710]
fstp qword [esp + 0x30]
fld qword [esp + 0x38]
fadd qword [0x66a720]
fstp qword [esp + 0x38]
call fcn.004e3cd0
fcomp qword [0x674668]
fnstsw ax
test ah, 5
jp 0x4e5faf
nop
fld qword [esp + 0x18]
call fcn.00667ad0
fld qword [esp + 0x20]
mov ebx, eax
call fcn.00667ad0
lea edx, [esp + 0x68]
push edx
mov ecx, eax
lea edx, [esp + 0x30]
neg eax
push edx
push eax
push ebx
lea esi, [esp + 0x80]
mov eax, ebx
call fcn.004e3ec0
movsx eax, word [esp + 0x3c]
lea ecx, [esp + 0x78]
push ecx
xor esi, esi
push 1
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], esi
call dword [ebp + 0xc]
add esp, 0x18
test eax, eax
je 0x4e629e
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push esi
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0xc8]
push edx
call fcn.004e4e90
add esp, 0x14
test eax, eax
je 0x4e629e
fld qword [esp + 0x18]
mov dword [esp + 0x28], esi
fstp qword [esp + 0xd0]
fld qword [esp + 0x20]
fstp qword [esp + 0xd8]
fld qword [esp + 0x30]
fstp qword [esp + 0xe0]
fld qword [esp + 0x38]
fstp qword [esp + 0xe8]
fld qword [edi]
fsub qword [esp + 0x48]
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fstp qword [edi]
fld qword [edi + 8]
fsub qword [esp + 0x50]
fstp qword [esp + 0x40]
fld qword [esp + 0x40]
fstp qword [edi + 8]
fld qword [0x66a720]
fld qword [esp + 0x10]
fucompp
fnstsw ax
test ah, 0x44
jp 0x4e5e42
fld qword [0x66a720]
fld qword [esp + 0x40]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4e5faf
mov edx, edi
mov ecx, edi
call fcn.004e3b60
fld qword [edi]
fcomp qword [0x66a720]
fld qword [edi]
fnstsw ax
test ah, 5
jp 0x4e5e5e
fchs
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fcomp qword [0x674660]
fnstsw ax
test ah, 0x41
je 0x4e5faf
fld qword [edi + 8]
fcomp qword [0x66a720]
fld qword [edi + 8]
fnstsw ax
test ah, 5
jp 0x4e5e8c
fchs
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fcomp qword [0x674660]
fnstsw ax
test ah, 0x41
je 0x4e5faf
fld qword [esp + 0x88]
sub esp, 8
fstp qword [esp + 0xb0]
fld qword [esp + 0x98]
fstp qword [esp + 0xb8]
fld qword [esp + 0x20]
fstp qword [esp + 0x90]
fld qword [esp + 0x28]
fstp qword [esp + 0x98]
fld qword [esp + 0x80]
fstp qword [esp + 0xa0]
fld qword [esp + 0x88]
fstp qword [esp + 0xa8]
fld qword [esp + 0x38]
fstp qword [esp + 0x80]
fld qword [esp + 0x40]
fstp qword [esp + 0x88]
fld qword [edi]
fadd qword [0x66a748]
fstp qword [esp]
call fcn.005386b0
fstp qword [esp + 0x50]
fld qword [edi + 8]
fadd qword [0x66a748]
fstp qword [esp]
call fcn.005386b0
add esp, 8
fstp qword [esp + 0x50]
lea esi, [esp + 0x18]
lea edx, [esp + 0x88]
lea ecx, [esp + 0x48]
call fcn.004e3a60
fld qword [esp + 0x18]
fadd qword [esp + 0xa8]
lea esi, [esp + 0x30]
lea edx, [esp + 0x78]
fstp qword [esp + 0x18]
fld qword [esp + 0x20]
fadd qword [esp + 0xb0]
fstp qword [esp + 0x20]
call fcn.004e3a60
fld qword [esp + 0x30]
lea ecx, [esp + 0x18]
fadd qword [esp + 0x98]
fstp qword [esp + 0x30]
fld qword [esp + 0x38]
fadd qword [esp + 0xa0]
fstp qword [esp + 0x38]
call fcn.004e3cd0
fcomp qword [0x674668]
fnstsw ax
test ah, 5
jnp 0x4e5d40
lea edx, [esp + 0x58]
lea ecx, [esp + 0xe0]
call fcn.004e3b60
mov esi, edx
lea ecx, [esp + 0xd0]
call fcn.004e3a60
fld qword [esp + 0x100]
fsub qword [esp + 0x58]
lea ecx, [esp + 0xf0]
fstp qword [esp + 0xf0]
fld qword [esp + 0x108]
fsub qword [esp + 0x60]
fstp qword [esp + 0xf8]
call fcn.004e3cd0
sub esp, 8
fstp qword [esp]
call fcn.004f5e10
add esp, 8
fstp qword [esp + 0xf0]
lea ecx, [esp + 0x48]
call fcn.004e3cd0
fstp qword [esp + 0x10]
fld qword [esp + 0x10]
fcomp qword [0x66c178]
fnstsw ax
test ah, 1
jne 0x4e6269
fld qword [esp + 0x10]
fcomp qword [0x674658]
fnstsw ax
test ah, 0x41
jp 0x4e6269
fld qword [esp + 0x48]
call fcn.00667ad0
mov esi, eax
test si, si
mov dword [esp + 0x40], esi
jge 0x4e6063
neg esi
mov dword [esp + 0x40], esi
fld qword [esp + 0x50]
call fcn.00667ad0
test ax, ax
jge 0x4e6073
neg eax
cmp ax, si
jle 0x4e607e
mov dword [esp + 0x40], eax
mov esi, eax
cmp si, 1
mov dword [esp + 0x28], 1
jle 0x4e6269
movsx eax, si
mov dword [esp + 0x2c], eax
fild dword [esp + 0x2c]
fstp qword [esp + 0xc8]
movsx ecx, word [esp + 0x28]
mov dword [esp + 0x10], ecx
sub esp, 8
fild dword [esp + 0x18]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fmul qword [esp + 0x50]
fdiv qword [esp + 0xd0]
fstp qword [esp + 0x60]
fld qword [esp + 0x18]
fmul qword [esp + 0x58]
fdiv qword [esp + 0xd0]
fstp qword [esp + 0x68]
fld qword [esp + 0x60]
fadd qword [0x66a748]
fstp qword [esp]
call fcn.005386b0
fstp qword [esp + 0x60]
fld qword [esp + 0x68]
fadd qword [0x66a748]
fstp qword [esp]
call fcn.005386b0
lea esi, [esp + 0x20]
fstp qword [esp + 0x68]
lea edx, [esp + 0x90]
lea ecx, [esp + 0x60]
call fcn.004e3a60
fld qword [esp + 0x20]
fadd qword [esp + 0xb0]
lea esi, [esp + 0x38]
lea edx, [esp + 0x80]
fstp qword [esp + 0x20]
fld qword [esp + 0x28]
fadd qword [esp + 0xb8]
fstp qword [esp + 0x28]
call fcn.004e3a60
fld qword [esp + 0x38]
fadd qword [esp + 0xa0]
fstp qword [esp + 0x38]
fld qword [esp + 0x40]
fadd qword [esp + 0xa8]
fstp qword [esp + 0x40]
fld qword [esp + 0x20]
call fcn.00667ad0
fld qword [esp + 0x28]
mov edi, eax
call fcn.00667ad0
lea edx, [esp + 0x70]
push edx
mov ecx, eax
lea edx, [esp + 0x38]
neg eax
push edx
push eax
push edi
lea esi, [esp + 0x88]
mov eax, edi
call fcn.004e3ec0
movsx eax, word [esp + 0x44]
lea ecx, [esp + 0x80]
push ecx
push 1
mov dword [esp + 0x8c], eax
mov dword [esp + 0x94], 0
call dword [ebp + 0xc]
add esp, 0x20
test eax, eax
je 0x4e6269
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push 0
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0xc8]
push edx
call fcn.004e4e90
add esp, 0x14
test eax, eax
je 0x4e6269
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
lea edi, [esp + 0x104]
call fcn.004e3d50
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
add esp, 4
fcomp qword [esp + 0xf0]
fnstsw ax
test ah, 5
jp 0x4e6255
fld qword [esp + 0x10]
fstp qword [esp + 0xf0]
fld qword [esp + 0x18]
fstp qword [esp + 0xd0]
fld qword [esp + 0x20]
fstp qword [esp + 0xd8]
fld qword [esp + 0x30]
fstp qword [esp + 0xe0]
fld qword [esp + 0x38]
fstp qword [esp + 0xe8]
mov eax, dword [esp + 0x28]
inc eax
cmp ax, word [esp + 0x40]
mov dword [esp + 0x28], eax
jl 0x4e60a2
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push 1
push ecx
lea edx, [esp + 0xd8]
push edx
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xc8]
push ecx
call fcn.004e4e90
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x28], esi
je 0x4e5faf
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret