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

Disassembly:
mov eax, 0x7c
call fcn.005dfc90
mov eax, dword [0x6a7d40]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov ecx, dword [esp + 0x94]
xorps xmm0, xmm0
mov edx, dword [esp + 0x98]
lea ebx, [edx + 4]
movlpd qword [esp + 0x20], xmm0
mov eax, dword [ecx + 0x20]
add eax, dword [ecx]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 0x20]
add eax, dword [edx]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0x24]
add eax, dword [ecx + 4]
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0x24]
add eax, dword [ebx]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x28]
add eax, dword [ecx + 8]
mov dword [esp + 0x70], eax
mov eax, dword [edx + 0x28]
add eax, dword [edx + 8]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x2c]
add eax, dword [ecx + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [edx + 0x2c]
add eax, dword [edx + 0xc]
mov dword [esp + 0x54], eax
mov eax, dword [ecx + 0x30]
add eax, dword [ecx + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [edx + 0x30]
add eax, dword [edx + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [ecx + 0x34]
add eax, dword [ecx + 0x14]
mov dword [esp + 0x7c], eax
mov eax, dword [edx + 0x34]
add eax, dword [edx + 0x14]
mov dword [esp + 0x5c], eax
mov eax, dword [ecx + 0x38]
add eax, dword [ecx + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [edx + 0x38]
add eax, dword [edx + 0x18]
mov dword [esp + 0x60], eax
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x1c]
mov dword [esp + 0x84], eax
lea ebp, [esp + 0x48]
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x1c]
mov esi, dword [esp + 0x90]
sub ecx, esi
movlpd qword [esp + 0x30], xmm0
sub ebp, edx
mov dword [esp + 0x64], eax
mov eax, 1
mov edi, dword [esp + 0x24]
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x3c], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x28], eax
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
test eax, eax
jle 0x580906
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x40]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x68]
sub edx, dword [esp + 0x94]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mul dword [edx]
add dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
adc dword [esp + 0x18], edx
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + eax]
mov edx, dword [esp + 0x10]
mul dword [edx + ebp]
add esi, eax
mov eax, dword [esp + 0x14]
adc ecx, edx
mov edx, dword [esp + 0x10]
mov eax, dword [eax + 0x20]
mul dword [edx + 0x20]
add ebx, eax
mov eax, dword [esp + 0x14]
adc edi, edx
mov edx, dword [esp + 0x10]
add edx, 4
sub eax, 4
sub dword [esp + 0x30], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jne 0x5808a0
mov eax, dword [esp + 0x18]
lea ebp, [esp + 0x48]
sub ebp, dword [esp + 0x98]
mov edx, dword [esp + 0x1c]
jmp 0x58090e
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub esi, edx
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
sbb ecx, eax
add ebx, edx
adc edi, eax
cmp dword [esp + 0x28], 8
jge 0x5809cb
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x84]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x94]
add eax, 0x3c
mov dword [esp + 0x14], 8
sub dword [esp + 0x14], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
nop
mov eax, dword [eax - 0x20]
mul dword [edx]
sub ebx, eax
mov eax, dword [esp + 0x1c]
sbb edi, edx
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
mul dword [edx + ebp]
add dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
adc dword [esp + 0x2c], edx
mov edx, dword [esp + 0x10]
mov eax, dword [eax]
mul dword [edx + 0x20]
add esi, eax
mov eax, dword [esp + 0x18]
adc ecx, edx
mov edx, dword [esp + 0x10]
sub dword [esp + 0x1c], 4
add edx, 4
sub eax, 4
mov dword [esp + 0x10], edx
sub dword [esp + 0x14], 1
mov dword [esp + 0x18], eax
jne 0x580970
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
jmp 0x5809de
mov eax, dword [esp + 0x24]
lea ebp, [esp + 0x48]
sub ebp, dword [esp + 0x98]
mov edx, dword [esp + 0x20]
add esi, edx
adc ecx, eax
add ebx, edx
mov edx, dword [esp + 0x3c]
adc edi, eax
add dword [esp + 0x38], 4
mov eax, ebx
and eax, 0xfffffff
mov dword [edx], eax
mov eax, esi
and eax, 0xfffffff
mov dword [edx + 0x20], eax
add edx, 4
mov eax, dword [esp + 0x28]
shrd ebx, edi, 0x1c
shrd esi, ecx, 0x1c
inc eax
shr edi, 0x1c
shr ecx, 0x1c
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x28], eax
cmp eax, 8
jle 0x580854
mov ebp, dword [esp + 0x44]
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 + 0x88]
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.005df387
add esp, 0x7c
ret