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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x50]
cmp eax, dword [ecx + 8]
jbe 0x65058719
sub esp, 0xd0
call fcn.65058730
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp]
mov ebp, dword [esp + 4]
test eax, eax
jne 0x65058479
test ebp, ebp
jle 0x65058471
mov dword [esp + 0x20], ebp
xor eax, eax
xor ecx, ecx
xor edx, edx
xor esi, esi
jmp 0x650584f2
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x650584af
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], edx
add esp, 0xd0
ret
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
add esp, 0xd0
ret
mov ebp, dword [esp + 0x6c]
add ebp, 0x2c
mov ebx, ebp
mov esi, eax
mov eax, ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x64], esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x28], edx
lea edi, [esp + 0x38]
mov esi, ebx
call fcn.64fda712
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp], eax
call fcn.64f89210
mov eax, dword [esp + 4]
lea ecx, [0x6508b300]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
lea eax, [0x6509e64f]
mov dword [esp], eax
mov dword [esp + 4], 5
lea edx, [esp + 0x70]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.65016e20
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x78]
mov edx, eax
xor eax, eax
call fcn.64fda25a
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.64fd4d30
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x650d194c]
divsd xmm0, xmm1
movsd qword [esp + 0x80], xmm0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
sub eax, ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
sbb ecx, edx
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.64fd4d30
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x650d194c]
divsd xmm0, xmm1
movsd qword [esp + 0x88], xmm0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.64fd4d30
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x650d194c]
divsd xmm0, xmm1
movsd qword [esp + 0x90], xmm0
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.64fd4d30
movsd xmm0, qword [esp + 8]
movsd xmm1, qword [0x650d194c]
divsd xmm0, xmm1
movsd qword [esp + 0xa8], xmm0
mov eax, dword [esp + 0x24]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jb 0x6505866b
mov esi, dword [esp + 0x64]
jmp 0x650586a8
lea ebx, [0x65099b60]
mov dword [esp], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.64fc47f0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x24]
movsd xmm1, qword [0x650d194c]
mov dword [esp + 0x24], ecx
mov ebx, dword [0x6517dcb0]
imul eax, eax, 0x58
lea edi, [esi + eax]
test ebx, ebx
jne 0x650586c9
mov eax, esi
lea esi, [esp + 0x78]
call fcn.64fda6a4
jmp 0x650586fb
mov dword [esp + 0x68], esi
mov dword [esp + 0x30], edx
lea eax, [0x65099b60]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x78]
mov dword [esp + 8], eax
call fcn.64f8fa30
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
movsd xmm1, qword [0x650d194c]
mov ecx, dword [esp + 0x2c]
inc ecx
mov ebx, dword [esp + 0x20]
cmp ebx, ecx
jg 0x650584e1
mov ecx, edx
mov edx, eax
mov eax, dword [esp + 0x24]
jmp 0x650584af
call fcn.64fd8c20
jmp fcn.65058420