Function at 0x401bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4063e5
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x40a040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov edx, dword [ebp + 8]
mov dword [ebp - 0x34], edi
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
jbe 0x401c07
mov ecx, dword [edx]
mov edx, ecx
lea eax, [ecx + eax*2]
jmp 0x401c0a
lea eax, [edx + eax*2]
push ecx
push eax
push edx
lea ecx, [ebp - 0x50]
call fcn.00404390
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0xf
jbe 0x401c24
mov eax, dword [eax]
lea ecx, [ebp - 0x30]
push ecx
push 0x20019
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.004042b0
test esi, esi
jne 0x401cb7
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], esi
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
jbe 0x401c68
mov ecx, dword [edx]
mov edx, ecx
lea eax, [ecx + eax*2]
jmp 0x401c6b
lea eax, [edx + eax*2]
push ecx
push eax
push edx
lea ecx, [ebp - 0x50]
call fcn.00404390
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 0xf
jbe 0x401c85
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push 0
push 0
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.004042b0
test esi, esi
je 0x401cc8
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x407309
mov ecx, edi
call fcn.00403d50
jmp 0x401dde
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x401cf9
mov dword [ebp - 0x1c], esi
mov byte [ebp + esi - 0x2c], 0
jmp 0x401d29
cmp esi, 0xf
ja 0x401d17
push esi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [ebp + esi - 0x2c], 0
jmp 0x401d29
push ecx
push esi
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x34]
push esi
call fcn.00404bd0
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
cmova esi, dword [ebp - 0x2c]
cmp dword [edx + 0x14], 7
mov eax, dword [edx + 0x10]
jbe 0x401d49
mov ecx, dword [edx]
mov edx, ecx
lea eax, [ecx + eax*2]
jmp 0x401d4c
lea eax, [edx + eax*2]
push ecx
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00404390
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0xf
jbe 0x401d63
mov eax, dword [eax]
lea ecx, [ebp - 0x14]
push ecx
push esi
push 0
push 0
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
mov esi, eax
call fcn.004042b0
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x401d9f
push 0x407309
mov ecx, edi
call fcn.00403d50
jmp 0x401dd6
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [edi + 0x14], 0
mov byte [ebp - 0x2c], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
call fcn.004042b0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004054eb
mov esp, ebp
pop ebp
ret