Function at 0x419ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517e5a
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x559410]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x70], 0
cmp dword [ebp + 0x24], 8
lea edx, [ebp - 0x74]
push edx
push 0x20019
lea eax, [ebp + 0x10]
mov dword [ebp - 4], 3
cmovae eax, dword [ebp + 0x10]
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x419f16
lea eax, [ebp + 0x40]
mov ecx, edi
push eax
call fcn.0041b700
jmp 0x41a05a
sub esp, 0x18
mov eax, esp
mov dword [eax], 0x523e70
lea ecx, [ebp - 0x74]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x48]
mov dword [eax + 0x10], eax
mov byte [ebp - 4], 3
call fcn.0041b7c0
cmp dword [ebp + 0x3c], 8
lea ecx, [ebp - 0x7c]
push ecx
push 0
lea ecx, [ebp - 0x78]
push ecx
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push 0
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a03c
cmp dword [ebp - 0x78], 1
jne 0x41a03c
mov esi, dword [ebp - 0x7c]
add esi, 2
push esi
call fcn.004552ce
push esi
push 0
push eax
mov dword [ebp - 0x6c], eax
call fcn.00455160
sub esp, 8
mov eax, esp
mov dword [eax], 0x523e8c
lea ecx, [ebp - 0x6c]
mov dword [eax + 4], ecx
lea ecx, [ebp - 0x68]
mov dword [eax + 0x10], eax
mov byte [ebp - 4], 5
call fcn.0041b7c0
cmp dword [ebp + 0x3c], 8
lea ecx, [ebp - 0x7c]
push ecx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x78]
push ecx
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push 0
push eax
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41a030
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.004217c0
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.0041b700
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x70], 1
call fcn.004193d0
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.0041b8f0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.0041b8f0
lea ecx, [ebp + 0x10]
call fcn.004193d0
lea ecx, [ebp + 0x28]
call fcn.004193d0
lea ecx, [ebp + 0x40]
call fcn.004193d0
jmp 0x41a0ad
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.0041b8f0
lea eax, [ebp + 0x40]
mov ecx, edi
push eax
call fcn.0041b700
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x70], 1
mov byte [ebp - 4], 3
call fcn.0041b8f0
cmp dword [ebp + 0x24], 8
jb 0x41a06b
push dword [ebp + 0x10]
call fcn.00406890
add esp, 4
xor eax, eax
mov dword [ebp + 0x24], 7
cmp dword [ebp + 0x3c], 8
mov dword [ebp + 0x20], eax
mov word [ebp + 0x10], ax
jb 0x41a08c
push dword [ebp + 0x28]
call fcn.00406890
add esp, 4
xor eax, eax
mov dword [ebp + 0x3c], 7
cmp dword [ebp + 0x54], 8
mov dword [ebp + 0x38], eax
mov word [ebp + 0x28], ax
jb 0x41a0ad
push dword [ebp + 0x40]
call fcn.00406890
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c72
mov esp, ebp
pop ebp
ret