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

Disassembly:
mov eax, 0xb4
call fcn.005530f0
push ebx
push ebp
push esi
push edi
mov ebx, dword [esp + 0xcc]
mov eax, dword [ebx + 0x20]
add eax, dword [ebx]
mov edx, dword [ebx + 0x24]
add edx, dword [ebx + 4]
mov dword [esp + 0x84], eax
mov ebp, dword [esp + 0xd0]
mov ecx, dword [ebp + 0x20]
add ecx, dword [ebp]
mov eax, dword [ebp + 4]
add eax, dword [ebp + 0x24]
mov dword [esp + 0xa4], ecx
mov ecx, dword [ebx + 0x28]
add ecx, dword [ebx + 8]
mov dword [esp + 0xa8], eax
mov eax, dword [ebp + 8]
add eax, dword [ebp + 0x28]
mov dword [esp + 0x8c], ecx
mov ecx, dword [ebx + 0x2c]
add ecx, dword [ebx + 0xc]
mov dword [esp + 0xac], eax
mov eax, dword [ebp + 0x2c]
add eax, dword [ebp + 0xc]
mov dword [esp + 0x88], edx
lea edx, [ebp + 0x28]
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0x30]
add eax, dword [ebp + 0x10]
mov dword [esp + 0x90], ecx
mov ecx, dword [ebx + 0x30]
add ecx, dword [ebx + 0x10]
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 0x34]
add eax, dword [ebp + 0x14]
mov dword [esp + 0x94], ecx
mov ecx, dword [ebx + 0x34]
add ecx, dword [ebx + 0x14]
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 0x38]
add eax, dword [ebp + 0x18]
mov dword [esp + 0x98], ecx
mov ecx, dword [ebx + 0x38]
add ecx, dword [ebx + 0x18]
mov dword [esp + 0xbc], eax
mov eax, dword [ebp + 0x3c]
add eax, dword [ebp + 0x1c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [ebx + 0x3c]
add ecx, dword [ebx + 0x1c]
mov dword [esp + 0xc0], eax
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0xc8]
lea eax, [ecx + 0x20]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x84]
sub eax, 4
xor esi, esi
mov dword [esp + 0x5c], eax
mov eax, ebx
xor edi, edi
sub eax, ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], edx
mov dword [esp + 0x74], eax
jmp 0x515a16
xor esi, esi
mov edx, dword [esp + 0x38]
inc edx
xor eax, eax
xor ecx, ecx
cmp edx, 2
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
jl 0x515b35
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x74]
add edx, eax
add ebp, 0x24
mov dword [esp + 0x1c], edx
mov eax, ebx
lea edx, [esp + 0x84]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x5c]
sub eax, edx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax - 0x20]
mov edx, dword [esp + 0x10]
mul dword [edx - 0x24]
add dword [esp + 0x68], eax
mov eax, dword [esp + 0x80]
mov eax, dword [eax + ebp]
adc dword [esp + 0x6c], edx
mov edx, dword [esp + 0x10]
mul dword [edx - 0x20]
add dword [esp + 0x3c], eax
mov eax, dword [esp + ecx*4 + 0xa4]
adc dword [esp + 0x40], edx
mul dword [ebp + 4]
mov esi, eax
mov eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [esp + ecx*4 + 0xa8]
mul dword [ebp]
mov ebp, dword [esp + 0x1c]
add esi, eax
mov eax, dword [esp + 0x20]
adc eax, edx
add edi, esi
adc dword [esp + 0x28], eax
mov esi, dword [esp + 0x10]
mov eax, dword [ebp - 4]
mul dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [esi - 4]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x50], edx
mul dword [ebp]
mov ebp, dword [esp + 0x70]
add esi, eax
mov eax, dword [esp + 0x50]
adc eax, edx
add dword [esp + 0x14], esi
adc dword [esp + 0x18], eax
mov eax, 8
add dword [esp + 0x10], eax
sub dword [esp + 0x1c], eax
sub ebp, eax
mov eax, dword [esp + 0x34]
add ecx, 2
dec eax
cmp ecx, eax
mov dword [esp + 0x70], ebp
jl 0x515a73
mov esi, dword [esp + 0x2c]
mov ebp, dword [esp + 0xd0]
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
cmp ecx, edx
jge 0x515b80
mov eax, dword [esp + 0x38]
sub eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebx + eax*4]
mul dword [ebp + ecx*4]
mov esi, eax
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x84]
mov dword [esp + 0x30], edx
mul dword [esp + ecx*4 + 0xa4]
add edi, eax
adc dword [esp + 0x28], edx
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + edx*4 + 0x20]
mul dword [ebp + ecx*4 + 0x20]
add dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
adc dword [esp + 0x18], edx
mov ecx, dword [esp + 0x3c]
xor edx, edx
add ecx, dword [esp + 0x68]
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x40]
adc edx, dword [esp + 0x6c]
add esi, ecx
adc eax, edx
sub edi, esi
sbb dword [esp + 0x28], eax
add dword [esp + 0x14], esi
mov esi, dword [esp + 0x34]
mov ecx, esi
adc dword [esp + 0x18], eax
xor eax, eax
xor edx, edx
cmp ecx, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
jge 0x515d2b
cmp dword [esp + 0x48], 2
jl 0x515cb6
mov eax, dword [esp + 0x38]
mov ebp, dword [esp + 0x44]
sub eax, ecx
lea ecx, [esp + eax*4 + 0xa0]
mov dword [esp + 0x10], ecx
lea ecx, [ebx + eax*4 + 0x20]
lea eax, [esp + 0x84]
sub eax, ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x50], eax
jmp 0x515c14
mov eax, dword [esp + 0x50]
mov eax, dword [ecx + eax]
mul dword [esp + esi*4 + 0xa4]
add dword [esp + 0x60], eax
mov eax, dword [ecx - 4]
adc dword [esp + 0x64], edx
mul dword [ebp - 0x20]
mov ebx, eax
mov eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0x24]
mul dword [ecx]
add ebx, eax
mov eax, dword [esp + 0x20]
adc eax, edx
sub dword [esp + 0x14], ebx
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
sbb dword [esp + 0x18], eax
mov eax, dword [esp + esi*4 + 0xa8]
mul dword [edx]
add dword [esp + 0x54], eax
mov eax, dword [ecx + 0x20]
adc dword [esp + 0x58], edx
mul dword [ebx - 4]
mov ebp, eax
mov eax, edx
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x1c]
mul dword [ebx]
add ebp, eax
mov eax, dword [esp + 0x20]
adc eax, edx
add edi, ebp
adc dword [esp + 0x28], eax
sub dword [esp + 0x10], 8
mov ebp, ebx
add esi, 2
add ebp, 8
sub ecx, 8
cmp esi, 7
mov dword [esp + 0x1c], ebp
jl 0x515c10
mov ebx, dword [esp + 0xcc]
mov ebp, dword [esp + 0xd0]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
cmp esi, 8
mov ecx, dword [esp + 0x14]
jge 0x515d0b
mov eax, dword [esp + 0x38]
sub eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [ebx + eax*4 + 0x20]
mul dword [ebp + esi*4]
sub ecx, eax
sbb dword [esp + 0x18], edx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0xa4]
mul dword [esp + esi*4 + 0xa4]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [ebx + edx*4 + 0x40]
mul dword [ebp + esi*4 + 0x20]
add edi, eax
adc dword [esp + 0x28], edx
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x54]
add esi, dword [esp + 0x60]
mov dword [esp + 0x78], esi
mov esi, dword [esp + 0x58]
adc esi, dword [esp + 0x64]
add eax, dword [esp + 0x78]
mov dword [esp + 0x7c], esi
adc edx, esi
jmp 0x515d2f
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
add edi, eax
adc dword [esp + 0x28], edx
add ecx, eax
mov eax, dword [esp + 0x4c]
adc esi, edx
mov edx, ecx
shrd ecx, esi, 0x1c
and edx, 0xfffffff
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax - 0x20], edx
mov edx, edi
shrd edi, ecx, 0x1c
and edx, 0xfffffff
shr ecx, 0x1c
mov dword [eax], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x38], edx
mov edx, 4
add dword [esp + 0x44], edx
add dword [esp + 0x5c], edx
dec ecx
shr esi, 0x1c
add eax, edx
cmp ecx, 0xffffffff
mov dword [esp + 0x18], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
jg 0x515a14
mov eax, dword [esp + 0xc8]
mov edx, dword [eax + 0x20]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
xor ebx, ebx
add edx, edi
adc ebx, ecx
add esi, edx
mov edx, dword [esp + 0x18]
adc edx, ebx
mov ebx, dword [eax]
add edi, ebx
adc ecx, 0
mov ebx, esi
and ebx, 0xfffffff
mov dword [eax + 0x20], ebx
shrd esi, edx, 0x1c
add dword [eax + 0x24], esi
mov ebx, edi
shrd edi, ecx, 0x1c
and ebx, 0xfffffff
shr edx, 0x1c
shr ecx, 0x1c
add dword [eax + 4], edi
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
add esp, 0xb4
ret