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

Disassembly:
sub esp, 0x68
push ebx
mov ebx, ecx
xorps xmm0, xmm0
xor edx, edx
movlpd qword [esp + 0x4c], xmm0
push esi
push edi
mov eax, dword [ebx + 8]
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x50], eax
mov dword [esp + 0x14], edx
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x40], xmm0
test eax, eax
je 0x42249a
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 + 0x28], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
push ebp
mov eax, dword [ebx + 4]
xor ebp, ebp
push ebp
push dword [esp + 0x20]
lea eax, [eax + edx*4]
push ebp
push dword [eax]
mov dword [esp + 0x24], eax
call fcn.004764c0
push ebp
push dword [esp + 0x24]
mov edi, eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x1c]
push ebp
push dword [eax]
call fcn.004764c0
xor ecx, ecx
add ecx, eax
adc edi, edx
cmp edi, edx
ja 0x42230a
jb 0x422301
cmp ecx, eax
jae 0x42230a
mov eax, 1
xor edx, edx
jmp 0x42231b
xorps xmm0, xmm0
movlpd qword [esp + 0x4c], xmm0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
add dword [esp + 0x10], eax
mov eax, ebp
adc eax, edx
add esi, ecx
mov edx, esi
adc ebp, edi
mov dword [esp + 0x4c], edx
cmp ebp, edi
ja 0x422340
jb 0x422337
cmp edx, ecx
jae 0x422340
mov esi, 1
xor ecx, ecx
jmp 0x422351
xorps xmm0, xmm0
movlpd qword [esp + 0x44], xmm0
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
add esi, dword [esp + 0x10]
push 0
push dword [esp + 0x30]
adc ecx, eax
xor eax, eax
or eax, dword [esp + 0x64]
mov dword [esp + 0x48], eax
xor eax, eax
or eax, ebp
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
push 0
mov dword [esp + 0x50], ecx
mov ebp, dword [eax]
push ebp
call fcn.004764c0
push 0
push dword [esp + 0x34]
mov dword [esp + 0x2c], eax
mov edi, edx
push 0
push ebp
call fcn.004764c0
mov ebp, dword [esp + 0x24]
mov ecx, eax
xor eax, eax
add eax, ecx
mov dword [esp + 0x34], eax
adc ebp, edx
cmp ebp, edx
ja 0x4223c6
jb 0x4223b7
cmp eax, ecx
jae 0x4223c6
mov ecx, 1
mov dword [esp + 0x28], 0
jmp 0x4223d3
xorps xmm0, xmm0
movlpd qword [esp + 0x24], xmm0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
xor eax, eax
add eax, eax
adc edi, ecx
or eax, ebp
xor ebp, ebp
add ebp, dword [esp + 0x10]
adc edx, esi
mov esi, ebp
cmp edx, dword [esp + 0x34]
ja 0x422404
jb 0x4223f5
test esi, esi
jae 0x422404
mov ecx, 1
mov dword [esp + 0x10], 0
jmp 0x422419
xorps xmm0, xmm0
movlpd qword [esp + 0x34], xmm0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
add eax, dword [esp + 0x3c]
adc edi, 0
add eax, ecx
mov ecx, edx
adc edi, dword [esp + 0x10]
add esi, dword [esp + 0x40]
adc ecx, dword [esp + 0x44]
cmp ecx, edx
ja 0x422443
jb 0x42243a
cmp esi, ebp
jae 0x422443
mov edx, 1
xor ebp, ebp
jmp 0x422454
xorps xmm0, xmm0
movlpd qword [esp + 0x44], xmm0
mov ebp, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
add eax, dword [esp + 0x64]
mov dword [esp + 0x68], esi
adc edi, 0
mov dword [esp + 0x6c], ecx
add eax, edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
adc edi, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x74], edi
movups xmm0, xmmword [esp + 0x68]
mov dword [ebp], edx
mov edx, dword [esp + 0x18]
inc edx
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x18], edx
cmp edx, dword [esp + 0x54]
jb 0x4222c1
pop ebp
jmp 0x4224b0
mov edi, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
nop word [eax + eax]
or eax, edi
jne 0x4224b8
or esi, ecx
je 0x422504
mov ecx, dword [ebx + 8]
inc ecx
cmp ecx, dword [ebx + 0xc]
jbe 0x4224c8
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax]
mov edx, dword [ebx + 8]
xor esi, esi
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x54]
or esi, dword [esp + 0x58]
mov dword [esp + 0x64], esi
mov dword [ecx + edx*4], eax
inc dword [ebx + 8]
xor edi, edi
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], edi
movups xmm0, xmmword [esp + 0x64]
movups xmmword [esp + 0x54], xmm0
jmp 0x4224b0
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x10