Function at 0x41fbc0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x5b18b6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x62c930]
xor eax, esp
mov dword [esp + 0x218], eax
push ebp
push esi
push edi
mov eax, dword [0x62c930]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov dword [esp + 0x234], 1
call fcn.005759db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41fc1f
push 0x80004005
call fcn.00401b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x234], 2
call fcn.005759db
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41fc51
push 0x80004005
call fcn.00401b20
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x18]
push ecx
push 0xf003f
mov byte [esp + 0x23c], 3
mov edx, dword [esp + 0x244]
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41fd31
push 0x206
xor edi, edi
lea ecx, [esp + 0x26]
push edi
push ecx
mov word [esp + 0x2c], ax
call fcn.00587fb0
mov eax, dword [esp + 0x24]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
add esp, 0xc
push 0x103
lea edx, [esp + 0x24]
push edx
push edi
push eax
call ebp
test eax, eax
jne 0x41fd31
lea eax, [esp + 0x20]
inc edi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fcd0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401960
mov eax, dword [esp + 0x240]
mov esi, dword [esp + 0x14]
test eax, eax
je 0x41fd1b
cmp dword [esi - 0xc], 0
jl 0x41fd1b
push eax
push esi
call fcn.00584472
add esp, 8
test eax, eax
je 0x41fd1b
sub eax, esi
sar eax, 1
jns 0x41fdff
mov eax, dword [esp + 0x18]
push 0x103
lea edx, [esp + 0x24]
push edx
push edi
push eax
call ebp
test eax, eax
je 0x41fcc6
mov byte [esp + 0x234], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd59
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x234], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fd7d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 0
mov eax, dword [esp + 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fda8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x234], 0xffffffff
mov eax, dword [esp + 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fdd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.005832f8
add esp, 0x228
ret
mov byte [esp + 0x234], 2
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fe27
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x234], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fe4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x234], 0
mov eax, dword [esp + 0x23c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fe76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x234], 0xffffffff
mov eax, dword [esp + 0x240]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fea4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x41fdd8