Function at 0x5fdd14
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b9a8
xor eax, eax
push ebp
push 0x5fdf65
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.0040b8b4
mov eax, dword [ebp - 0xc]
call fcn.0040b8b4
mov eax, 0x80000002
call fcn.005fd8d8
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x5fdf39
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x24]
call fcn.004f6d90
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
call fcn.004f6eec
test al, al
je 0x5fdf21
mov dl, 1
mov eax, dword [0x48d820]
call fcn.004b9700
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x48d820]
call fcn.004b9700
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x5fdf1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
call fcn.004f746c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5fdef2
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
push dword [ebp - 4]
push 0x5fdf80
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.0040cb14
mov edx, dword [ebp - 0x2c]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
call fcn.004f6eec
test al, al
je 0x5fdee6
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
call fcn.004f76e0
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5fdecb
inc esi
xor ebx, ebx
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
lea ecx, [ebp - 0x34]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
call fcn.0040c824
push eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
cmp dword [ebp - 0x20], 8
jne 0x5fdec7
push dword [ebp - 4]
push 0x5fdf80
lea ecx, [ebp - 0x38]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
push dword [ebp - 0x38]
mov eax, dword [ebp - 8]
mov edx, 3
call fcn.0040cb14
lea ecx, [ebp - 0x3c]
mov edx, ebx
mov eax, dword [ebp - 0x18]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0040bca4
jmp 0x5fdecb
inc ebx
dec esi
jne 0x5fde53
mov eax, dword [ebp - 0x24]
call fcn.004f6d60
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0042f3b4
cmp dword [ebp - 0x40], 0
jne 0x5fdef2
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x5fddfb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fdf21
mov eax, dword [ebp - 0x14]
call fcn.004099cc
mov eax, dword [ebp - 0x18]
call fcn.004099cc
mov eax, dword [ebp - 0x24]
call fcn.004f6d60
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5fdf40
mov eax, dword [ebp - 0x24]
call fcn.004099cc
pop eax
jmp eax