Function at 0x4190bc
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040431c
xor eax, eax
push ebp
push 0x4192ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
mov eax, dword [ebp - 4]
call fcn.0040432c
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4192a4
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
inc dword [ebp - 0x24]
inc dword [ebp - 0x28]
inc dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
call fcn.00402894
mov edi, eax
mov eax, dword [ebp - 0x28]
call fcn.00402894
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
call fcn.00402894
mov dword [ebp - 0x14], eax
xor esi, esi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x24]
mov eax, edi
call fcn.004054b8
jmp 0x4191ab
mov dword [ebp - 0x1c], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, ebx
call fcn.004063d8
inc dword [ebp - 0xc]
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, ebx
call fcn.004063d8
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004063d8
inc esi
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x24]
mov eax, edi
call fcn.004054b8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push edi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
je 0x419166
xor esi, esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.004054b8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.004054b8
jmp 0x41925c
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, ebx
call fcn.004063d8
inc dword [ebp - 0x18]
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, ebx
call fcn.004063d8
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
mov eax, ebx
call fcn.004063d8
inc dword [ebp - 0x20]
lea edx, [ebp - 0x20]
mov ecx, 4
mov eax, ebx
call fcn.004063d8
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov eax, ebx
call fcn.004063d8
inc esi
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
call fcn.004054b8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.004054b8
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegEnumValueA
test eax, eax
je 0x4191ec
mov eax, edi
call fcn.004028c4
mov eax, dword [ebp - 0x10]
call fcn.004028c4
mov eax, dword [ebp - 0x14]
call fcn.004028c4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4192c1
lea eax, [ebp - 4]
call fcn.00403ee8
ret