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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523092
mov eax, dword fs:[0]
push eax
sub esp, 0x440
mov eax, dword [0x572374]
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 0x532fe0
lea ecx, [ebp - 0x42c]
call fcn.004052c0
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 0x533018
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x434a06
cmp dword [ebp - 0x43c], 1
jne 0x434a06
jmp 0x434c5f
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.004a9b50
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 0x53303c
push 0x533054
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x434a6d
mov dword [ebp - 0x424], 2
jmp 0x434c5f
lea ecx, [ebp - 0x218]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405630
push 0x533078
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 0x434aae
mov dword [ebp - 0x424], 2
jmp 0x434c5f
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.004a9b50
add esp, 0xc
push 0x104
lea edx, [ebp - 0x420]
push edx
mov eax, dword [0x577cb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x430]
call fcn.00405340
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x440]
call fcn.004052c0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x440]
push eax
call fcn.00429950
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x440]
call fcn.004054b0
lea ecx, [ebp - 0x428]
call fcn.00405340
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x444]
call fcn.004052c0
mov byte [ebp - 4], 4
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x444]
push eax
call fcn.00429950
add esp, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x444]
call fcn.004054b0
lea ecx, [ebp - 0x428]
call fcn.004067e0
movzx ecx, al
test ecx, ecx
je 0x434baf
mov dword [ebp - 0x424], 2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.004054b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.004054b0
jmp 0x434c5f
lea ecx, [ebp - 0x430]
call fcn.00405690
push eax
lea ecx, [ebp - 0x428]
call fcn.00405690
push eax
call fcn.0041e860
add esp, 8
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jge 0x434bfa
push 0x533098
lea ecx, [ebp - 0x42c]
call fcn.00405630
mov dword [ebp - 0x424], 0xffffffff
jmp 0x434c39
cmp dword [ebp - 0x448], 0
jne 0x434c1f
push 0x53309c
lea ecx, [ebp - 0x42c]
call fcn.00405630
mov dword [ebp - 0x424], 0
jmp 0x434c39
mov dword [ebp - 0x424], 1
push 0x5330a0
lea ecx, [ebp - 0x42c]
call fcn.00405630
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x428]
call fcn.004054b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.004054b0
xor edx, edx
jne 0x4349ac
lea ecx, [ebp - 0x42c]
call fcn.00437510
push eax
call fcn.004375d0
mov ecx, eax
call fcn.0043a110
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x44c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call fcn.004054b0
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.0047d268
mov esp, ebp
pop ebp
ret