Function at 0x41bec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x546471
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5ec938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
xor edi, edi
push 0x206
lea edx, [ebp - 0x216]
mov dword [ebp - 0x21c], edi
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], edi
mov word [ebp - 0x218], cx
call fcn.0052c850
add esp, 0xc
push 0x5584d4
lea ecx, [ebp - 0x224]
call fcn.0040b550
push esi
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], edi
call fcn.00404fe0
mov ebx, 1
push 0x5584d4
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], bl
call fcn.0040b550
mov eax, dword [ebp - 0x21c]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths
lea ecx, [ebp - 0x220]
push str._s_s
push ecx
mov byte [ebp - 4], 2
call fcn.00403bf0
mov eax, dword [ebp - 0x220]
add esp, 0x10
lea edx, [ebp - 0x228]
push edx
push ebx
push edi
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c07b
mov dword [ebp - 0x234], 0x208
mov dword [ebp - 0x230], edi
cmp dword [ebp + 0xc], edi
je 0x41bfdd
lea ecx, [ebp - 0x234]
push ecx
mov ecx, dword [ebp - 0x228]
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x230]
push eax
push edi
push str.Path
push ecx
jmp 0x41bfff
lea edx, [ebp - 0x234]
push edx
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
push ecx
push edi
push 0x556794
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, edi
jne 0x41c07b
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41c021
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x224]
call fcn.004026f0
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
push eax
call fcn.004023a0
mov esi, dword [ebp - 0x22c]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
add esp, 4
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x41c0a6
mov esi, dword [ebp - 0x22c]
push 0x5584d4
mov ecx, esi
call fcn.0040b550
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c0b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c0d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41c101
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c2ec
mov esp, ebp
pop ebp
ret 0xc