Function at 0x4178c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b116
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x4690f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x15c], 0
mov dword [ebp - 4], 0
mov eax, dword [0x46c730]
test al, 1
jne 0x41793a
or eax, 1
mov dword [0x46c730], eax
push ecx
push 0x459d58
push 0x4e
push ecx
mov ecx, 0x46c684
mov byte [ebp - 4], 1
call fcn.00418740
push 0x44f0e0
call fcn.0042fb26
add esp, 4
mov byte [ebp - 4], 0
mov edx, dword [0x46c688]
xor eax, eax
mov dword [ebp - 0x12c], 7
mov dword [ebp - 0x130], 0
mov word [ebp - 0x140], ax
cmp word [edx], ax
jne 0x417966
xor ecx, ecx
jmp 0x41797f
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x417970
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417970
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x140]
call fcn.004015d0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x12c], 8
lea ecx, [ebp - 0x15c]
push ecx
push 1
lea eax, [ebp - 0x140]
cmovae eax, dword [ebp - 0x140]
push 0
push eax
push dword [edi + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x417b02
push 0xfe
push eax
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x10e]
push eax
call fcn.00431bc0
mov eax, dword [0x46c648]
add esp, 0xc
mov dword [ebp - 0x160], 0x100
test al, 1
jne 0x417a20
or eax, 1
mov dword [0x46c648], eax
push ecx
push 0x459da8
push 7
push ecx
mov ecx, 0x46c6b8
mov byte [ebp - 4], 3
call fcn.00418740
push 0x44f100
call fcn.0042fb26
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp - 0x160]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push dword [0x46c6bc]
push dword [ebp - 0x15c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417b02
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x158]
call fcn.00401360
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x128]
push eax
mov byte [ebp - 4], 4
call fcn.00417cb0
mov ebx, eax
lea esi, [edi + 0x28]
cmp esi, ebx
je 0x417aa9
cmp dword [esi + 0x14], 8
jb 0x417a8e
push dword [esi]
call fcn.0042f2d8
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push ebx
mov ecx, esi
mov word [esi], ax
call fcn.00402530
cmp dword [ebp - 0x114], 8
jb 0x417ac0
push dword [ebp - 0x128]
call fcn.0042f2d8
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x144], 8
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
jb 0x417af8
push dword [ebp - 0x158]
call fcn.0042f2d8
add esp, 4
cmp dword [edi + 0x38], 0
ja 0x417c2c
mov eax, dword [0x46c64c]
test al, 1
jne 0x417b3b
or eax, 1
mov dword [0x46c64c], eax
push ecx
push str.3__
push 5
push ecx
mov ecx, 0x46c88c
mov byte [ebp - 4], 5
call fcn.00418740
push 0x44f120
call fcn.0042fb26
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [0x46c890]
xor eax, eax
mov dword [ebp - 0x114], 7
mov dword [ebp - 0x118], 0
mov word [ebp - 0x128], ax
cmp word [edx], ax
jne 0x417b67
xor ecx, ecx
jmp 0x417b7f
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x417b70
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x128]
call fcn.004015d0
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x158]
push eax
mov byte [ebp - 4], 6
call fcn.00417cb0
mov ebx, eax
lea esi, [edi + 0x28]
cmp esi, ebx
je 0x417bd7
cmp dword [esi + 0x14], 8
jb 0x417bbc
push dword [esi]
call fcn.0042f2d8
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
push ebx
mov ecx, esi
mov word [esi], ax
call fcn.00402530
cmp dword [ebp - 0x144], 8
jb 0x417bee
push dword [ebp - 0x158]
call fcn.0042f2d8
add esp, 4
xor eax, eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x114], 8
mov dword [ebp - 0x144], 7
mov dword [ebp - 0x148], 0
mov word [ebp - 0x158], ax
jb 0x417c26
push dword [ebp - 0x128]
call fcn.0042f2d8
add esp, 4
cmp dword [edi + 0x38], 0
jbe 0x417c39
push esi
call fcn.004183d0
mov dword [edi + 0x24], eax
mov bl, 1
jmp 0x417c42
mov dword [edi + 0x24], 2
xor bl, bl
cmp dword [ebp - 0x12c], 8
jb 0x417c59
push dword [ebp - 0x140]
call fcn.0042f2d8
add esp, 4
mov ecx, dword [ebp - 0x15c]
xor eax, eax
mov dword [ebp - 0x12c], 7
mov dword [ebp - 0x130], 0
mov word [ebp - 0x140], ax
test ecx, ecx
je 0x417c87
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042f2dd
mov esp, ebp
pop ebp
ret