Function at 0x41a119
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
push ebx
push esi
push edi
mov eax, 0xc08
call fcn.004086ed
xor edi, edi
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x41a38a
push 0x63
lea esi, [ebp - 0xd0]
pop eax
call fcn.004066cb
push 0x64
lea esi, [ebp - 0x110]
pop eax
call fcn.004066cb
lea eax, [ebp - 0xd0]
mov dword [ebp - 0x28], eax
mov eax, esi
push 8
mov dword [ebp - 0x24], eax
push edi
lea eax, [ebp - 0x20]
push eax
call fcn.004087d0
push 0x65
lea esi, [ebp - 0x70]
pop eax
call fcn.004066cb
push 0x66
lea esi, [ebp - 0x5c]
pop eax
call fcn.004066cb
push 0x67
lea esi, [ebp - 0x34]
pop eax
call fcn.004066cb
push 0x68
lea esi, [ebp - 0x48]
pop eax
call fcn.004066cb
mov dword [ebp - 0x10], edi
mov ebx, 0xff
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x10]
push 8
push edi
push dword [ebp + eax*4 - 0x28]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a35b
push edi
push edi
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x318]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41a352
mov edi, dword [ebp - 0xc]
inc dword [ebp - 0x18]
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x318]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c992
or esi, 0xffffffff
mov dword [ebp - 8], eax
cmp eax, esi
je 0x41a324
test eax, eax
je 0x41a324
push ebx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x318]
push eax
mov eax, dword [ebp - 4]
add edi, 0x1fe
call fcn.0040c992
mov dword [ebp - 8], eax
cmp eax, esi
je 0x41a247
test eax, eax
jne 0x41a26e
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x318]
push eax
mov eax, dword [ebp - 4]
call fcn.0040c992
mov dword [ebp - 8], eax
cmp eax, esi
je 0x41a324
test eax, eax
je 0x41a324
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0
lea ecx, [ebp - 0x318]
push ecx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41a2a6
push ebx
lea eax, [edi + 0x1fe]
push eax
push 0
lea eax, [ebp - 0x48]
push eax
lea esi, [ebp - 0x14]
call fcn.0040ca9b
jmp 0x41a2a8
mov eax, esi
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x41a324
test eax, eax
je 0x41a324
mov eax, dword [ebp - 0xc]
add eax, 0x1fe
lea edi, [eax + 0x1fe]
mov dword [ebp - 0x14], eax
call fcn.0041a0bf
test eax, eax
jle 0x41a324
push 0x36
lea esi, [ebp - 0x90]
pop eax
call fcn.004066cb
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
push esi
add eax, 0x1fe
push eax
lea ecx, [esi + 0x1fe]
push ecx
lea ecx, [ebp - 0x90]
push ecx
mov edx, 0x307
lea edi, [eax + 0x1fe]
call fcn.0040942b
add esp, 0x10
test eax, eax
jle 0x41a324
lea ecx, [esi + 0x5fa]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00408b0e
test al, al
je 0x41a324
inc dword [ebp - 0x1c]
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x318]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 8], 0x104
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41a1f2
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jb 0x41a1a6
push dword [ebp - 0xc]
call fcn.0040871d
cmp dword [ebp - 0x1c], edi
jbe 0x41a382
mov edi, dword [ebp - 0x20]
push 0x69
pop eax
call fcn.00418fa7
jmp 0x41a38a
push dword [ebp - 0x20]
call fcn.0040871d
pop edi
pop esi
pop ebx
leave
ret