Function at 0x42c3e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5178ec
mov eax, dword fs:[0]
push eax
sub esp, 0x628
mov eax, dword [0x5746cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x42c424
push edi
call fcn.0042d280
mov ecx, eax
call fcn.00422400
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004a3360
add esp, 0xc
mov dword [ebp - 0x634], 1
lea eax, [ebp - 0x630]
mov dword [ebp - 0x630], 0x104
push eax
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x634]
push eax
push 0x52bfd4
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x42c547
call fcn.0042d280
mov ecx, eax
call fcn.00421ca0
push eax
call fcn.0041d260
mov ecx, eax
call fcn.00418b90
push str.bizhi
call fcn.0041d260
mov ecx, eax
call fcn.00418c50
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a3360
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x577df0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.0041d260
mov ecx, eax
call fcn.00418b00
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x62c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.exist_wp
mov dword [ebp - 4], 0
call fcn.0041d260
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00418740
test esi, esi
je 0x42c753
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x42c753
push str.exist
push eax
push esi
call fcn.004bec98
add esp, 0xc
jmp 0x42c753
call fcn.0042d280
mov ecx, eax
call fcn.00423610
test eax, eax
jne 0x42c634
push 1
call fcn.0041e890
add esp, 4
test eax, eax
jne 0x42c634
call fcn.0042d280
mov ecx, eax
call fcn.00421ca0
push eax
call fcn.0041d260
mov ecx, eax
call fcn.00418b90
push str.bizhi
call fcn.0041d260
mov ecx, eax
call fcn.00418c50
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a3360
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x577df0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call fcn.0041d260
mov ecx, eax
call fcn.00418b00
sub esp, 0x28
mov eax, esp
mov dword [ebp - 0x62c], esp
mov dword [eax + 0x24], 0
push 0
push 0
push str.giveup
mov dword [ebp - 4], 1
call fcn.0041d260
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00418740
test esi, esi
je 0x42c753
mov eax, dword [ebp + 0x10]
test eax, eax
jle 0x42c753
push str.giveup
push eax
push esi
call fcn.004bec98
add esp, 0xc
jmp 0x42c753
cmp dword [0x577eb0], 0
jne 0x42c753
push 0xa
push edi
push 0
push dword [0x577df0]
mov dword [0x577eb0], 1
call fcn.0042e760
test esi, esi
je 0x42c753
mov edi, dword [ebp + 0x10]
test edi, edi
jle 0x42c753
call fcn.0042d280
mov ecx, eax
call fcn.00421ca0
push eax
call fcn.0041d260
mov ecx, eax
call fcn.00418b90
push str.bizhi
call fcn.0041d260
mov ecx, eax
call fcn.00418c50
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004a3360
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x577df0]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
call fcn.0041d260
mov ecx, eax
call fcn.00418b00
cmp dword [0x5732f4], 0
jne 0x42c712
push 0x5305ec
push edi
push esi
call fcn.004bec98
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x62c], esp
mov dword [eax + 0x24], 0
push 0
push 0
mov dword [ebp - 4], 2
push 0x5305ec
jmp 0x42c740
push str.fail
push edi
push esi
call fcn.004bec98
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x62c], esp
mov dword [eax + 0x24], 0
push 0
push 0
mov dword [ebp - 4], 3
push str.fail
call fcn.0041d260
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00418740
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004864b8
mov esp, ebp
pop ebp
ret 0xc