Function at 0x48062250
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4806700c]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x54
mov dword [ebp - 0x22c], 2
mov dword [ebp - 0x224], 3
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x230], 1
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 8
ja case.0x480622ce.4
mov ecx, dword [ebp - 0x244]
jmp dword [ecx*4 + 0x480624fc]
mov dword [ebp - 0x228], 0x48061108
jmp case.0x480622ce.4
mov dword [ebp - 0x228], 0x48061108
jmp case.0x480622ce.4
mov dword [ebp - 0x228], 0x48061108
jmp case.0x480622ce.4
mov dword [ebp - 0x228], 0x480610fc
jmp case.0x480622ce.4
mov dword [ebp - 0x228], 0x48061110
jmp case.0x480622ce.4
mov dword [ebp - 0x228], 0x48061108
cmp dword [ebp - 0x228], 0
jne 0x48062340
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.48061c50
jmp 0x480624eb
push 0x480611a0
push 0x208
lea edx, [ebp - 0x220]
push edx
call fcn.48061b20
mov eax, dword [ebp - 0x228]
push eax
push 0x208
lea ecx, [ebp - 0x220]
push ecx
call fcn.48062130
cmp dword [ebp + 0x14], 0
jne 0x48062383
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x480624eb
cmp dword [ebp + 0xc], 0
je 0x48062393
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
test eax, eax
jne 0x4806239a
mov dword [ebp + 0xc], 0x48061118
jmp 0x480623a5
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x238], 0
jne 0x4806247e
cmp dword [ebp - 0xc], 2
jae 0x4806247e
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x230]
push eax
push 0
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x48062433
mov dword [ebp - 0x23c], 0x50
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x22c], 0
jne 0x48062433
mov dword [ebp - 0x238], 1
cmp dword [ebp - 0x22c], 2
jne 0x48062479
mov edx, dword [ebp - 0x230]
mov dword [ebp - 0x240], edx
lea eax, [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x230]
push ecx
call fcn.48064fe0
mov edx, dword [ebp - 0x230]
cmp edx, dword [ebp - 0x240]
jne 0x4806246d
jmp 0x4806247e
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x230], eax
jmp 0x4806239c
cmp dword [ebp - 0x238], 0
jne 0x480624cf
cmp dword [ebp + 0x10], 0
jne 0x480624cf
cmp dword [ebp - 0x22c], 2
jne 0x480624be
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.48064d60
test eax, eax
je 0x480624be
mov edx, dword [ebp + 0xc]
push edx
push 0x11
mov eax, dword [ebp + 0x14]
push eax
call fcn.48061ae0
mov dword [ebp - 0x238], 1
jmp 0x480624cf
mov ecx, dword [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x480624eb
cmp dword [ebp - 0x238], 0
jne 0x480624e5
mov edx, dword [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.48065788
mov esp, ebp
pop ebp
ret 0x10