Function at 0x4c8bf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c8
mov eax, dword [0x578750]
xor eax, ebp
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x5c4], ecx
mov ecx, dword [ebp - 0x5c4]
call fcn.004d80ec
mov dword [ebp - 0x274], 0xffff0001
mov dword [ebp - 0x270], 0x23
push 0xa
push 0xa
push 0xff
push 0x32
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
push 0x31
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
mov ecx, dword [ebp - 0x5c4]
add ecx, 0x74
call fcn.004ec357
push 0x136
mov ecx, 0x584fa0
call fcn.004218f0
push eax
mov ecx, dword [ebp - 0x5c4]
add ecx, 0x74
call fcn.004a7a60
push 0x137
mov ecx, 0x584fa0
call fcn.004218f0
push eax
mov ecx, dword [ebp - 0x5c4]
add ecx, 0x74
call fcn.004a7a60
push 0x138
mov ecx, 0x584fa0
call fcn.004218f0
push eax
mov ecx, dword [ebp - 0x5c4]
add ecx, 0x74
call fcn.004a7a60
push 0
mov eax, dword [ebp - 0x5c4]
add eax, 0x74
push eax
mov ecx, dword [ebp - 0x5c4]
add ecx, 0xd0
call fcn.004ca120
push 0x554464
mov ecx, dword [ebp - 0x5c4]
add ecx, 0x124
call fcn.00402b30
mov dword [ebp - 0x280], 0x100
mov dword [ebp - 0x27c], 1
push 0x100
push 0
lea ecx, [ebp - 0x5a8]
push ecx
call fcn.00504b10
add esp, 0xc
lea edx, [ebp - 0x5ac]
push edx
lea eax, [ebp - 0x4a4]
push eax
push 0
push 0xf003f
push 0
push 0x554468
push 0
push 0x554470
push reloc.TranslateMemoryCJ.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0x5a8]
push edx
lea eax, [ebp - 0x27c]
push eax
push 0
push 0x5544d0
mov ecx, dword [ebp - 0x4a4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4c8e13
mov edx, dword [ebp - 0x4a4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x5ac]
push eax
lea ecx, [ebp - 0x4a4]
push ecx
push 0
push 0x20019
push 0
push 0x5544e4
push 0
push 0x5544e8
push reloc.TranslateMemoryCJ.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea edx, [ebp - 0x280]
push edx
lea eax, [ebp - 0x5a8]
push eax
lea ecx, [ebp - 0x27c]
push ecx
push 0
push 0x554548
mov edx, dword [ebp - 0x4a4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4c8dd8
mov byte [ebp - 0x5a8], 0
jmp 0x4c8e1b
mov eax, dword [ebp - 0x4a4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x5ac]
push ecx
lea edx, [ebp - 0x4a4]
push edx
push 0
push 0xf003f
push 0
push 0x55455c
push 0
push 0x554560
push reloc.TranslateMemoryCJ.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor eax, eax
jne 0x4c8d08
mov ecx, dword [ebp - 0x4a4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx edx, byte [ebp - 0x5a8]
test edx, edx
je 0x4c8e54
lea eax, [ebp - 0x5a8]
push eax
push 0x5545c0
mov ecx, dword [ebp - 0x5c4]
add ecx, 0x124
push ecx
call fcn.004024e0
add esp, 0xc
mov dword [ebp - 0x5b0], 1
jmp 0x4c8e6f
mov edx, dword [ebp - 0x5b0]
add edx, 5
mov dword [ebp - 0x5b0], edx
mov ecx, dword [ebp - 0x5c4]
add ecx, 0x124
call fcn.00401c40
cmp dword [ebp - 0x5b0], eax
jge 0x4c8fce
push 4
mov eax, dword [ebp - 0x5b0]
push eax
lea ecx, [ebp - 0x5c0]
push ecx
mov ecx, dword [ebp - 0x5c4]
add ecx, 0x124
call fcn.00467840
mov dword [ebp - 0x5c8], eax
mov edx, dword [ebp - 0x5c8]
mov eax, dword [edx]
push eax
push 0x5545c8
lea ecx, [ebp - 0x4a0]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x5c0]
call fcn.004d61e0
mov dword [ebp - 0x5b4], 0
jmp 0x4c8ef7
mov edx, dword [ebp - 0x5b4]
add edx, 1
mov dword [ebp - 0x5b4], edx
mov eax, dword [ebp - 0x5b4]
shl eax, 4
cmp dword [eax + 0x576da8], 0
jne 0x4c8f0e
jmp 0x4c8fb2
push 4
mov ecx, dword [ebp - 0x5b4]
shl ecx, 4
mov edx, dword [ecx + 0x576da8]
push edx
lea eax, [ebp - 0x4a0]
push eax
call fcn.0050774a
add esp, 0xc
test eax, eax
jne 0x4c8fad
mov ecx, dword [ebp - 0x5b4]
shl ecx, 4
mov edx, dword [ecx + 0x576db0]
push edx
call fcn.00504c07
add esp, 4
test eax, eax
jbe 0x4c8f86
mov eax, dword [ebp - 0x5b4]
shl eax, 4
mov ecx, dword [eax + 0x576db0]
push ecx
mov edx, dword [ebp - 0x5b4]
shl edx, 4
mov eax, dword [edx + 0x576dac]
push eax
push 0x5545d0
lea ecx, [ebp - 0x480]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x4c8fab
mov edx, dword [ebp - 0x5b4]
shl edx, 4
mov eax, dword [edx + 0x576dac]
push eax
push 0x5545dc
lea ecx, [ebp - 0x480]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x4c8fb2
jmp 0x4c8ee8
lea edx, [ebp - 0x480]
push edx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x5c4]
add ecx, 0x7c
call fcn.004ca0c0
jmp 0x4c8e60
mov dword [ebp - 0x2c], 0xffff0000
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0x63
mov dword [ebp - 0x5b8], 0
jmp 0x4c9005
mov eax, dword [ebp - 0x5b8]
add eax, 1
mov dword [ebp - 0x5b8], eax
mov ecx, dword [ebp - 0x5b8]
shl ecx, 4
cmp dword [ecx + 0x576da8], 0
jne 0x4c901c
jmp 0x4c91dc
mov dword [ebp - 0x5bc], 1
jmp 0x4c9037
mov edx, dword [ebp - 0x5bc]
add edx, 1
mov dword [ebp - 0x5bc], edx
mov eax, dword [ebp - 0x5b8]
shl eax, 4
mov ecx, dword [ebp - 0x5bc]
mov edx, dword [eax + ecx*4 + 0x576da8]
movzx eax, word [edx]
test eax, eax
jne 0x4c9056
jmp 0x4c9058
jmp 0x4c9028
mov ecx, dword [ebp - 0x5bc]
sub ecx, 1
mov dword [ebp - 0x5bc], ecx
mov dword [ebp - 0x258], 0
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x5bc]
jge 0x4c908d
mov eax, dword [ebp - 0x258]
add eax, 1
mov dword [ebp - 0x258], eax
jmp 0x4c90fc
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x5bc]
jl 0x4c90fc
mov edx, dword [ebp - 0x5b8]
shl edx, 4
mov eax, dword [edx + 0x576da8]
push eax
push str.__s_
lea ecx, [ebp - 0x238]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
lea edx, [ebp - 0x238]
push edx
mov ecx, dword [ebp - 0x5c4]
add ecx, 0x124
call fcn.0042e190
test eax, eax
jl 0x4c90f5
mov eax, dword [ebp - 0x5bc]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x258]
add ecx, 1
mov dword [ebp - 0x258], ecx
jmp 0x4c90fc
mov dword [ebp - 0x30], 0x63
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x5b8]
shl eax, 4
mov ecx, dword [ebp - 0x5bc]
mov edx, dword [eax + ecx*4 + 0x576da8]
push edx
push 0x5545f0
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
mov ecx, dword [ebp - 0x5bc]
mov edx, dword [ebp + ecx*4 - 0x30]
mov dword [ebp - 0x278], edx
mov eax, dword [ebp - 0x5bc]
mov ecx, dword [ebp + eax*4 - 0x2c]
mov dword [ebp - 0x274], ecx
lea edx, [ebp - 0x238]
mov dword [ebp - 0x260], edx
lea eax, [ebp - 0x278]
push eax
mov ecx, dword [ebp - 0x5c4]
add ecx, 0xd0
call fcn.004ca0f0
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x5b8]
shl ecx, 4
mov edx, dword [ecx + 0x576da8]
push edx
call fcn.00509cc1
add esp, 4
push eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x5c4]
add ecx, 0xd0
call fcn.004ca220
push 1
push 0
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x5c4]
call fcn.004c91f0
mov edx, dword [ebp - 0x5bc]
mov eax, dword [ebp - 4]
mov dword [ebp + edx*4 - 0x2c], eax
mov ecx, dword [ebp - 0x5bc]
mov dword [ebp + ecx*4 - 0x28], 0
jmp 0x4c8ff6
mov eax, 1
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.00504a55
mov esp, ebp
pop ebp
ret