Function at 0x435767
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x880
mov eax, 0x41c66f
call fcn.0040bccd
mov eax, edx
mov dword [ebp - 0x838], eax
mov ebx, dword [ebp + 8]
xor esi, esi
mov dword [eax], esi
test byte [0x472941], 8
mov dword [ebp - 0x884], eax
mov dword [ebp - 0x888], ebx
je 0x4357aa
push esi
mov edx, 0x3def38
mov ecx, 0x4705c0
call fcn.00436513
xor ecx, ecx
call fcn.00434a5c
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x4357c1
mov edx, 0xab8
jmp 0x4357f8
lea eax, [ebp - 0x858]
mov edx, 0x80000002
push eax
push 0x20019
push ecx
push 0x3d7210
call fcn.0040fa36
mov edi, eax
test edi, edi
jle 0x4357ec
movzx edi, di
or edi, 0x80070000
mov ecx, dword [ebp + 4]
test edi, edi
jns 0x435808
mov edx, 0xabe
push edi
push 0x3d9960
call fcn.0042e47c
jmp 0x435f09
call fcn.00434828
mov edx, ebx
mov ecx, eax
call fcn.004354ce
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x43582f
push edi
push 0x3d9960
mov edx, 0xac4
call fcn.0042e47c
xor eax, eax
mov dword [ebp - 0x878], 0x206
mov word [ebp - 0x16], ax
mov dword [ebp - 0x87c], 2
test edi, edi
js 0x43589e
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x87c]
push eax
push 0x3d7504
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 0x435883
movzx edi, di
or edi, 0x80070000
mov ecx, dword [ebp + 4]
test edi, edi
jns 0x435930
push edi
push 0x3d9960
mov edx, 0xace
call fcn.0042e47c
push 0x208
lea eax, [ebp - 0x424]
mov dword [ebp - 0x864], esi
push esi
push eax
mov dword [ebp - 0x860], esi
call fcn.0040cfd6
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.0043496f
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x864]
push dword [ebx + 8]
push dword [ebx + 4]
push 0x7d5
call fcn.004349a0
mov ecx, dword [ebx]
push 0xffffffffffffffff
push eax
push 0x3d7504
mov esi, dword [ecx + 0x10]
mov ecx, esi
mov dword [ebx + 0xc], eax
call dword [0x473670]
mov ecx, ebx
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x864]
call fcn.0040a882
test edi, edi
js 0x435efd
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.003f34c2
push 0x3d7cfc
lea ecx, [ebp - 0x83c]
mov dword [ebp - 4], 1
call fcn.003f34c2
push 0x3d6ce8
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], 2
call fcn.003f34c2
push 0x3dec3c
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], 3
call fcn.003f34c2
push 0x3dec5c
lea ecx, [ebp - 0x848]
mov byte [ebp - 4], 4
call fcn.003f34c2
lea eax, [ebp - 0x83c]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x848]
call fcn.0042fad1
cmp dword [ebp - 0x854], 0
je 0x4359e5
cmp dword [ebp - 0x83c], 0
je 0x4359e5
cmp dword [ebp - 0x84c], 0
je 0x4359e5
cmp dword [ebp - 0x850], 0
je 0x4359e5
cmp dword [ebp - 0x848], 0
jne 0x435a00
mov ecx, dword [ebp + 4]
mov edi, 0x8007000e
push edi
mov esi, 0x3d9960
mov edx, 0xae7
push esi
call fcn.004349e6
jmp 0x435a05
mov esi, 0x3d9960
test edi, edi
js 0x435ec1
push 0
lea eax, [ebp - 0x880]
mov edx, 0x80000002
push eax
push ecx
push 0xf003f
push 0
push ecx
push ecx
push 0x3dec80
call fcn.0040f9ca
mov edi, eax
test edi, edi
jle 0x435a3e
movzx edi, di
or edi, 0x80070000
mov ecx, dword [ebp + 4]
test edi, edi
jns 0x435a56
push edi
push esi
mov edx, 0xaf1
call fcn.0042e47c
jmp 0x435ec1
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 [0x472941], 8
je 0x435a86
push ecx
mov edx, 0x3def38
mov ecx, 0x4705c0
call fcn.00436513
and dword [ebp - 0x844], 0
lea eax, [ebp - 0x854]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x844]
call fcn.0042fa58
push 0x3de734
lea ecx, [ebp - 0x844]
call fcn.0042faf5
mov edx, dword [ebp - 0x844]
mov ecx, dword [ebp - 0x83c]
push ebx
push dword [ebp - 0x850]
call fcn.00430d2a
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x435b2a
push edi
push esi
mov edx, 0xb03
call fcn.0042e47c
jmp 0x435b2a
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 0x435ec1
mov edx, dword [ebp - 0x858]
lea eax, [ebp - 0x85c]
push eax
push 2
push ecx
push 0x3de3b0
call fcn.0040fa36
mov edi, eax
test edi, edi
jle 0x435b74
movzx edi, di
or edi, 0x80070000
test edi, edi
jns 0x435c19
mov ecx, dword [ebp + 4]
mov edx, 0xb12
push edi
push esi
call fcn.004349e6
xor esi, esi
lea eax, [ebp - 0x62c]
push 0x208
push esi
push eax
mov dword [ebp - 0x86c], esi
mov dword [ebp - 0x868], esi
call fcn.0040cfd6
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.0043496f
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x86c]
push dword [ebx + 8]
push dword [ebx + 4]
push 0x7d7
call fcn.004349a0
mov ecx, dword [ebx]
push 0xffffffffffffffff
push eax
push 0x3de3b0
mov esi, dword [ecx + 0x10]
mov ecx, esi
mov dword [ebx + 0xc], eax
call dword [0x473670]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x86c]
call fcn.0040a882
mov esi, 0x3d9960
jmp 0x435c5e
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.0043274a
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x435c52
push edi
push esi
mov edx, 0xb1b
call fcn.0042e47c
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 0x435dc9
mov eax, dword [ebp - 0x838]
mov dword [eax], 7
test byte [0x472941], 8
je 0x435c97
push 7
mov edx, 0x3def38
mov ecx, 0x4705c0
call fcn.00436513
mov edx, ebx
lea ecx, [ebp - 0x840]
call fcn.00433fe4
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x435cb7
mov edx, 0xb29
jmp 0x435dc2
mov eax, dword [ebp - 0x838]
push 8
pop ecx
mov dword [eax], ecx
test byte [0x472941], cl
je 0x435cda
push ecx
mov edx, 0x3def38
mov ecx, 0x4705c0
call fcn.00436513
push dword [ebp - 0x840]
mov edx, dword [ebp - 0x84c]
mov ecx, dword [ebp - 0x83c]
push ebx
call fcn.00432cfd
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x435d05
mov edx, 0xb32
jmp 0x435dc2
mov eax, dword [ebp - 0x838]
mov dword [eax], 9
test byte [0x472941], 8
je 0x435d2b
push 9
mov edx, 0x3def38
mov ecx, 0x4705c0
call fcn.00436513
mov edx, dword [ebp - 0x840]
mov ecx, ebx
call fcn.004338b4
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x435d48
mov edx, 0xb3b
jmp 0x435dc2
mov eax, dword [ebp - 0x838]
push 0xa
pop ecx
mov dword [eax], ecx
test byte [0x472941], 8
je 0x435d6c
push ecx
mov edx, 0x3def38
mov ecx, 0x4705c0
call fcn.00436513
mov edx, dword [ebp - 0x840]
mov ecx, ebx
call fcn.00430707
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x435d89
mov edx, 0xb43
jmp 0x435dc2
mov eax, dword [ebp - 0x838]
mov dword [eax], 0xb
test byte [0x472941], 8
je 0x435daf
push 0xb
mov edx, 0x3def38
mov ecx, 0x4705c0
call fcn.00436513
call fcn.004308f6
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x435dc9
mov edx, 0xb4e
push edi
push esi
call fcn.0042e47c
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x840]
test eax, eax
je 0x435de7
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x473670]
call esi
test edi, edi
js 0x435ec1
mov eax, dword [ebp - 0x838]
push 0xc
pop ecx
mov dword [eax], ecx
test byte [0x472941], 8
je 0x435e13
push ecx
mov edx, 0x3def38
mov ecx, 0x4705c0
call fcn.00436513
xor ecx, ecx
inc ecx
call fcn.00434a5c
mov edi, eax
test edi, edi
jns 0x435ec1
mov ecx, dword [ebp + 4]
mov edx, 0xb5b
push edi
push 0x3d9960
call fcn.004349e6
xor esi, esi
lea eax, [ebp - 0x834]
push 0x208
push esi
push eax
mov dword [ebp - 0x874], esi
mov dword [ebp - 0x870], esi
call fcn.0040cfd6
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.0043496f
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x874]
push dword [ebx + 8]
push dword [ebx + 4]
push 0x7d6
call fcn.004349a0
mov edx, dword [ebx]
push 0xffffffffffffffff
push eax
push 0x3d71d4
mov esi, dword [edx + 0x10]
mov ecx, esi
mov dword [ebx + 0xc], eax
call dword [0x473670]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x874]
call fcn.0040a882
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.0040bc1f
ret 4