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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
push esi
mov esi, ecx
xorps xmm0, xmm0
xor edx, edx
movlpd qword [esp + 0x34], xmm0
mov ecx, dword [esp + 0x34]
push edi
mov eax, dword [esi + 8]
movlpd qword [esp + 0x30], xmm0
mov edi, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x64], edx
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x10], ecx
test eax, eax
je 0x404247
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x74], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], eax
jmp 0x403fe5
mov edx, dword [esp + 0x64]
mov eax, dword [esi + 4]
push 0
push dword [esp + 0x70]
lea eax, [eax + edx*4]
mov dword [esp + 0x14], 0
push 0
push dword [eax]
mov dword [esp + 0x58], eax
call fcn.00434510
push 0
push dword [esp + 0x74]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x50]
push 0
mov dword [esp + 0x38], edx
push dword [eax]
call fcn.00434510
mov ecx, eax
xor eax, eax
add eax, ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 8]
adc ecx, edx
mov dword [esp + 0x28], eax
mov dword [esp + 8], ecx
cmp ecx, edx
ja 0x40404e
jb 0x404045
cmp eax, dword [esp + 0x4c]
jae 0x40404e
mov eax, 1
xor edx, edx
jmp 0x40405f
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add ecx, eax
mov eax, 0
adc eax, edx
add edi, dword [esp + 0x28]
mov edx, dword [esp + 0xc]
adc edx, dword [esp + 8]
mov dword [esp + 0x4c], edi
mov edi, edx
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x28]
cmp edi, dword [esp + 8]
ja 0x40409d
jb 0x404094
cmp dword [esp + 0x4c], edx
jae 0x40409d
mov edx, 1
xor edi, edi
jmp 0x4040ae
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add ecx, edx
mov dword [esp + 8], 0
push 0
push dword [esp + 0x78]
adc eax, edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
xor edi, edi
mov eax, dword [esp + 0x18]
or edi, dword [esp + 0x24]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
xor eax, eax
or eax, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
push 0
mov dword [esp + 0x30], 0
push dword [eax]
call fcn.00434510
push 0
push dword [esp + 0x7c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
push 0
mov dword [esp + 0x74], edx
push dword [eax]
call fcn.00434510
mov ecx, eax
xor eax, eax
add eax, ecx
mov dword [esp + 0x20], eax
adc dword [esp + 0xc], edx
cmp dword [esp + 0xc], edx
ja 0x404141
jb 0x404132
cmp eax, ecx
jae 0x404141
mov eax, 1
mov dword [esp + 0x54], 0
jmp 0x40414e
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
xor ecx, ecx
add ecx, ecx
adc eax, dword [esp + 0x68]
or ecx, dword [esp + 0xc]
add edx, 0
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x2c]
adc ecx, dword [esp + 0x20]
mov dword [esp + 0x28], edx
cmp ecx, dword [esp + 0x20]
ja 0x40418f
jb 0x40417d
test edx, edx
jae 0x40418f
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 0
jmp 0x4041a8
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov edx, dword [esp + 0x54]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x68]
adc dword [esp + 8], eax
add edx, dword [esp + 0x20]
mov eax, dword [esp + 8]
adc eax, dword [esp + 0x2c]
add edi, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
adc eax, ecx
mov dword [esp + 0x1c], eax
cmp eax, ecx
ja 0x4041ed
jb 0x4041de
cmp edi, dword [esp + 0x28]
jae 0x4041ed
mov eax, 1
mov dword [esp + 0x20], 0
jmp 0x404202
xorps xmm0, xmm0
movlpd qword [esp + 0x50], xmm0
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
add ecx, edx
mov edx, dword [esp + 0x24]
adc edx, dword [esp + 8]
add ecx, eax
mov eax, dword [esp + 0x4c]
adc edx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], edx
mov dword [ecx], eax
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x64], eax
cmp eax, dword [esp + 0x7c]
jb 0x403fe1
mov eax, ecx
mov ecx, dword [esp + 0x1c]
jmp 0x404260
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
nop
or eax, edx
jne 0x40426a
mov eax, edi
or eax, ecx
je 0x4042c8
mov ecx, dword [esi + 8]
lea edx, [ecx + 1]
cmp edx, dword [esi + 0xc]
jbe 0x40427f
mov eax, dword [esi]
mov ecx, esi
push edx
call dword [eax]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4], edi
xor eax, eax
or eax, dword [esp + 0x1c]
inc dword [esi + 8]
xor edx, edx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0x30], xmm0
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
jmp 0x404257
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10