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

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov edi, ecx
xorps xmm0, xmm0
xor ecx, ecx
movlpd qword [esp + 0x64], xmm0
movlpd qword [esp + 0x6c], xmm0
mov dword [esp + 0x24], ecx
mov eax, dword [edi + 8]
mov dword [esp + 0x50], eax
movlpd qword [esp + 0x54], xmm0
movlpd qword [esp + 0x5c], xmm0
test eax, eax
je 0x10016539
mov eax, dword [esp + 0x88]
xor esi, esi
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x54], edx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 4]
xor ebp, ebp
push ebp
push edx
lea eax, [eax + ecx*4]
push ebp
push dword [eax]
mov dword [esp + 0x2c], eax
call fcn.1004c4f0
push ebp
push dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov ebx, eax
mov edx, dword [esp + 0x24]
push ebp
push dword [edx]
call fcn.1004c4f0
xor ecx, ecx
add ecx, eax
adc ebx, edx
cmp ebx, edx
ja 0x1001635d
jb 0x10016354
cmp ecx, eax
jae 0x1001635d
mov eax, 1
xor edx, edx
jmp 0x1001636e
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
add dword [esp + 0x10], eax
mov eax, ebp
adc eax, edx
add esi, ecx
mov edx, esi
adc ebp, ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x20], ebp
cmp ebp, ebx
ja 0x10016397
jb 0x1001638e
cmp edx, ecx
jae 0x10016397
mov edx, 1
xor esi, esi
jmp 0x100163a8
xorps xmm0, xmm0
movlpd qword [esp + 0x40], xmm0
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
add dword [esp + 0x10], edx
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
adc eax, esi
mov dword [esp + 0x3c], eax
xor esi, esi
or esi, dword [esp + 0x68]
xor eax, eax
or eax, dword [esp + 0x20]
push 0
push dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x24]
push 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x20], 0
push dword [eax]
call fcn.1004c4f0
push 0
push dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
push 0
mov dword [esp + 0x40], edx
push dword [eax]
call fcn.1004c4f0
mov ecx, eax
xor eax, eax
add eax, ecx
mov dword [esp + 0x20], eax
adc dword [esp + 0x18], edx
cmp dword [esp + 0x18], edx
ja 0x10016431
jb 0x10016422
cmp eax, ecx
jae 0x10016431
mov eax, 1
mov dword [esp + 0x60], 0
jmp 0x1001643e
xorps xmm0, xmm0
movlpd qword [esp + 0x5c], xmm0
mov eax, dword [esp + 0x5c]
xor ecx, ecx
add ecx, ecx
adc eax, dword [esp + 0x34]
xor edx, edx
or ecx, dword [esp + 0x18]
add edx, dword [esp + 0x38]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x20]
adc ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
cmp ecx, dword [esp + 0x20]
ja 0x1001647e
jb 0x1001646c
test edx, edx
jae 0x1001647e
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], 0
jmp 0x10016497
xorps xmm0, xmm0
movlpd qword [esp + 0x5c], xmm0
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x34]
adc dword [esp + 0x14], eax
add ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
adc eax, dword [esp + 0x18]
add esi, edx
mov dword [esp + 0x14], eax
adc ebp, dword [esp + 0x38]
cmp ebp, dword [esp + 0x38]
ja 0x100164d4
jb 0x100164c5
cmp esi, edx
jae 0x100164d4
mov edx, 1
mov dword [esp + 0x20], 0
jmp 0x100164e9
xorps xmm0, xmm0
movlpd qword [esp + 0x5c], xmm0
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
add ebx, ecx
mov ecx, dword [esp + 0x48]
adc eax, dword [esp + 0x14]
add ebx, edx
mov edx, dword [esp + 0x1c]
adc eax, dword [esp + 0x20]
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebp
mov dword [edx], ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
inc ecx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
movups xmm0, xmmword [esp + 0x74]
mov dword [esp + 0x24], ecx
movups xmmword [esp + 0x64], xmm0
cmp ecx, dword [esp + 0x50]
jb 0x10016317
jmp 0x10016550
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ebx, dword [esp + 0x54]
nop dword [eax]
or ebx, eax
jne 0x10016558
or esi, ebp
je 0x100165a7
mov ecx, dword [edi + 8]
inc ecx
cmp ecx, dword [edi + 0xc]
jbe 0x10016568
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 + 0x64]
or esi, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
mov ebx, dword [esp + 0x70]
mov dword [ecx + edx*4], eax
inc dword [edi + 8]
xor eax, eax
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], eax
movups xmm0, xmmword [esp + 0x74]
movups xmmword [esp + 0x64], xmm0
jmp 0x10016550
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x10