Function at 0x41e4db
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.0042c055
xor edi, edi
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x41e761
lea esi, [ebp - 0xd0]
mov eax, 0xba
call fcn.0041755d
lea esi, [ebp - 0x110]
mov eax, 0xbb
call fcn.0041755d
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.0042c138
lea esi, [ebp - 0x70]
mov eax, 0xbc
call fcn.0041755d
lea esi, [ebp - 0x5c]
mov eax, 0xbd
call fcn.0041755d
lea esi, [ebp - 0x34]
mov eax, 0xbe
call fcn.0041755d
lea esi, [ebp - 0x48]
mov eax, 0xbf
call fcn.0041755d
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 reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41e72b
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 0x41e722
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.00431931
or esi, 0xffffffff
mov dword [ebp - 8], eax
cmp eax, esi
je 0x41e6f4
test eax, eax
je 0x41e6f4
push ebx
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x318]
push eax
mov eax, dword [ebp - 4]
add edi, 0x1fe
call fcn.00431931
mov dword [ebp - 8], eax
cmp eax, esi
je 0x41e615
test eax, eax
jne 0x41e63c
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x318]
push eax
mov eax, dword [ebp - 4]
call fcn.00431931
mov dword [ebp - 8], eax
cmp eax, esi
je 0x41e6f4
test eax, eax
je 0x41e6f4
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 0x41e674
push ebx
lea eax, [edi + 0x1fe]
push eax
push 0
lea eax, [ebp - 0x48]
push eax
lea esi, [ebp - 0x14]
call fcn.00431a59
jmp 0x41e676
mov eax, esi
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x41e6f4
test eax, eax
je 0x41e6f4
mov eax, dword [ebp - 0xc]
add eax, 0x1fe
lea edi, [eax + 0x1fe]
mov dword [ebp - 0x14], eax
call fcn.0041e481
test eax, eax
jle 0x41e6f4
lea esi, [ebp - 0x90]
mov eax, 0x8d
call fcn.0041755d
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.0042cebe
add esp, 0x10
test eax, eax
jle 0x41e6f4
lea ecx, [esi + 0x5fa]
push ecx
lea ecx, [ebp - 0x20]
call fcn.0042c479
test al, al
je 0x41e6f4
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 0x41e5c0
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 2
jb 0x41e574
push dword [ebp - 0xc]
call fcn.0042c085
cmp dword [ebp - 0x1c], edi
jbe 0x41e759
mov edi, dword [ebp - 0x20]
push 0xcb
mov eax, 0xc0
call fcn.0041c3f0
jmp 0x41e761
push dword [ebp - 0x20]
call fcn.0042c085
pop edi
pop esi
pop ebx
leave
ret