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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x454
mov eax, dword [0x6b278c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x448], ax
push 0x206
push 0
lea ecx, [ebp - 0x446]
push ecx
call fcn.005b4de0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x220], dx
push 0x206
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.005b4de0
add esp, 0xc
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x44c], 1
lea ecx, [ebp - 0x10]
push ecx
push 0x20019
push 0
push 0x6444e8
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x4403aa
push 0x6444f4
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x454]
or edx, 1
mov dword [ebp - 0x454], edx
mov eax, dword [ebp + 8]
jmp 0x4405b7
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
push 0x6444f8
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x4403fa
push 0x644504
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x454]
or edx, 1
mov dword [ebp - 0x454], edx
mov eax, dword [ebp + 8]
jmp 0x4405b7
lea eax, [ebp - 0x234]
push eax
push 0x20019
push 0
push 0x644508
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x44044d
push 0x644524
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x454]
or edx, 1
mov dword [ebp - 0x454], edx
mov eax, dword [ebp + 8]
jmp 0x4405b7
mov dword [ebp - 0x228], 0x104
mov dword [ebp - 8], 1
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x448]
push ecx
lea edx, [ebp - 8]
push edx
push 0
push 0x644528
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x234]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x448]
push eax
call fcn.005b86e0
add esp, 4
mov dword [ebp - 0x224], eax
push 0x64452c
mov ecx, dword [ebp - 0x224]
push ecx
call fcn.0041c6e0
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x4404fa
push 0x644530
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov edx, dword [ebp - 0x454]
or edx, 1
mov dword [ebp - 0x454], edx
mov eax, dword [ebp + 8]
jmp 0x4405b7
mov eax, dword [ebp - 0x450]
add eax, 2
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x224]
mov dword [ebp - 0x238], ecx
push 0x644534
mov edx, dword [ebp - 0x224]
push edx
call fcn.0041c6e0
add esp, 8
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x450], 0
jne 0x440559
push 0x644538
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov eax, dword [ebp - 0x454]
or eax, 1
mov dword [ebp - 0x454], eax
mov eax, dword [ebp + 8]
jmp 0x4405b7
xor ecx, ecx
mov edx, dword [ebp - 0x450]
mov word [edx], cx
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x440596
push 0x64453c
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov ecx, dword [ebp - 0x454]
or ecx, 1
mov dword [ebp - 0x454], ecx
mov eax, dword [ebp + 8]
jmp 0x4405b7
mov edx, dword [ebp - 0x238]
push edx
mov ecx, dword [ebp + 8]
call fcn.0040e4b0
mov eax, dword [ebp - 0x454]
or eax, 1
mov dword [ebp - 0x454], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b4b30
mov esp, ebp
pop ebp
ret