Function at 0x1004a160
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 0x1004a3e9
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.1006c430
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.1006c430
xor ecx, ecx
add ecx, eax
adc ebx, edx
cmp ebx, edx
ja 0x1004a20d
jb 0x1004a204
cmp ecx, eax
jae 0x1004a20d
mov eax, 1
xor edx, edx
jmp 0x1004a21e
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 0x1004a247
jb 0x1004a23e
cmp edx, ecx
jae 0x1004a247
mov edx, 1
xor esi, esi
jmp 0x1004a258
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.1006c430
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.1006c430
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 0x1004a2e1
jb 0x1004a2d2
cmp eax, ecx
jae 0x1004a2e1
mov eax, 1
mov dword [esp + 0x60], 0
jmp 0x1004a2ee
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 0x1004a32e
jb 0x1004a31c
test edx, edx
jae 0x1004a32e
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], 0
jmp 0x1004a347
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 0x1004a384
jb 0x1004a375
cmp esi, edx
jae 0x1004a384
mov edx, 1
mov dword [esp + 0x20], 0
jmp 0x1004a399
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 0x1004a1c7
jmp 0x1004a400
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 0x1004a408
or esi, ebp
je 0x1004a457
mov ecx, dword [edi + 8]
inc ecx
cmp ecx, dword [edi + 0xc]
jbe 0x1004a418
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 0x1004a400
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x10