Function at 0x434830
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5205d2
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x570374]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x424], 1
push 0x52ffb0
lea ecx, [ebp - 0x42c]
call fcn.00405290
mov dword [ebp - 4], 0
mov dword [ebp - 0x438], 4
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x434], 4
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x43c]
push ecx
lea edx, [ebp - 0x438]
push edx
push str.shortcut
push 0x52ffe8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4348d6
cmp dword [ebp - 0x43c], 1
jne 0x4348d6
jmp 0x434b2f
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004a8eb0
add esp, 0xc
mov dword [ebp - 0x438], 1
mov dword [ebp - 0x434], 0x104
lea ecx, [ebp - 0x434]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x438]
push eax
push 0x53000c
push 0x530024
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x43493d
mov dword [ebp - 0x424], 2
jmp 0x434b2f
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405600
push 0x530048
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43497e
mov dword [ebp - 0x424], 2
jmp 0x434b2f
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a8eb0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x420]
push edx
mov eax, dword [0x575cb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x430]
call fcn.00405310
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x440]
call fcn.00405290
mov byte [ebp - 4], 2
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x440]
push eax
call fcn.00429910
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x440]
call fcn.00405480
lea ecx, [ebp - 0x428]
call fcn.00405310
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x444]
call fcn.00405290
mov byte [ebp - 4], 4
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x444]
push eax
call fcn.00429910
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x444]
call fcn.00405480
lea ecx, [ebp - 0x428]
call fcn.004067b0
movzx ecx, al
test ecx, ecx
je 0x434a7f
mov dword [ebp - 0x424], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00405480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.00405480
jmp 0x434b2f
lea ecx, [ebp - 0x430]
call fcn.00405660
push eax
lea ecx, [ebp - 0x428]
call fcn.00405660
push eax
call fcn.0041e840
add esp, 8
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jge 0x434aca
push 0x530068
lea ecx, [ebp - 0x42c]
call fcn.00405600
mov dword [ebp - 0x424], 0xffffffff
jmp 0x434b09
cmp dword [ebp - 0x448], 0
jne 0x434aef
push 0x53006c
lea ecx, [ebp - 0x42c]
call fcn.00405600
mov dword [ebp - 0x424], 0
jmp 0x434b09
mov dword [ebp - 0x424], 1
push 0x530070
lea ecx, [ebp - 0x42c]
call fcn.00405600
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.00405480
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.00405480
xor edx, edx
jne 0x43487c
lea ecx, [ebp - 0x42c]
call fcn.004373e0
push eax
call fcn.004374a0
mov ecx, eax
call fcn.00439fc0
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.00405480
mov eax, dword [ebp - 0x44c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047c5a8
mov esp, ebp
pop ebp
ret