Function at 0x41e130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ce78
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x43b050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x43d680], 1
je 0x41e165
xor eax, eax
jmp 0x41e35d
xor eax, eax
jne 0x41e155
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 1
cmp dword [ebp + 8], 0
jne 0x41e186
xor eax, eax
cmp dword [ebp + 8], 0
setne al
jmp 0x41e35d
xor edx, edx
jne 0x41e172
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x41e1a5
mov edx, dword [ebp + 8]
movzx eax, word [edx]
neg eax
sbb eax, eax
neg eax
jmp 0x41e35d
xor eax, eax
jne 0x41e18a
xor ecx, ecx
jne 0x41e172
cmp dword [ebp + 0xc], 0
jne 0x41e1c1
xor eax, eax
cmp dword [ebp + 0xc], 0
setne al
jmp 0x41e35d
xor edx, edx
jne 0x41e1ad
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
jne 0x41e1e0
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
neg eax
sbb eax, eax
neg eax
jmp 0x41e35d
xor eax, eax
jne 0x41e1c5
xor ecx, ecx
jne 0x41e1ad
mov dword [ebp - 0x14], 0
call fcn.0041d850
push eax
lea ecx, [ebp - 0x18]
call fcn.00403e80
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
push 0x433414
mov eax, dword [ebp + 8]
push eax
push 0x433418
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.004042d0
add esp, 0xc
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.004042d0
add esp, 0xc
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x44]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.004042d0
add esp, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.004042d0
add esp, 0xc
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00403f50
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00403f30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00403f30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00403f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00403f30
lea edx, [ebp - 0x14]
push edx
push 1
push 0
lea ecx, [ebp - 0x18]
call fcn.004043c0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x14], 0
jne 0x41e30b
xor eax, eax
cmp dword [ebp - 0x14], 0
setne al
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00403f30
mov eax, dword [ebp - 0x30]
jmp 0x41e35d
xor ecx, ecx
jne 0x41e2e5
mov dword [ebp - 0x10], 4
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push 0x43341c
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x14], 0
je 0x41e344
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00403f30
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret