Function at 0x10039270
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 0x100394f9
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.1006f980
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.1006f980
xor ecx, ecx
add ecx, eax
adc ebx, edx
cmp ebx, edx
ja 0x1003931d
jb 0x10039314
cmp ecx, eax
jae 0x1003931d
mov eax, 1
xor edx, edx
jmp 0x1003932e
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 0x10039357
jb 0x1003934e
cmp edx, ecx
jae 0x10039357
mov edx, 1
xor esi, esi
jmp 0x10039368
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.1006f980
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.1006f980
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 0x100393f1
jb 0x100393e2
cmp eax, ecx
jae 0x100393f1
mov eax, 1
mov dword [esp + 0x60], 0
jmp 0x100393fe
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 0x1003943e
jb 0x1003942c
test edx, edx
jae 0x1003943e
mov dword [esp + 0x20], 1
mov dword [esp + 0x18], 0
jmp 0x10039457
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 0x10039494
jb 0x10039485
cmp esi, edx
jae 0x10039494
mov edx, 1
mov dword [esp + 0x20], 0
jmp 0x100394a9
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 0x100392d7
jmp 0x10039510
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 0x10039518
or esi, ebp
je 0x10039567
mov ecx, dword [edi + 8]
inc ecx
cmp ecx, dword [edi + 0xc]
jbe 0x10039528
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 0x10039510
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret 0x10