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

Disassembly:
push esi
push edi
push ebx
sub esp, 0x50
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x88]
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
mov ebx, dword [ebx]
mov edx, dword [esp + 0x94]
mov dword [0x5e1b80], ebx
mov ebx, dword [ecx]
mov ecx, dword [edi]
mov edi, dword [eax]
mov eax, dword [edx]
mov esi, dword [esp + 0x64]
mov dword [0x5e1b6c], eax
lea eax, [ebx*8]
mov edx, dword [esp + 0x7c]
neg eax
mov esi, dword [esi]
mov dword [0x5e1b7c], esi
mov dword [0x5e1b70], edi
lea esi, [edx + ebx*8]
mov edi, dword [edx]
mov edx, ecx
mov esi, dword [eax + esi + 4]
sub edx, ebx
mov dword [0x5e1b78], ebx
cmp ecx, ebx
mov dword [0x5e1b74], ecx
mov dword [0x5e1b68], edi
mov dword [0x5e1b64], esi
jle 0x48904a
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], esi
movsd xmm0, qword [eax]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp], ebx
lea eax, [eax + ebx*4]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
mov ebx, dword [ecx + eax*4]
mov esi, dword [ecx + eax*4 + 4]
sub esi, ebx
mov edx, dword [edi + eax*8 + 8]
sub edx, dword [esp + 8]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x14], edx
lea edx, [esi - 1]
mov eax, dword [edi + eax*8 + 0xc]
mov edi, esi
imul edi, edx
mov dword [esp + 0x38], edx
mov edx, edi
shr edx, 0x1f
sub eax, dword [esp + 0xc]
add edi, edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], eax
sub eax, ecx
sar edi, 1
add eax, edi
cdq
idiv esi
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esi + ebx*8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov ebx, dword [eax + edx*4 - 4]
xor edx, edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x38], 0
js 0x488fb6
mov esi, dword [esp + 0x68]
xor ebx, ebx
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x1c], eax
lea esi, [esi + edx*8]
mov dword [esp + 0x4c], esi
lea edi, [edi + edx*8]
mov dword [esp + 0x48], edi
xor edx, edx
mov esi, ebx
lea ecx, [ebx + 1]
imul esi, ecx
mov edi, esi
shr edi, 0x1f
add esi, edi
lea edi, [ebx + edx]
sar esi, 1
mov eax, dword [esp + 0x44]
sub eax, esi
add eax, edi
mov edi, dword [esp + 0x48]
add edx, dword [esp + 0x40]
cmp ecx, dword [esp + 0x3c]
movsd xmm1, qword [edi + ebx*8]
mulsd xmm1, xmm0
mov edi, dword [esp + 0x84]
addsd xmm1, qword [edi + eax*8]
movsd qword [edi + eax*8], xmm1
mov eax, dword [esp + 0x4c]
movsd qword [eax + ebx*8], xmm1
mov ebx, ecx
jb 0x488f59
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3c]
mov dword [0x5e1b54], esi
inc eax
cmp eax, dword [esp + 0x10]
jb 0x488e9f
mov esi, dword [esp + 0x2c]
mov dword [0x5e1b34], edx
mov dword [0x5e1b40], esi
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x28]
mov dword [0x5e1b38], edi
mov dword [0x5e1b3c], edx
mov dword [0x5e1b44], esi
mov dword [0x5e1b5c], eax
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
mov ebx, dword [esp]
cmp ecx, ebx
mov dword [0x5e1b48], edi
mov dword [0x5e1b4c], edx
mov dword [0x5e1b50], esi
mov dword [0x5e1b60], eax
jle 0x48903a
inc ecx
mov dword [0x5e1b58], ecx
add esp, 0x50
pop ebx
pop edi
pop esi
ret 0x38
inc ebx
mov dword [0x5e1b58], ebx
add esp, 0x50
pop ebx
pop edi
pop esi
ret 0x38
mov eax, 0
mov dword [0x5e1b5c], eax
mov dword [0x5e1b60], eax
jg 0x48902a
jmp 0x48903a