Function at 0x41c3ba
Capabilities:
Query or enumerate registry key

Disassembly:
push 0x244
mov eax, 0x440994
call fcn.004207e7
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x22c]
push ebx
mov edx, 0x44fa90
mov dword [ebp - 0x224], ebx
call fcn.0041b686
pop ecx
lea ecx, [ebp - 0x224]
push ecx
push 0x20019
push ebx
push dword [eax]
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x22c]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00401745
test esi, esi
je 0x41c41a
xor al, al
jmp 0x41c77d
call fcn.0040133b
push eax
lea ecx, [ebp - 0x22c]
call fcn.00402b5c
push ebx
mov edx, 0x44fb1c
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x220]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x228]
push dword [ebp - 0x224]
push eax
call fcn.0041c204
push eax
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 2
call fcn.0040645f
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x220]
lea ecx, [ecx - 0x10]
call fcn.00401745
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00421f80
mov esi, ebx
mov dword [ebp - 0x228], ebx
add esp, 0xc
cmp dword [edi + 0x34], esi
jbe 0x41c4c4
push esi
lea ecx, [edi + 0x30]
call fcn.0041da9d
mov ecx, dword [eax]
test ecx, ecx
je 0x41c4be
push ecx
call fcn.0041c1b6
inc esi
cmp esi, dword [edi + 0x34]
jb 0x41c4a9
lea ebx, [edi + 0x30]
cmp dword [ebx], 0
je 0x41c4d7
push dword [ebx]
call fcn.0042520a
and dword [ebx], 0
pop ecx
and dword [ebx + 4], 0
lea eax, [ebp - 0x218]
and dword [ebx + 8], 0
push 0x104
push eax
push 0
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov esi, dword [ebp - 0x22c]
jmp 0x41c75f
inc dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c740
push 0x18
call fcn.00420147
pop ecx
mov ecx, eax
mov dword [ebp - 0x230], eax
call fcn.0041c078
push 0
mov edx, 0x44e1a4
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x238]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x234]
push dword [ebp - 0x220]
push eax
call fcn.0041c204
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x21c]
add ecx, 4
push eax
call fcn.0040645f
mov ecx, dword [ebp - 0x234]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x238]
lea ecx, [ecx - 0x10]
call fcn.00401745
push 0
mov edx, 0x44fb40
lea ecx, [ebp - 0x240]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 5
push dword [eax]
lea eax, [ebp - 0x23c]
push dword [ebp - 0x220]
push eax
call fcn.0041c204
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x21c]
add ecx, 8
push eax
mov dword [ebp - 0x230], ecx
call fcn.0040645f
mov ecx, dword [ebp - 0x23c]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x240]
lea ecx, [ecx - 0x10]
call fcn.00401745
push 0
mov edx, 0x44fb4c
lea ecx, [ebp - 0x248]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 7
push dword [eax]
lea eax, [ebp - 0x244]
push dword [ebp - 0x220]
push eax
call fcn.0041c204
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x21c]
push eax
lea ecx, [ecx + 0xc]
call fcn.0040645f
mov ecx, dword [ebp - 0x244]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x248]
lea ecx, [ecx - 0x10]
call fcn.00401745
push 0
mov edx, 0x44fb70
lea ecx, [ebp - 0x250]
call fcn.0041b686
pop ecx
mov byte [ebp - 4], 9
push dword [eax]
lea eax, [ebp - 0x24c]
push dword [ebp - 0x220]
push eax
call fcn.0041c204
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x21c]
push eax
lea ecx, [ecx + 0x10]
call fcn.0040645f
mov ecx, dword [ebp - 0x24c]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x250]
lea ecx, [ecx - 0x10]
call fcn.00401745
mov ecx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
call fcn.00402ac8
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.0042708c
pop ecx
neg eax
pop ecx
mov ecx, dword [ebp - 0x21c]
sbb al, al
add al, 1
mov byte [ecx + 0x14], al
je 0x41c726
lea eax, [ecx + 4]
push eax
lea ecx, [edi + 4]
call fcn.0040645f
push dword [ebp - 0x230]
lea ecx, [edi + 8]
call fcn.0040645f
push dword [ebp - 0x21c]
lea ecx, [edi + 0xc]
call fcn.0040645f
lea eax, [ebp - 0x21c]
mov ecx, ebx
push eax
call fcn.0041da61
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x104
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x228]
push eax
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x41c504
push dword [ebp - 0x224]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esi - 0x10]
call fcn.00401745
mov al, 1
call fcn.00420791
ret