Function at 0x52bcf8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x52bd01
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x52c41b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404864
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x52c434
call fcn.00404dd0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00404cec
mov al, byte [0x52c438]
push eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x128]
mov ecx, 0x52c434
mov edx, dword [ebp - 8]
call fcn.00404ad8
mov edx, dword [ebp - 0x128]
xor ecx, ecx
mov eax, dword [ebp - 0xc]
call fcn.0040e3cc
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0xc]
call fcn.00404864
mov eax, dword [ebp - 8]
call fcn.004d14ec
mov ebx, eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404c8c
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne case.0x52bea5.0
mov dword [ebp - 0x18], pe_nt_image_headers32
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.00404864
mov eax, dword [ebp - 0x10]
mov edx, 0x52c444
call fcn.00404bd8
jne 0x52be24
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x52c454
call fcn.0040a2dc
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x52bea5.0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 0x10]
call fcn.00404c8c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne case.0x52bea5.0
lea eax, [ebp - 0x140]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x52c454
call fcn.0040a2dc
mov edx, dword [ebp - 0x140]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x14]
cmp eax, 7
ja case.0x52bea5.0
jmp dword [eax*4 + 0x52beac]
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x120]
mov ecx, pe_nt_image_headers32
call fcn.00404a3c
mov eax, dword [ebp - 0x1c]
call fcn.00404a8c
mov ebx, eax
lea eax, [ebp - 0x1c]
call fcn.004047cc
mov esi, ebx
dec esi
test esi, esi
jl 0x52bf32
inc esi
lea ebx, [ebp - 0x120]
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x144]
xor eax, eax
mov al, byte [ebx]
mov edx, 2
call fcn.00409394
push dword [ebp - 0x144]
push 0x52c464
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404b4c
inc ebx
dec esi
jne 0x52beff
mov eax, dword [ebp - 0x1c]
call fcn.00404a8c
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 1
call fcn.00404d2c
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x52c470
call fcn.0040a2dc
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x52bea5.0
lea eax, [ebp - 0x1c]
call fcn.004047cc
mov esi, dword [ebp - 0x18]
test esi, esi
jl 0x52bfe8
inc esi
lea ebx, [ebp - 0x120]
mov al, byte [ebx]
test al, al
je 0x52bfe4
mov edi, eax
and edi, 0xff
mov eax, edi
and eax, 0xff
lea ecx, [ebp - 0x14c]
mov edx, 2
call fcn.00409394
mov edx, dword [ebp - 0x14c]
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
call fcn.00404ad8
inc ebx
dec esi
jne 0x52bfae
lea eax, [ebp - 0x150]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x52c484
call fcn.0040a2dc
mov edx, dword [ebp - 0x150]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x52bea5.0
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x120]
mov ecx, pe_nt_image_headers32
call fcn.00404a3c
mov ebx, 1
lea eax, [ebp - 0x1c]
call fcn.004047cc
jmp 0x52c124
mov eax, dword [ebp - 0x20]
mov al, byte [eax + ebx - 1]
push eax
call sub.kernel32.dll_IsDBCSLeadByte
test eax, eax
je 0x52c0e9
lea eax, [ebp - 0x15c]
mov edx, dword [ebp - 0x20]
mov dl, byte [edx + ebx - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x15c]
lea eax, [ebp - 0x160]
call fcn.00403058
lea eax, [ebp - 0x164]
mov edx, dword [ebp - 0x20]
mov dl, byte [edx + ebx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x164]
lea eax, [ebp - 0x160]
mov cl, 2
call fcn.00403028
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x158]
call fcn.00404a30
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.004d27f0
mov edx, dword [ebp - 0x154]
lea eax, [ebp - 0x1c]
call fcn.00404a94
inc ebx
jmp 0x52c123
mov eax, dword [ebp - 0x20]
movzx edi, byte [eax + ebx - 1]
push dword [ebp - 0x1c]
mov eax, edi
and eax, 0xff
lea ecx, [ebp - 0x168]
mov edx, 2
call fcn.00409394
push dword [ebp - 0x168]
push 0x52c49c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404b4c
inc ebx
mov eax, dword [ebp - 0x20]
call fcn.00404a8c
cmp ebx, eax
jle 0x52c05c
mov eax, dword [ebp - 0x1c]
call fcn.00404a8c
mov edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 1
call fcn.00404d2c
lea eax, [ebp - 0x16c]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x52c4ac
call fcn.0040a2dc
mov edx, dword [ebp - 0x16c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x52bea5.0
xor ebx, ebx
lea eax, [ebp - 0x1c]
call fcn.004047cc
jmp 0x52c2af
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x52c1c6
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x52c2af
jmp 0x52c1ce
pop edx
pop eax
jle 0x52c2af
cmp byte [ebp + ebx - 0x120], 0
jne 0x52c1e6
cmp byte [ebp + ebx - 0x11f], 0
je 0x52c2d4
mov al, byte [ebp + ebx - 0x120]
push eax
call sub.kernel32.dll_IsDBCSLeadByte
test eax, eax
je 0x52c274
lea eax, [ebp - 0x15c]
mov dl, byte [ebp + ebx - 0x120]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x15c]
lea eax, [ebp - 0x160]
call fcn.00403058
lea eax, [ebp - 0x164]
mov dl, byte [ebp + ebx - 0x11f]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x164]
lea eax, [ebp - 0x160]
mov cl, 2
call fcn.00403028
lea edx, [ebp - 0x160]
lea eax, [ebp - 0x174]
call fcn.00404a30
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
call fcn.004d27f0
mov edx, dword [ebp - 0x170]
lea eax, [ebp - 0x1c]
call fcn.00404a94
inc ebx
jmp 0x52c2ae
movzx edi, byte [ebp + ebx - 0x120]
push dword [ebp - 0x1c]
mov eax, edi
and eax, 0xff
lea ecx, [ebp - 0x178]
mov edx, 2
call fcn.00409394
push dword [ebp - 0x178]
push 0x52c49c
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00404b4c
inc ebx
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 0x18]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x52c2cc
cmp eax, dword [esp]
pop edx
pop eax
jae 0x52c1a9
jmp 0x52c2d4
pop edx
pop eax
jge 0x52c1a9
lea eax, [ebp - 0x1c]
mov edx, 0x52c4c4
call fcn.00404a94
lea eax, [ebp - 0x17c]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x52c4d8
call fcn.0040a2dc
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp case.0x52bea5.0
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x120]
mov ecx, pe_nt_image_headers32
call fcn.00404a3c
mov al, byte [0x52c438]
push eax
lea eax, [ebp - 0x180]
push eax
mov ecx, 0x52c4f0
mov edx, 0x52c434
mov eax, dword [ebp - 0x1c]
call fcn.0040e3cc
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0x1c]
call fcn.00404864
lea eax, [ebp - 0x184]
push eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x138], 0xb
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 0x130], 0xb
lea edx, [ebp - 0x13c]
mov ecx, 1
mov eax, 0x52c4fc
call fcn.0040a2dc
mov edx, dword [ebp - 0x184]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x52c422
lea eax, [ebp - 0x184]
mov edx, 8
call fcn.004047f0
lea eax, [ebp - 0x158]
mov edx, 7
call fcn.004047f0
lea eax, [ebp - 0x12c]
mov edx, 3
call fcn.004047f0
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004047f0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004047f0
ret