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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x5ee8f8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x615cbc]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x20]
call fcn.004d9b60
test al, al
jne 0x4599c0
mov ecx, dword [ebp + 0x14]
xor esi, esi
cmp ecx, esi
je 0x4599c0
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x1c]
inc ecx
push ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], esi
call fcn.00458a80
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], esi
mov esi, dword [ebx + 8]
push ecx
mov ecx, ebx
mov dword [edi], ebx
mov dword [edi + 0x38], 0
call fcn.004369c0
movsd xmm0, qword [esp + 0x24]
movsd xmm1, qword [0x5fc740]
movsd xmm2, qword [esp + 0x2c]
xorpd xmm0, xmm1
movsd qword [esp + 0x24], xmm0
xorpd xmm2, xmm1
movsd qword [esp + 0x2c], xmm2
movq qword [edi + 0x28], xmm0
movq xmm0, qword [esp + 0x2c]
mov ecx, ebx
movq qword [edi + 0x30], xmm0
call fcn.00436ae0
fchs
mov eax, dword [ebp + 0x10]
fstp qword [edi + 0x20]
fld qword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
sub esp, 8
fstp qword [esp]
push 1
lea edx, [esp + 0x24]
push edx
push eax
push ecx
and esi, 0x10
push esi
push ebx
push 1
call fcn.00459320
mov esi, eax
add esp, 0x24
cmp esi, 1
jne 0x4599d6
push edi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 2
jne 0x459a55
movsd xmm0, qword [edi + 0x50]
comisd xmm0, xmmword [0x5fa920]
jbe 0x459a33
lea edx, [esp + 0x34]
push edx
mov ecx, ebx
call fcn.004368a0
fld qword [ebp + 0x18]
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x20]
sub esp, 8
lea edx, [esp + 0x3c]
fstp qword [esp]
push edx
call fcn.00434a10
test al, al
je 0x459a33
lea ecx, [esp + 0x18]
call fcn.00428180
or eax, 0xffffffff
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [edi + 0x78]
lea ecx, [esp + 0x18]
dec edi
call fcn.00428180
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x18]
call fcn.004590e0
mov ecx, 1
cmp esi, ecx
mov eax, ecx
jle 0x459b64
movsd xmm0, qword [0x5fa920]
lea edx, [esi - 1]
cmp edx, 4
jl 0x459ad9
lea edx, [edi + 0x90]
jmp 0x459a94
mov edx, dword [esp + 0x14]
movsd xmm1, qword [edx - 0x40]
comisd xmm1, xmm0
ja 0x459b06
movsd xmm1, qword [edx]
comisd xmm1, xmm0
ja 0x459afb
movsd xmm1, qword [edx + 0x40]
comisd xmm1, xmm0
ja 0x459afe
movsd xmm1, qword [edx + 0x80]
comisd xmm1, xmm0
ja 0x459b03
add edx, 0x100
mov dword [esp + 0x14], edx
add eax, 4
lea edx, [esi - 3]
add ecx, 4
cmp eax, edx
jl 0x459a90
cmp eax, esi
jge 0x459b06
mov edx, eax
shl edx, 6
lea edx, [edx + edi + 0x10]
movsd xmm1, qword [edx]
comisd xmm1, xmm0
ja 0x459b06
inc eax
inc ecx
add edx, 0x40
cmp eax, esi
jl 0x459ae6
jmp 0x459b06
inc ecx
jmp 0x459b06
add ecx, 2
jmp 0x459b06
add ecx, 3
cmp ecx, 1
jle 0x459b64
cmp ecx, 2
jne 0x459b60
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.004368a0
fld qword [ebp + 0x18]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x20]
sub esp, 8
lea edx, [esp + 0x3c]
fstp qword [esp]
push edx
call fcn.00472e00
lea ecx, [esp + 0x18]
test eax, eax
jne 0x459a18
mov edi, dword [edi + 0x78]
dec edi
call fcn.00428180
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, ecx
jmp 0x459b92
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.004368a0
fld qword [ebp + 0x18]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x20]
sub esp, 8
lea edx, [esp + 0x3c]
fstp qword [esp]
push edx
call fcn.00472e00
test eax, eax
jne 0x4599b6
fld qword [ebp + 0x18]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x20]
push esi
push eax
call fcn.00458c00
mov ecx, dword [esp + 0x20]
add esp, 0x10
test byte [ecx + 8], 1
je 0x459bbe
mov edx, esi
shl edx, 6
mov edx, dword [edx + edi - 8]
jmp 0x459bc1
mov edx, dword [edi + 0x78]
cmp dword [ebp + 0xc], ebx
je 0x459c09
mov eax, 1
cmp esi, eax
jle 0x459c09
movsd xmm0, qword [0x5ff758]
lea ecx, [edi + 0x40]
lea ebx, [ebx]
mov ebx, dword [ebp + 0xc]
cmp dword [ecx], ebx
jne 0x459c01
cmp eax, edx
je 0x459c2b
mov ebx, edx
shl ebx, 6
movsd xmm1, qword [ebx + edi + 0x18]
addsd xmm1, xmm0
comisd xmm1, xmmword [ecx + 0x18]
ja 0x459c2b
inc eax
add ecx, 0x40
cmp eax, esi
jl 0x459be0
lea esi, [edx - 1]
push edi
call dword [sym.imp.MSVCR90.dll_free]
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
shl eax, 6
mov esi, dword [eax + edi + 0x38]
dec esi
jmp 0x459c0c