Function at 0x465767
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x880
mov eax, 0x44c66f
call fcn.0043bccd
mov eax, edx
mov dword [ebp - 0x838], eax
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [eax], esi
test byte [0x4a2941], 8
mov dword [ebp - 0x884], eax
mov dword [ebp - 0x888], ebx
je 0x4657aa
push esi
mov edx, 0x40ef38
mov ecx, 0x4a05c0
call fcn.00466513
xor ecx, ecx
call fcn.00464a5c
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x4657c1
mov edx, 0xab8
jmp 0x4657f8
lea eax, [ebp - 0x858]
mov edx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push 0x20019
push ecx
push 0x407210
call fcn.0043fa36
mov edi, eax
test edi, edi
jle 0x4657ec
movzx edi, di
or edi, 0x80070000
mov ecx, dword [ebp + 4]
test edi, edi
jns 0x465808
mov edx, 0xabe
push edi
push 0x409960
call fcn.0045e47c
jmp 0x465f09
call fcn.00464828
mov edx, ebx
mov ecx, eax
call fcn.004654ce
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x46582f
push edi
push 0x409960
mov edx, 0xac4
call fcn.0045e47c
xor eax, eax
mov dword [ebp - 0x878], 0x206
mov word [ebp - 0x16], ax
mov dword [ebp - 0x87c], 2
test edi, edi
js 0x46589e
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x87c]
push eax
push 0x407504
push esi
push dword [ebp - 0x858]
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHGetValueW]
mov edi, eax
test edi, edi
jle 0x465883
movzx edi, di
or edi, 0x80070000
mov ecx, dword [ebp + 4]
test edi, edi
jns 0x465930
push edi
push 0x409960
mov edx, 0xace
call fcn.0045e47c
push 0x208
lea eax, [ebp - 0x424]
mov dword [ebp - 0x864], esi
push esi
push eax
mov dword [ebp - 0x860], esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x104
push eax
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x864]
call fcn.0046496f
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x864]
push dword [ebx + 8]
push dword [ebx + 4]
push 0x7d5
call fcn.004649a0
mov ecx, dword [ebx]
push 0xffffffffffffffff
push eax
push 0x407504
mov esi, dword [ecx + 0x10]
mov ecx, esi
mov dword [ebx + 0xc], eax
call dword [0x4a3670]
mov ecx, ebx
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x864]
call fcn.0043a882
test edi, edi
js 0x465efd
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x854]
call fcn.004234c2
push 0x407cfc
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], 1
call fcn.004234c2
push 0x406ce8
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 2
call fcn.004234c2
push 0x40ec3c
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 3
call fcn.004234c2
push 0x40ec5c
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 4
call fcn.004234c2
lea eax, [ebp - 0x83c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x848]
call fcn.0045fad1
cmp dword [ebp - 0x854], 0
je 0x4659e5
cmp dword [ebp - 0x83c], 0
je 0x4659e5
cmp dword [ebp - 0x84c], 0
je 0x4659e5
cmp dword [ebp - 0x850], 0
je 0x4659e5
cmp dword [ebp - 0x848], 0
jne 0x465a00
mov ecx, dword [ebp + 4]
mov edi, 0x8007000e
push edi
mov esi, 0x409960
mov edx, 0xae7
push esi
call fcn.004649e6
jmp 0x465a05
mov esi, 0x409960
test edi, edi
js 0x465ec1
push 0
lea eax, [ebp - 0x880]
mov edx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push ecx
push 0xf003f
push 0
push ecx
push ecx
push 0x40ec80
call fcn.0043f9ca
mov edi, eax
test edi, edi
jle 0x465a3e
movzx edi, di
or edi, 0x80070000
mov ecx, dword [ebp + 4]
test edi, edi
jns 0x465a56
push edi
push esi
mov edx, 0xaf1
call fcn.0045e47c
jmp 0x465ec1
push dword [ebp - 0x880]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [ebp - 0x838]
xor ecx, ecx
inc ecx
mov dword [eax], ecx
test byte [0x4a2941], 8
je 0x465a86
push ecx
mov edx, 0x40ef38
mov ecx, 0x4a05c0
call fcn.00466513
and dword [ebp - 0x844], 0
lea eax, [ebp - 0x854]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x844]
call fcn.0045fa58
push 0x40e734
lea ecx, [ebp - 0x844]
call fcn.0045faf5
mov edx, dword [ebp - 0x844]
mov ecx, dword [ebp - 0x83c]
push ebx
push dword [ebp - 0x850]
call fcn.00460d2a
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x465b2a
push edi
push esi
mov edx, 0xb03
call fcn.0045e47c
jmp 0x465b2a
mov dword [ebp - 4], 6
mov byte [ebp - 4], 5
push dword [ebp - 0x844]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test edi, edi
js 0x465ec1
mov edx, dword [ebp - 0x858]
lea eax, [ebp - 0x85c]
push eax
push 2
push ecx
push 0x40e3b0
call fcn.0043fa36
mov edi, eax
test edi, edi
jle 0x465b74
movzx edi, di
or edi, 0x80070000
test edi, edi
jns 0x465c19
mov ecx, dword [ebp + 4]
mov edx, 0xb12
push edi
push esi
call fcn.004649e6
xor esi, esi
lea eax, [ebp - 0x62c]
push 0x208
push esi
push eax
mov dword [ebp - 0x86c], esi
mov dword [ebp - 0x868], esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x62c]
push 0x104
push eax
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x86c]
call fcn.0046496f
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x86c]
push dword [ebx + 8]
push dword [ebx + 4]
push 0x7d7
call fcn.004649a0
mov ecx, dword [ebx]
push 0xffffffffffffffff
push eax
push 0x40e3b0
mov esi, dword [ecx + 0x10]
mov ecx, esi
mov dword [ebx + 0xc], eax
call dword [0x4a3670]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x86c]
call fcn.0043a882
mov esi, 0x409960
jmp 0x465c5e
mov edx, dword [ebp - 0x83c]
mov ecx, dword [ebp - 0x85c]
push ebx
push dword [ebp - 0x838]
push dword [ebp - 0x84c]
push dword [ebp - 0x848]
call fcn.0046274a
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x465c52
push edi
push esi
mov edx, 0xb1b
call fcn.0045e47c
push dword [ebp - 0x85c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
and dword [ebp - 0x840], 0
mov byte [ebp - 4], 0xa
test edi, edi
js 0x465dc9
mov eax, dword [ebp - 0x838]
mov dword [eax], 7
test byte [0x4a2941], 8
je 0x465c97
push 7
mov edx, 0x40ef38
mov ecx, 0x4a05c0
call fcn.00466513
mov edx, ebx
lea ecx, [ebp - 0x840]
call fcn.00463fe4
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x465cb7
mov edx, 0xb29
jmp 0x465dc2
mov eax, dword [ebp - 0x838]
push 8
pop ecx
mov dword [eax], ecx
test byte [0x4a2941], cl
je 0x465cda
push ecx
mov edx, 0x40ef38
mov ecx, 0x4a05c0
call fcn.00466513
push dword [ebp - 0x840]
mov edx, dword [ebp - 0x84c]
mov ecx, dword [ebp - 0x83c]
push ebx
call fcn.00462cfd
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x465d05
mov edx, 0xb32
jmp 0x465dc2
mov eax, dword [ebp - 0x838]
mov dword [eax], 9
test byte [0x4a2941], 8
je 0x465d2b
push 9
mov edx, 0x40ef38
mov ecx, 0x4a05c0
call fcn.00466513
mov edx, dword [ebp - 0x840]
mov ecx, ebx
call fcn.004638b4
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x465d48
mov edx, 0xb3b
jmp 0x465dc2
mov eax, dword [ebp - 0x838]
push 0xa
pop ecx
mov dword [eax], ecx
test byte [0x4a2941], 8
je 0x465d6c
push ecx
mov edx, 0x40ef38
mov ecx, 0x4a05c0
call fcn.00466513
mov edx, dword [ebp - 0x840]
mov ecx, ebx
call fcn.00460707
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x465d89
mov edx, 0xb43
jmp 0x465dc2
mov eax, dword [ebp - 0x838]
mov dword [eax], 0xb
test byte [0x4a2941], 8
je 0x465daf
push 0xb
mov edx, 0x40ef38
mov ecx, 0x4a05c0
call fcn.00466513
call fcn.004608f6
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x465dc9
mov edx, 0xb4e
push edi
push esi
call fcn.0045e47c
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x840]
test eax, eax
je 0x465de7
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4a3670]
call esi
test edi, edi
js 0x465ec1
mov eax, dword [ebp - 0x838]
push 0xc
pop ecx
mov dword [eax], ecx
test byte [0x4a2941], 8
je 0x465e13
push ecx
mov edx, 0x40ef38
mov ecx, 0x4a05c0
call fcn.00466513
xor ecx, ecx
inc ecx
call fcn.00464a5c
mov edi, eax
test edi, edi
jns 0x465ec1
mov ecx, dword [ebp + 4]
mov edx, 0xb5b
push edi
push 0x409960
call fcn.004649e6
xor esi, esi
lea eax, [ebp - 0x834]
push 0x208
push esi
push eax
mov dword [ebp - 0x874], esi
mov dword [ebp - 0x870], esi
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x834]
push 0x104
push eax
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
lea eax, [ebp - 0x834]
push eax
lea ecx, [ebp - 0x874]
call fcn.0046496f
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x874]
push dword [ebx + 8]
push dword [ebx + 4]
push 0x7d6
call fcn.004649a0
mov edx, dword [ebx]
push 0xffffffffffffffff
push eax
push 0x4071d4
mov esi, dword [edx + 0x10]
mov ecx, esi
mov dword [ebx + 0xc], eax
call dword [0x4a3670]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x874]
call fcn.0043a882
push dword [ebp - 0x848]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x850]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x84c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x83c]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x854]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
push dword [ebp - 0x858]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
call fcn.0043bc1f
ret 4