Function at 0x474d70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b48b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x548
push ebx
push esi
push edi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x10], esp
push 0x655e1c
mov dword [ebp - 4], 0
call fcn.0046e7f0
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x20]
push eax
call fcn.0046e8f0
test eax, eax
je 0x474de7
push 0
push 0
mov ecx, ebx
call fcn.0054a1b0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.0046e870
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x6754d4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x44]
mov byte [ebp - 4], 7
sub eax, 0
je 0x474f03
dec eax
je 0x474ebb
dec eax
je 0x474e70
push 0
push 0
mov ecx, ebx
call fcn.0054a1b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0059ad3d
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0059ad3d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.0059ad3d
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0059ad3d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.0059ad3d
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0059ad3d
jmp 0x474dca
push 0x655e0c
lea ecx, [ebp - 0x14]
call fcn.0059aec6
push 0x655e00
lea ecx, [ebp - 0x24]
call fcn.0059aec6
push 0x655df4
lea ecx, [ebp - 0x1c]
call fcn.0059aec6
push 0x655de4
lea ecx, [ebp - 0x18]
call fcn.0059aec6
push 0x655dd4
lea ecx, [ebp - 0x20]
call fcn.0059aec6
push 0x655dc0
jmp 0x474f49
push 0x65328c
lea ecx, [ebp - 0x14]
call fcn.0059aec6
push 0x655db4
lea ecx, [ebp - 0x24]
call fcn.0059aec6
push 0x655da8
lea ecx, [ebp - 0x1c]
call fcn.0059aec6
push 0x655d98
lea ecx, [ebp - 0x18]
call fcn.0059aec6
push 0x655d8c
lea ecx, [ebp - 0x20]
call fcn.0059aec6
push 0x655d7c
jmp 0x474f49
push 0x653280
lea ecx, [ebp - 0x14]
call fcn.0059aec6
push 0x655d70
lea ecx, [ebp - 0x24]
call fcn.0059aec6
push 0x655d68
lea ecx, [ebp - 0x1c]
call fcn.0059aec6
push 0x655d5c
lea ecx, [ebp - 0x18]
call fcn.0059aec6
push 0x655d50
lea ecx, [ebp - 0x20]
call fcn.0059aec6
push 0x655d40
lea ecx, [ebp - 0x28]
call fcn.0059aec6
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x30]
push ecx
mov ecx, dword [0x67a050]
push edx
push 0
push 0
push eax
push ecx
mov dword [ebp - 0x2c], 4
call esi
test eax, eax
jne 0x474e18
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x474e18
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x148]
lea edx, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x148]
push edx
mov edx, dword [0x67a050]
push eax
push 0
push 0
push ecx
push edx
mov dword [ebp - 0x2c], 0x100
call esi
test eax, eax
jne 0x474e18
lea edi, [ebp - 0x148]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x474e18
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x2c]
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x38], eax
push ecx
mov ecx, dword [0x67a050]
push edx
push eax
mov word [ebp - 0x34], ax
push eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], 0xa
push eax
push ecx
call esi
test eax, eax
jne 0x474e18
lea edx, [ebp - 0x3c]
push edx
call fcn.0057ec83
add esp, 4
mov dword [ebp + 8], eax
test eax, eax
jle 0x474e18
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x248]
mov edx, dword [ebp - 0x18]
rep stosd dword es:[edi], eax
mov ecx, 0x40
lea edi, [ebp - 0x348]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x248]
push eax
mov eax, dword [0x67a050]
push ecx
push 0
push 0
push edx
push eax
mov dword [ebp - 0x2c], 0x100
call esi
lea edi, [ebp - 0x248]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4750bb
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x348]
push ecx
mov ecx, dword [0x67a050]
push edx
push eax
push 0x100
push ecx
call fcn.005502b0
add esp, 0x14
test eax, eax
je 0x4750bb
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x348]
lea eax, [ebp - 0x248]
push edx
push eax
lea edx, [ebp - 0x148]
push ecx
push edx
mov ecx, ebx
call fcn.0054a320
jmp 0x474e23
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x148]
push eax
push ecx
jmp 0x474e1c