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

Disassembly:
mov eax, 0x80
call fcn.005c85a0
mov eax, dword [0x679dc8]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x98]
xorps xmm0, xmm0
mov ebx, dword [esp + 0x9c]
mov eax, dword [ecx + 0x20]
lea ebp, [ebx + 4]
add eax, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x20]
add eax, dword [ebx]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x24]
add eax, dword [ecx + 4]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x24]
add eax, dword [ebp]
mov dword [esp + 0x70], eax
mov eax, dword [ecx + 0x28]
add eax, dword [ecx + 8]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x28]
add eax, dword [ebx + 8]
mov dword [esp + 0x74], eax
mov eax, dword [ecx + 0x2c]
add eax, dword [ecx + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 0x2c]
add eax, dword [ebx + 0xc]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x30]
add eax, dword [ecx + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x30]
add eax, dword [ebx + 0x10]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x34]
add eax, dword [ecx + 0x14]
mov dword [esp + 0x60], eax
mov eax, dword [ebx + 0x34]
add eax, dword [ebx + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x38]
add eax, dword [ecx + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [ebx + 0x38]
add eax, dword [ebx + 0x18]
mov dword [esp + 0x84], eax
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x1c]
mov esi, dword [esp + 0x94]
mov edx, esi
sub ecx, esi
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x3c]
add eax, dword [ebx + 0x1c]
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x6c]
sub ecx, ebx
movlpd qword [esp + 0x20], xmm0
mov ebx, dword [esp + 0x20]
movlpd qword [esp + 0x3c], xmm0
mov dword [esp + 0x88], eax
mov eax, 1
mov edi, dword [esp + 0x24]
mov dword [esp + 0x48], esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x38], edx
nop
mov dword [esp + 0x3c], eax
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
test eax, eax
jle 0x586735
mov eax, dword [esp + 0x44]
mov ebp, dword [esp + 0x9c]
add eax, edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x10], eax
sub edx, dword [esp + 0x98]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], edx
nop dword [eax]
mov eax, dword [eax]
lea ebp, [ebp + 4]
mul dword [ebp - 4]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
adc dword [esp + 0x14], edx
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + eax]
mov edx, dword [esp + 0x34]
mul dword [edx + ebp - 4]
add esi, eax
mov eax, dword [esp + 0x10]
adc ecx, edx
mov eax, dword [eax + 0x20]
mul dword [ebp + 0x1c]
add ebx, eax
mov eax, dword [esp + 0x10]
adc edi, edx
sub eax, 4
sub dword [esp + 0x1c], 1
mov dword [esp + 0x10], eax
jne 0x5866e0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x30]
jmp 0x58673d
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
sub esi, eax
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
sbb ecx, edx
add ebx, eax
adc edi, edx
cmp dword [esp + 0x28], 8
jge 0x5867e5
lea eax, [esp + 0x68]
mov edx, 8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x98]
add eax, 0x3c
sub edx, dword [esp + 0x28]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
nop dword [eax]
mov eax, dword [eax - 0x20]
lea ebp, [ebp + 4]
mul dword [ebp - 4]
sub ebx, eax
mov eax, dword [esp + 0x18]
sbb edi, edx
mov edx, dword [esp + 0x34]
mov eax, dword [eax]
mul dword [edx + ebp - 4]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
adc dword [esp + 0x10], edx
mov eax, dword [eax]
mul dword [ebp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x14]
adc ecx, edx
sub dword [esp + 0x18], 4
sub eax, 4
sub dword [esp + 0x2c], 1
mov dword [esp + 0x14], eax
jne 0x586790
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x30]
jmp 0x5867ed
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esi, eax
adc ecx, edx
add ebx, eax
mov eax, ebx
adc edi, edx
mov edx, dword [esp + 0x38]
and eax, 0xfffffff
add ebp, 4
shrd ebx, edi, 0x1c
mov dword [esp + 0x30], ebp
mov dword [edx], eax
mov eax, esi
and eax, 0xfffffff
shr edi, 0x1c
mov dword [edx + 0x20], eax
add edx, 4
mov eax, dword [esp + 0x28]
shrd esi, ecx, 0x1c
inc eax
mov dword [esp + 0x38], edx
shr ecx, 0x1c
cmp dword [esp + 0x3c], 8
mov dword [esp + 0x28], eax
jl 0x586690
mov ebp, dword [esp + 0x48]
xor edx, edx
mov eax, dword [ebp + 0x20]
add eax, esi
adc edx, ecx
add ebx, eax
mov eax, ebx
adc edi, edx
add esi, dword [ebp]
adc ecx, 0
and eax, 0xfffffff
mov dword [ebp + 0x20], eax
mov eax, esi
shrd esi, ecx, 0x1c
mov ecx, dword [esp + 0x8c]
and eax, 0xfffffff
add dword [ebp + 4], esi
shrd ebx, edi, 0x1c
pop edi
add dword [ebp + 0x24], ebx
pop esi
mov dword [ebp], eax
pop ebp
pop ebx
xor ecx, esp
call fcn.005c7d0a
add esp, 0x80
ret