Function at 0x45f634
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2f8
mov eax, dword [0x4ea00c]
xor eax, esp
mov dword [esp + 0x2f4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [esp + 0x2c], eax
push 0x208
lea eax, [esp + 0xf4]
mov dword [esp + 0x20], edi
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0xf0]
push 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0xf0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [esp + 0x10], 0x930fb03a
mov edx, 0xa164aed8
mov dword [esp + 0x14], 0x33c8ec4
mov esi, 0xdb1bc560
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], 0x935207a5
mov dword [esp + 0x14], 0xe420d212
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x10], 0x593b18bf
mov dword [esp + 0x14], 0xa0205839
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x10], 0x937fb051
mov dword [esp + 0x14], 0x34c8eab
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x933e07c6
mov dword [esp + 0x14], 0xe40ed266
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x595718db
mov dword [esp + 0xb8], eax
mov dword [esp + 0x14], 0xa0205855
mov eax, dword [esp + 0x10]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc0], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movaps xmm1, xmmword [esp + 0x30]
pxor xmm1, xmmword [esp + 0xb0]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x30]
movaps xmmword [esp + 0x30], xmm1
movaps xmm1, xmmword [esp + 0x40]
push eax
mov dword [esp + 0xd0], ecx
lea eax, [esp + 0xf4]
pxor xmm1, xmmword [esp + 0xc4]
push eax
movaps xmmword [esp + 0x48], xmm1
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0xf0]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
pop ecx
pop ecx
test eax, eax
je 0x45fc98
mov dword [esp + 0x10], 0x9330b002
mov esi, 0xf570b9cc
mov dword [esp + 0x14], 0x3188eed
mov edx, 0x7e2730cc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x10], 0x937f0791
mov dword [esp + 0x14], 0xe44bd234
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x10], 0x593c1887
mov dword [esp + 0x14], 0xa04e583c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x10], 0xa117aebf
mov dword [esp + 0x14], 0xdb7dc50f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x10], 0xb7c039e1
mov dword [esp + 0x14], 0x165e87cc
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ecx
mov dword [esp + 0x10], 0xd1c48e69
mov dword [esp + 0x14], 0x9e9d833d
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
mov dword [esp + 0x10], 0xa9f5bba2
mov dword [esp + 0x14], 0xee87b65f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0x10], 0x937fb051
mov dword [esp + 0x14], 0x34c8eab
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x933e07c6
mov dword [esp + 0x14], 0xe40ed266
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x595718db
mov dword [esp + 0x14], 0xa0205855
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0xa164aed8
mov dword [esp + 0x14], 0xdb1bc560
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0xb79c3995
mov dword [esp + 0x14], 0x16178787
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
mov dword [esp + 0x10], 0xd1878e3a
mov dword [esp + 0x14], 0x9ef08352
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0xa99abbcf
mov dword [esp + 0x14], 0xee87b631
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xe0], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xe4], ecx
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movaps xmm1, xmmword [esp + 0x70]
pxor xmm1, xmmword [esp + 0xb0]
movaps xmmword [esp + 0x70], xmm1
movaps xmm1, xmmword [esp + 0x80]
pxor xmm1, xmmword [esp + 0xc0]
movaps xmmword [esp + 0x80], xmm1
movaps xmm1, xmmword [esp + 0x90]
pxor xmm1, xmmword [esp + 0xd0]
movaps xmmword [esp + 0x90], xmm1
movaps xmm1, xmmword [esp + 0xa0]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0x70]
mov dword [esp + 0xec], ecx
lea ecx, [esp + 0x28]
pxor xmm1, xmmword [esp + 0xe0]
push eax
movaps xmmword [esp + 0xa4], xmm1
call fcn.0040d6dc
lea ecx, [esp + 0x1c]
push ecx
push dword [eax]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ecx, dword [esp + 0x28]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.0040bb70
test esi, esi
jne 0x45fcb5
lea eax, [esp + 0x24]
mov dword [esp + 0x20], edi
push eax
lea eax, [esp + 0xf4]
mov dword [esp + 0x28], 0x206
push eax
lea eax, [esp + 0x28]
push eax
push edi
push str.ProgramPath
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45fcb5
cmp dword [esp + 0x20], 1
jne 0x45fcb5
mov eax, dword [esp + 0x24]
and eax, 0xfffffffe
cmp eax, 0x208
jae 0x45fcde
xor ecx, ecx
mov edx, 0xa164aed8
mov word [esp + eax + 0xf0], cx
mov esi, 0xdb1bc560
mov dword [esp + 0x10], 0x930fb03a
mov dword [esp + 0x14], 0x33c8ec4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x10], 0x935207a5
mov dword [esp + 0x14], 0xe420d212
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x10], 0x593b18bf
mov dword [esp + 0x14], 0xa0205839
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x10], 0x937fb051
mov dword [esp + 0x14], 0x34c8eab
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x933e07c6
mov dword [esp + 0x14], 0xe40ed266
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], 0x595718db
mov dword [esp + 0xb8], eax
mov dword [esp + 0x14], 0xa0205855
mov eax, dword [esp + 0x10]
mov dword [esp + 0xbc], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc0], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
movaps xmm1, xmmword [esp + 0x50]
pxor xmm1, xmmword [esp + 0xb0]
mov dword [esp + 0xc8], eax
lea eax, [esp + 0x50]
movaps xmmword [esp + 0x50], xmm1
movaps xmm1, xmmword [esp + 0x60]
push eax
mov dword [esp + 0xd0], ecx
lea eax, [esp + 0xf4]
pxor xmm1, xmmword [esp + 0xc4]
push eax
movaps xmmword [esp + 0x68], xmm1
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0xf0]
push edi
push eax
call dword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__waccess]
pop ecx
pop ecx
test eax, eax
jne 0x45fcb5
lea eax, [esp + 0xf0]
push eax
push 0x104
push dword [esp + 0x34]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xor edi, edi
add esp, 0xc
inc edi
cmp dword [esp + 0x1c], 0
je 0x45fcc6
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2fc]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004a439a
mov esp, ebp
pop ebp
ret 4
call fcn.004a4b1f
int3