Function at 0x40ee00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e5c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x74], 0x200
push 0x461a90
call fcn.0040e160
add esp, 4
push ecx
mov eax, esp
mov dword [ebp - 0x94], esp
mov dword [ebp - 0x28], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x98], esp
push str.03000200_0400_0500_0006_000700080009
call fcn.00402f80
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0x9c], eax
lea edx, [ebp - 0x64]
push edx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
or ecx, 1
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x30]
call fcn.00404cc0
push eax
push 0x461a90
call fcn.0042e524
add esp, 8
test eax, eax
je 0x40f021
push ecx
mov edx, esp
mov dword [ebp - 0xa0], esp
mov dword [ebp - 0x34], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xa4], esp
push str.12345678_1234_5678_90AB_CDDEEFAABBCC
call fcn.00402f80
mov eax, dword [ebp - 0x34]
push eax
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xa8], eax
lea ecx, [ebp - 0x60]
push ecx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
or eax, 2
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x3c]
call fcn.00404cc0
push eax
push 0x461a90
call fcn.0042e524
add esp, 8
test eax, eax
je 0x40f021
push ecx
mov ecx, esp
mov dword [ebp - 0xac], esp
mov dword [ebp - 0x40], ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb0], esp
push str.00000000_0000_0000_0000_000000000000
call fcn.00402f80
mov edx, dword [ebp - 0x40]
push edx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 2
mov edx, dword [ebp - 0x10]
or edx, 4
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x48]
call fcn.00404cc0
push eax
push 0x461a90
call fcn.0042e524
add esp, 8
test eax, eax
je 0x40f021
push ecx
mov eax, esp
mov dword [ebp - 0xb8], esp
mov dword [ebp - 0x4c], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xbc], esp
push str.FFFFFFFF_FFFF_FFFF_FFFF_FFFFFFFFFFFF
call fcn.00402f80
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xc0], eax
lea edx, [ebp - 0x58]
push edx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x10]
or ecx, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x54]
call fcn.00404cc0
push eax
push 0x461a90
call fcn.0042e524
add esp, 8
test eax, eax
je 0x40f021
push 0x461a90
call fcn.0042de92
add esp, 4
cmp eax, 0x24
jne 0x40f021
mov dword [ebp - 0x18], 0
jmp 0x40f028
mov dword [ebp - 0x18], 1
mov dl, byte [ebp - 0x18]
mov byte [ebp - 0x11], dl
mov eax, dword [ebp - 0x10]
and eax, 8
je 0x40f042
and dword [ebp - 0x10], 0xfffffff7
lea ecx, [ebp - 0x58]
call fcn.004037d0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
and ecx, 4
je 0x40f05d
and dword [ebp - 0x10], 0xfffffffb
lea ecx, [ebp - 0x5c]
call fcn.004037d0
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x10]
and edx, 2
je 0x40f078
and dword [ebp - 0x10], 0xfffffffd
lea ecx, [ebp - 0x60]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
and eax, 1
je 0x40f093
and dword [ebp - 0x10], 0xfffffffe
lea ecx, [ebp - 0x64]
call fcn.004037d0
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
je 0x40f250
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push str.SOFTWAREMicrosoftCryptography
call fcn.00402f80
lea edx, [ebp - 0x24]
push edx
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xc8], eax
mov dword [ebp - 4], 3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xcc], esp
push str.MachineGuid
call fcn.00402f80
lea eax, [ebp - 0x20]
push eax
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xd0], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
push ecx
push 0x101
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
lea edx, [ebp - 0x24]
push edx
call fcn.00409260
lea eax, [ebp - 0x70]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x6c]
call fcn.00404cc0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x70]
call fcn.004037d0
lea edx, [ebp - 0x74]
push edx
lea eax, [ebp - 0x2e8]
push eax
lea ecx, [ebp - 0xd8]
push ecx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xdc], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00409260
lea eax, [ebp - 0x80]
push eax
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0x7c]
call fcn.00404cc0
push eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [ebp - 0x80]
call fcn.004037d0
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x2e8]
push ecx
call fcn.0042e781
add esp, 4
push eax
push ecx
mov edx, esp
mov dword [ebp - 0xe0], esp
mov dword [ebp - 0x84], edx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xe4], esp
push str._wsX
call fcn.00402f80
mov eax, dword [ebp - 0x84]
push eax
call fcn.00407800
add esp, 0x1c
mov dword [ebp - 0xe8], eax
lea ecx, [ebp - 0x90]
push ecx
call fcn.004075a0
add esp, 8
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0x8c]
call fcn.00404cc0
push eax
push 0x461a90
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x90]
call fcn.004037d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.004037d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004037d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret