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

Disassembly:
sub esp, 0x68
push ebx
push esi
push edi
mov edi, ecx
xorps xmm0, xmm0
xor ebx, ebx
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 8]
mov dword [esp + 0x48], eax
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x40], xmm0
test eax, eax
je 0x416394
mov eax, dword [esp + 0x7c]
xor esi, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x24], eax
push ebp
mov eax, dword [edi + 4]
xor ebp, ebp
push ebp
push dword [esp + 0x20]
lea eax, [eax + ebx*4]
push ebp
push dword [eax]
mov dword [esp + 0x24], eax
call fcn.004df430
push ebp
push dword [esp + 0x24]
mov ebx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x1c]
push ebp
push dword [eax]
call fcn.004df430
xor ecx, ecx
add ecx, eax
adc ebx, edx
cmp ebx, edx
ja 0x41620a
jb 0x416201
cmp ecx, eax
jae 0x41620a
mov eax, 1
xor edx, edx
jmp 0x41621b
xorps xmm0, xmm0
movlpd qword [esp + 0x44], xmm0
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
add dword [esp + 0x10], eax
mov eax, ebp
adc eax, edx
add esi, ecx
mov edx, esi
adc ebp, ebx
mov dword [esp + 0x44], edx
cmp ebp, ebx
ja 0x416240
jb 0x416237
cmp edx, ecx
jae 0x416240
mov ecx, 1
xor edx, edx
jmp 0x416251
xorps xmm0, xmm0
movlpd qword [esp + 0x3c], xmm0
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
add esi, ecx
mov ecx, dword [esp + 0x60]
push 0
push dword [esp + 0x28]
adc eax, edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], eax
xor eax, eax
or eax, dword [esp + 0x64]
mov dword [esp + 0x40], eax
xor eax, eax
or eax, ebp
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
push 0
mov ebx, dword [eax]
push ebx
call fcn.004df430
push 0
push dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x18], edx
push 0
push ebx
call fcn.004df430
xor ebx, ebx
add ebx, eax
mov dword [esp + 0x30], ebx
adc ebp, edx
cmp ebp, edx
ja 0x4162c2
jb 0x4162b3
cmp ebx, eax
jae 0x4162c2
mov ecx, 1
mov dword [esp + 0x54], 0
jmp 0x4162cf
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov ecx, dword [esp + 0x50]
xor eax, eax
add eax, eax
adc ecx, dword [esp + 0x10]
or eax, ebp
xor ebp, ebp
add ebp, dword [esp + 0x2c]
adc ebx, esi
mov esi, ebp
cmp ebx, dword [esp + 0x30]
ja 0x4162fe
jb 0x4162ef
test esi, esi
jae 0x4162fe
mov edx, 1
mov dword [esp + 0x10], 0
jmp 0x416313
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x50]
add eax, dword [esp + 0x34]
adc ecx, 0
add eax, edx
mov edx, ebx
adc ecx, dword [esp + 0x10]
add esi, dword [esp + 0x38]
adc edx, dword [esp + 0x3c]
cmp edx, ebx
ja 0x41633d
jb 0x416334
cmp esi, ebp
jae 0x41633d
mov ebx, 1
xor ebp, ebp
jmp 0x41634e
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov ebp, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
add eax, dword [esp + 0x64]
mov dword [esp + 0x68], esi
adc ecx, 0
mov dword [esp + 0x6c], edx
add eax, ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0x70], eax
adc ecx, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x74], ecx
movups xmm0, xmmword [esp + 0x68]
mov dword [ebp], ebx
mov ebx, dword [esp + 0x18]
inc ebx
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x18], ebx
cmp ebx, dword [esp + 0x4c]
jb 0x4161c1
pop ebp
jmp 0x4163a4
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
or eax, ecx
jne 0x4163ac
or esi, edx
je 0x4163f8
mov ecx, dword [edi + 8]
inc ecx
cmp ecx, dword [edi + 0xc]
jbe 0x4163bc
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax]
mov edx, dword [edi + 8]
xor esi, esi
mov ecx, dword [edi + 4]
mov eax, dword [esp + 0x54]
or esi, dword [esp + 0x58]
mov dword [esp + 0x64], esi
mov dword [ecx + edx*4], eax
inc dword [edi + 8]
xor ecx, ecx
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
movups xmm0, xmmword [esp + 0x64]
movups xmmword [esp + 0x54], xmm0
jmp 0x4163a4
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x10