Function at 0x4171b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4b46f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x24], 0
mov eax, dword [0x4e641c]
mov ebp, 1
mov dword [esp + 0x140], ebp
mov dword [esp + 0x18], eax
mov bl, 2
push 0x5c
lea ecx, [esp + 0x150]
mov byte [esp + 0x144], bl
call fcn.00491e93
mov esi, eax
lea ecx, [esp + 0x10]
push esi
push ecx
lea ecx, [esp + 0x154]
call fcn.0048e61f
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 3
call fcn.00491b05
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], bl
call fcn.004919cc
mov edx, dword [esp + 0x14c]
lea ecx, [esp + 0x14c]
mov eax, dword [edx - 8]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0048e5a3
push eax
lea ecx, [esp + 0x150]
mov byte [esp + 0x144], 4
call fcn.00491b05
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], bl
call fcn.004919cc
mov eax, dword [esp + 0x14c]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
jne 0x4172d5
push 0x5c
lea ecx, [esp + 0x150]
call fcn.0048e697
lea ecx, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x154]
call fcn.0048e61f
push eax
lea ecx, [esp + 0x150]
mov byte [esp + 0x144], 5
call fcn.00491b05
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], bl
call fcn.004919cc
mov eax, dword [0x4e641c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x148], 8
call fcn.00491741
mov ecx, edi
call fcn.00417490
push 0x5c
lea ecx, [esp + 0x150]
mov edi, eax
call fcn.0048e697
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x154]
call fcn.0048e61f
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x144], 9
call fcn.00491b05
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 8
call fcn.004919cc
mov ecx, dword [esp + 0x14c]
push 0x5c
mov esi, dword [ecx - 8]
lea ecx, [esp + 0x150]
call fcn.0048e697
sub esi, eax
lea edx, [esp + 0x10]
dec esi
lea ecx, [esp + 0x14c]
push esi
push edx
call fcn.0048e5a3
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x144], 0xa
call fcn.00491b05
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 8
call fcn.004919cc
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push 0x20019
push 0
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4173fd
lea edx, [esp + 0x30]
lea eax, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x48], 0x104
mov dword [esp + 0x40], ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, dword [esp + 0x148]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
call fcn.00491a3a
mov dword [esp + 0x24], ebp
jmp 0x417414
mov esi, dword [esp + 0x148]
push 0x4eb07c
mov ecx, esi
call fcn.00491a3a
mov dword [esp + 0x24], ebp
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 7
call fcn.004919cc
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 6
call fcn.004919cc
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], bl
call fcn.004919cc
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 1
call fcn.004919cc
lea ecx, [esp + 0x14c]
mov byte [esp + 0x140], 0
call fcn.004919cc
mov ecx, dword [esp + 0x138]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x134
ret 8