Function at 0x5045c0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576e8d
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x5bb250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x42c], ecx
mov eax, dword [ebp - 0x42c]
add eax, 0x125c
push eax
lea ecx, [ebp - 0x430]
call fcn.004fd630
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.004fe860
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x504697
lea ecx, [ebp - 0x430]
call fcn.004fe860
push eax
push 0x104
lea ecx, [ebp - 0x428]
push ecx
call fcn.0041f890
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x42c]
add eax, 0x81f0
push eax
lea ecx, [ebp - 0x428]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
lea edx, [ebp - 0x428]
push edx
lea ecx, [ebp - 0x430]
call fcn.004fe860
push eax
call fcn.00412060
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x430]
call fcn.004fe3e0
mov dword [ebp - 0x460], 0
xor ecx, ecx
mov dword [ebp - 0x45c], ecx
lea edx, [ebp - 0x460]
push edx
lea ecx, [ebp - 0x430]
call fcn.004fe860
push eax
call fcn.0041b570
add esp, 8
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x44c], eax
mov ecx, dword [ebp - 0x45c]
mov dword [ebp - 0x448], ecx
push str.ck_W
mov edx, dword [ebp - 0x44c]
push edx
mov eax, dword [ebp - 0x44c]
push eax
push 9
mov ecx, dword [ebp - 0x42c]
call fcn.00504220
mov ecx, dword [ebp - 0x42c]
call fcn.005041f0
test eax, eax
je 0x504b09
mov ecx, dword [ebp - 0x42c]
cmp dword [ecx + 0x8bf4], 3
jne 0x5049ec
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x208
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.0053ca90
add esp, 0xc
call fcn.00418a10
movzx ecx, al
cmp ecx, 2
jl 0x504765
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x50477d
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x8026
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.hao123JuziBrowser
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x21c]
push edx
lea ecx, [ebp - 0x440]
call fcn.004fd630
mov byte [ebp - 4], 1
push str.hao123Juzi.exe
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x454]
call fcn.004fd630
mov byte [ebp - 4], 2
push str.Installerie.ico
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x458]
push eax
call fcn.00507150
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.004fe860
push eax
lea ecx, [ebp - 0x430]
call fcn.004fe860
push eax
call fcn.00413df0
add esp, 8
mov ecx, dword [ebp - 0x42c]
add ecx, 0x67f0
push ecx
lea ecx, [ebp - 0x434]
call fcn.004fd630
mov byte [ebp - 4], 4
push 0x57d150
push 0x597864
lea ecx, [ebp - 0x434]
call fcn.005073f0
lea ecx, [ebp - 0x43c]
call fcn.004fd710
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x434]
push edx
push str.__class12___procid90682043_o2_hao____param_s
lea eax, [ebp - 0x43c]
push eax
call fcn.004ff780
add esp, 0xc
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x444], edx
cmp dword [ebp - 0x444], 0x20a
jae 0x504883
jmp 0x504888
call fcn.0053bdae
xor eax, eax
mov ecx, dword [ebp - 0x444]
mov word [ebp + ecx - 0x21c], ax
push 0
push 0x10
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x438]
call fcn.004fd630
mov byte [ebp - 4], 6
push 0x57d1b8
lea ecx, [ebp - 0x434]
push ecx
push 0x594348
lea edx, [ebp - 0x468]
push edx
call fcn.004fea20
add esp, 0xc
mov dword [ebp - 0x478], eax
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x470], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x470]
push ecx
lea edx, [ebp - 0x46c]
push edx
call fcn.00507150
add esp, 0xc
mov dword [ebp - 0x464], eax
mov eax, dword [ebp - 0x464]
mov dword [ebp - 0x480], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x480]
push ecx
lea ecx, [ebp - 0x438]
call fcn.00507270
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x46c]
call fcn.004fdf30
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x468]
call fcn.004fdf30
lea ecx, [ebp - 0x458]
call fcn.004fe860
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x43c]
call fcn.004fe860
push eax
lea ecx, [ebp - 0x438]
call fcn.004fe860
push eax
lea ecx, [ebp - 0x454]
call fcn.004fe860
push eax
call fcn.00412950
add esp, 0x14
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x438]
call fcn.004fdf30
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x43c]
call fcn.004fdf30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x434]
call fcn.004fdf30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x458]
call fcn.004fdf30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x454]
call fcn.004fdf30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.004fdf30
jmp 0x504ae9
push ecx
mov ecx, esp
mov dword [ebp - 0x48c], esp
lea edx, [ebp - 0x430]
push edx
call fcn.004fd4f0
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x488], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x450]
push ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x42c]
call fcn.00504b50
mov dword [ebp - 0x484], eax
mov byte [ebp - 4], 0xa
push 0x3c
push 0
lea edx, [ebp - 0x4c8]
push edx
call fcn.0053ca90
add esp, 0xc
mov dword [ebp - 0x4c8], 0x3c
mov dword [ebp - 0x4c0], 0
lea ecx, [ebp - 0x450]
call fcn.004fe860
mov dword [ebp - 0x4bc], eax
lea ecx, [ebp - 0x430]
call fcn.004fe860
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x42c]
add eax, 0x85f0
push eax
call fcn.0053d2d1
add esp, 4
test eax, eax
jbe 0x504aaa
mov ecx, dword [ebp - 0x42c]
add ecx, 0x85f0
mov dword [ebp - 0x4b4], ecx
mov dword [ebp - 0x4ac], 1
mov dword [ebp - 0x4c4], 0x40
lea edx, [ebp - 0x4c8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 0xffffffffffffffff
mov eax, dword [ebp - 0x490]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x450]
call fcn.004fdf30
push 0x57d0fc
mov ecx, dword [ebp - 0x44c]
push ecx
mov edx, dword [ebp - 0x44c]
push edx
push 0x10
mov ecx, dword [ebp - 0x42c]
call fcn.00504220
mov dword [ebp - 0x474], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.004fdf30
mov eax, dword [ebp - 0x474]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e21c
mov esp, ebp
pop ebp
ret