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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x516180]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x10]
sub edx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov ecx, eax
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x14]
sub ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov dword [esp + 0x28], eax
xor edi, edi
mov esi, dword [ecx]
xor eax, eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
cmp esi, ecx
je 0x4425c6
mov edi, dword [esi]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x442592
cmp byte [edi + 0x58], 0
jne 0x442592
mov ecx, dword [esp + 0x14]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x20]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [esp + 0x18]
cmp ecx, 0xffffffff
jne 0x44252a
mov eax, dword [edi]
lea ecx, [esp + 0x60]
inc dword [esp + 8]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xc0]
call eax
add eax, 8
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xc0]
call eax
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx]
jmp 0x44257b
cmp ecx, dword [edi + 0x30]
cmovl ecx, dword [edi + 0x30]
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 0x38]
test eax, eax
js 0x442545
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [edi]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xc0]
call eax
add eax, 8
lea ecx, [esp + 0x8c]
mov dword [esp + 0x20], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xc0]
call eax
mov ecx, dword [eax]
add ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
add ecx, dword [eax]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
inc eax
add edi, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
jmp 0x44259a
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [ebp + 0xc]
add esi, 4
mov ecx, dword [edx + 4]
cmp esi, ecx
jne 0x4424b1
mov esi, dword [edx]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x28], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
dec eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x14]
imul eax, dword [esp + 0x20]
add edi, eax
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
cmp dword [esp + 8], eax
jle 0x4425fd
mov eax, edx
sub eax, edi
cdq
idiv dword [esp + 8]
xor edx, edx
test eax, eax
cmovs eax, edx
mov dword [esp + 0x40], eax
imul eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
sub edx, eax
sub edx, edi
mov dword [esp + 0x44], edx
xor edx, edx
mov dword [esp + 0x2c], edx
cmp esi, ecx
je 0x44265d
mov edi, dword [esi]
mov ecx, edi
mov dword [esp + 0x10], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x44264e
cmp byte [edi + 0x58], 0
je 0x44268c
movups xmm0, xmmword [ebp + 0x10]
sub esp, 0x10
lea ecx, [esp + 0x8c]
mov eax, esp
mov edx, edi
movups xmmword [eax], xmm0
call fcn.0043d7b0
add esp, 0x10
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x442618
mov eax, dword [esp + 0x30]
pop edi
pop esi
mov ecx, dword [eax + 0x14]
imul ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x44]
add ecx, dword [esp + 0x34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x94]
xor ecx, esp
mov dword [eax + 4], edx
call fcn.004a248b
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [edi]
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call dword [eax + 0xc0]
mov ecx, dword [esp + 0x14]
sub esp, 8
sub ecx, dword [esp + 0x58]
mov eax, esp
mov dword [esp + 0x1c], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x20]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov edi, dword [esp + 0x18]
cmp edi, 0xffffffff
jne 0x4426e8
mov ecx, dword [esp + 0x40]
mov edi, ecx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], edi
test eax, eax
jle 0x4426e8
lea edi, [ecx + 1]
dec eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x10]
cmp edi, dword [edx + 0x30]
cmovl edi, dword [edx + 0x30]
mov dword [esp + 0x18], edi
mov eax, dword [edx + 0x38]
test eax, eax
js 0x442707
cmp edi, eax
cmovg edi, eax
mov dword [esp + 0x18], edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x48], eax
cmp ecx, 0xffffffff
jne 0x442722
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x5c]
sub ecx, eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0xc], eax
cmovs ecx, eax
mov dword [esp + 8], eax
mov dword [esp + 0x1c], ecx
cmp ecx, dword [edx + 0x34]
cmovl ecx, dword [edx + 0x34]
mov dword [esp + 0x1c], ecx
cmp ecx, dword [edx + 0x3c]
cmovg ecx, dword [edx + 0x3c]
mov dword [esp + 0x1c], ecx
mov eax, dword [edx + 0x54]
test eax, eax
jne 0x442758
mov eax, dword [esp + 0x48]
jmp 0x44278d
cmp eax, 2
jne 0x442771
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
sub eax, ecx
mov dword [esp + 0xc], eax
jmp 0x44279f
cmp eax, 1
jne 0x44279f
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x5c]
sub eax, ecx
sub eax, dword [esp + 0x28]
add eax, dword [esp + 0x38]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mov dword [esp + 0xc], eax
add eax, ecx
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x50]
sub esp, 0x10
mov eax, dword [esp + 0x34]
mov edx, dword [edx]
add eax, ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
lea eax, [edi + ecx]
add eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
sub eax, dword [esp + 0x1c]
movups xmm0, xmmword [esp + 0x70]
mov dword [esp + 0x18], eax
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x20]
mov ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x58]
mov edx, dword [esp + 0x18]
mov eax, dword [ecx + 0x14]
add eax, edi
add eax, edx
add eax, dword [esp + 0x50]
add dword [esp + 0x24], eax
lea eax, [edi + edx]
add eax, dword [esp + 0x50]
add dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x14]
add eax, edi
add eax, edx
sub dword [esp + 0x14], eax
mov eax, dword [esp + 8]
cmp dword [esp + 0x2c], eax
cmovg eax, dword [esp + 0x2c]
mov edx, eax
mov dword [esp + 0x2c], edx
jmp 0x442652