Function at 0x444570
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x557dc6
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x5ad6f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], eax
mov dword [ebp - 0x830], edi
mov dword [ebp - 0x82c], edi
mov dword [ebp - 0x828], edi
cmp dword [ebp + 0x14], edi
mov eax, 0x200
mov ebx, 0x100
mov dword [ebp - 4], edi
cmovne eax, ebx
or eax, 0x20019
push eax
push ecx
push edx
lea ecx, [ebp - 0x830]
call fcn.004137c0
mov ebx, dword [ebp - 0x830]
test eax, eax
jne 0x4448df
push 0x800
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.00513d10
add esp, 0xc
mov dword [ebp - 0x818], 0x800
lea eax, [ebp - 0x818]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x814]
push eax
push edi
push dword [ebp - 0x81c]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4448df
mov eax, dword [ebp - 0x814]
cmp eax, 1
je 0x444660
cmp eax, 2
jne 0x4448df
mov ecx, dword [ebp - 0x818]
test ecx, ecx
je 0x444687
test cl, 1
jne 0x4448df
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x444690
jmp 0x4448df
xor eax, eax
mov word [ebp - 0x810], ax
shr ecx, 1
je 0x4448df
call fcn.00406530
mov ecx, eax
test ecx, ecx
je 0x444908
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x818], eax
or ebx, 0xffffffff
mov byte [ebp - 4], 1
test esi, esi
je 0x444808
cmp esi, 0x5645e0
je 0x444808
push esi
lea ecx, [ebp - 0x824]
call fcn.0040f1f0
mov dword [ebp - 0x834], eax
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x838]
call fcn.0040f1f0
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 4
mov ecx, dword [ecx - 0x10]
test ecx, ecx
je 0x444712
mov edx, dword [ecx]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x444728
call fcn.00406530
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x444912
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x820], 1
mov dword [ebp - 0x81c], eax
mov eax, dword [esi]
push 1
push 0x563b18
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x81c]
push eax
call fcn.0041e7b0
add esp, 0x14
mov esi, dword [ebp - 0x81c]
mov byte [ebp - 4], 5
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x444778
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x44478e
call fcn.00406530
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x44491c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x820], 3
mov dword [ebp - 0x814], eax
mov eax, dword [ebp - 0x834]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
push dword [esi - 0xc]
lea eax, [ebp - 0x814]
push esi
push eax
call fcn.0041e7b0
add esp, 0x14
lea eax, [ebp - 0x814]
lea ecx, [ebp - 0x818]
push eax
call fcn.00411b30
lea ecx, [ebp - 0x814]
call fcn.00405f10
lea ecx, [ebp - 0x81c]
call fcn.00405f10
lea ecx, [ebp - 0x838]
call fcn.00405f10
lea ecx, [ebp - 0x824]
call fcn.00405f10
jmp 0x4448a9
call fcn.00406530
mov ecx, eax
test ecx, ecx
je 0x444926
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 6
test eax, 0xffff0000
jne 0x444847
movzx eax, ax
lea ecx, [ebp - 0x814]
push eax
call fcn.004069f0
jmp 0x444872
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444850
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x814]
call fcn.0040adc0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x818]
call fcn.00411b30
mov edx, dword [ebp - 0x814]
mov eax, ebx
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4448a9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x818]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov byte [ebp - 4], 0
mov ecx, 1
cmovne edi, ecx
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4448d9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [ebp - 0x830]
test ebx, ebx
je 0x4448ea
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d684f
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406210
push 0x80004005
call fcn.00406210
push 0x80004005
call fcn.00406210
push 0x80004005
call fcn.00406210
int3