Function at 0x443d60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57299e
mov eax, dword fs:[0]
push eax
sub esp, 0x45c
mov eax, dword [0x5bda40]
xor eax, ebp
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x454], ecx
mov dword [ebp - 0x450], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004103b0
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x444], esp
push 0x598254
call fcn.00406900
mov dword [ebp - 0x458], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x448], esp
lea edx, [ebp + 0xc]
push edx
call fcn.004068e0
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 1
call fcn.00420db0
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00410540
cmp eax, 4
je 0x443e4b
push 0x598258
mov ecx, dword [ebp + 8]
call fcn.00406900
mov ecx, dword [ebp - 0x450]
or ecx, 1
mov dword [ebp - 0x450], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x44406c
push 0
lea ecx, [ebp - 0x28]
call fcn.00410560
push ecx
mov ecx, esp
mov dword [ebp - 0x44c], esp
push eax
call fcn.004068e0
mov dword [ebp - 0x464], eax
call fcn.0043a360
add esp, 4
mov dword [ebp - 0x468], eax
mov edx, dword [ebp - 0x468]
mov dword [ebp - 0x2c], edx
cmp dword [ebp - 0x2c], 0
jne 0x443ec6
push 0x59825c
mov ecx, dword [ebp + 8]
call fcn.00406900
mov eax, dword [ebp - 0x450]
or eax, 1
mov dword [ebp - 0x450], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x44406c
lea ecx, [ebp - 0x10]
push ecx
push 1
lea ecx, [ebp - 0x28]
call fcn.00410560
mov ecx, eax
call fcn.004072e0
push eax
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x444028
xor eax, eax
mov word [ebp - 0x43c], ax
push 0x3fe
push 0
lea ecx, [ebp - 0x43a]
push ecx
call fcn.0053f680
add esp, 0xc
mov dword [ebp - 0x34], 0x400
push 3
lea ecx, [ebp - 0x28]
call fcn.00410560
mov ecx, eax
call fcn.004072e0
push eax
call fcn.0053a651
add esp, 4
mov dword [ebp - 0x30], eax
push 2
lea ecx, [ebp - 0x28]
call fcn.00410560
push eax
lea ecx, [ebp - 0x38]
call fcn.004068e0
mov byte [ebp - 4], 3
push 0x598260
lea edx, [ebp - 0x38]
push edx
call fcn.0042beb0
add esp, 8
movzx eax, al
test eax, eax
je 0x443f6d
push 0x598264
lea ecx, [ebp - 0x38]
call fcn.004069a0
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x30]
push eax
push 0
lea ecx, [ebp - 0x38]
call fcn.004072e0
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44401c
lea ecx, [ebp - 0x440]
call fcn.00410610
mov byte [ebp - 4], 4
lea edx, [ebp - 0x43c]
push edx
push 0x598268
lea eax, [ebp - 0x440]
push eax
call fcn.004089d0
add esp, 0xc
lea ecx, [ebp - 0x440]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004068e0
mov edx, dword [ebp - 0x450]
or edx, 1
mov dword [ebp - 0x450], edx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.004072c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004072c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
jmp 0x44406c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004072c0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x598270
mov ecx, dword [ebp + 8]
call fcn.00406900
mov ecx, dword [ebp - 0x450]
or ecx, 1
mov dword [ebp - 0x450], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00410520
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004072c0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x3c]
xor ecx, ebp
call fcn.00538a54
mov esp, ebp
pop ebp
ret 8