Function at 0x442a40
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 + 0x1c]
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0xc]
push esi
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x14]
sub edx, eax
mov esi, dword [ecx]
mov ecx, dword [ecx + 4]
push edi
mov dword [esp + 0x2c], eax
xor edi, edi
xor eax, eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], eax
cmp esi, ecx
je 0x442bc3
mov edi, dword [esi]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x442b8f
cmp byte [edi + 0x58], 0
jne 0x442b8f
mov ecx, dword [esp + 0x38]
sub esp, 8
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x24]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
jne 0x442b2b
mov eax, dword [edi]
lea ecx, [esp + 0x60]
inc dword [esp + 0x10]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xc0]
call eax
add eax, 0xc
lea ecx, [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xc0]
call eax
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x28]
jmp 0x442b78
cmp ecx, dword [edi + 0x34]
cmovl ecx, dword [edi + 0x34]
mov dword [esp + 0x20], ecx
cmp ecx, dword [edi + 0x3c]
cmovg ecx, dword [edi + 0x3c]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x7c]
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xc0]
call eax
add eax, 0xc
lea ecx, [esp + 0x8c]
mov dword [esp + 0x28], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
mov eax, dword [eax + 0xc0]
call eax
mov ecx, dword [eax + 4]
add ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
add ecx, dword [eax]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
inc eax
add edi, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
jmp 0x442b97
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov edx, dword [ebp + 0xc]
add esi, 4
mov ecx, dword [edx + 4]
cmp esi, ecx
jne 0x442ab1
mov esi, dword [edx]
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 0x2c], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
dec eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x14]
imul eax, dword [esp + 0x28]
add edi, eax
xor eax, eax
mov dword [esp + 0x40], eax
cmp dword [esp + 0x10], eax
jle 0x442bfe
mov eax, edx
sub eax, edi
cdq
idiv dword [esp + 0x10]
xor edx, edx
test eax, eax
cmovs eax, edx
mov dword [esp + 0x40], eax
imul eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
sub edx, eax
sub edx, edi
mov dword [esp + 0x44], edx
xor edx, edx
mov dword [esp + 0x14], edx
cmp esi, ecx
je 0x442c61
nop dword [eax]
mov edi, dword [esi]
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
test al, al
je 0x442c52
cmp byte [edi + 0x58], 0
je 0x442c94
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 + 0x14]
mov eax, dword [ebp + 0xc]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x442c20
mov eax, dword [esp + 0x34]
pop edi
pop esi
mov ecx, dword [eax + 0x14]
imul ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
mov ecx, dword [esp + 0x94]
xor ecx, esp
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 + 0x24]
sub esp, 8
sub ecx, dword [esp + 0x5c]
mov eax, esp
mov edx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov dword [eax + 4], ecx
lea ecx, [esp + 0x24]
mov dword [eax], edx
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [esp + 0x20]
cmp ecx, 0xffffffff
jne 0x442cf0
mov edx, dword [esp + 0x40]
mov ecx, edx
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], ecx
test eax, eax
jle 0x442cf0
lea ecx, [edx + 1]
dec eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], eax
cmp ecx, dword [edi + 0x34]
mov eax, dword [esp + 0x50]
cmovl ecx, dword [edi + 0x34]
mov dword [esp + 0x20], ecx
cmp ecx, dword [edi + 0x3c]
mov dword [esp + 0x48], eax
cmovg ecx, dword [edi + 0x3c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xffffffff
jne 0x442d21
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x58]
sub ecx, eax
xor eax, eax
test ecx, ecx
cmovs ecx, eax
mov dword [esp + 0x1c], ecx
cmp ecx, dword [edi + 0x30]
cmovl ecx, dword [edi + 0x30]
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0x38]
test eax, eax
js 0x442d47
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [edi + 0x50]
xor edx, edx
mov dword [esp + 0x10], edx
test eax, eax
jne 0x442d5e
mov edx, dword [esp + 0x30]
add edx, dword [esp + 0x48]
jmp 0x442d93
cmp eax, 2
jne 0x442d71
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x58]
mov edx, eax
sub edx, ecx
jmp 0x442d96
cmp eax, 1
jne 0x442d9a
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x58]
sub eax, ecx
sub eax, dword [esp + 0x30]
add eax, dword [esp + 0x3c]
cdq
sub eax, edx
mov edx, eax
sar edx, 1
add edx, dword [esp + 0x30]
lea eax, [edx + ecx]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
sub esp, 0x10
add eax, dword [esp + 0x64]
mov ecx, edi
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
sub dword [esp + 0x20], edx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x64]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov eax, esp
mov dword [esp + 0x70], edx
movups xmm0, xmmword [esp + 0x70]
mov edx, dword [edi]
movups xmmword [eax], xmm0
call dword [edx + 0x20]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
mov eax, dword [ecx + 0x14]
add eax, edi
add eax, edx
add eax, dword [esp + 0x54]
add dword [esp + 0x2c], eax
lea eax, [edi + edx]
add eax, dword [esp + 0x54]
add dword [esp + 0x18], eax
mov eax, dword [ecx + 0x14]
add eax, edi
add eax, edx
sub dword [esp + 0x24], eax
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
cmovg eax, dword [esp + 0x14]
mov edx, eax
mov dword [esp + 0x14], edx
jmp 0x442c56