Function at 0x501250
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 0x5736fd
mov eax, dword fs:[0]
push eax
sub esp, 0x4bc
mov eax, dword [0x5b8250]
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.004fbc70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x430]
call fcn.004fc8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x501327
lea ecx, [ebp - 0x430]
call fcn.004fc8b0
push eax
push 0x104
lea ecx, [ebp - 0x428]
push ecx
call fcn.0041f9a0
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.004fc8b0
push eax
call fcn.00412060
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x430]
call fcn.004fc5b0
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.004fc8b0
push eax
call fcn.0041b690
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.00500eb0
mov ecx, dword [ebp - 0x42c]
call fcn.00500e80
test eax, eax
je 0x501799
mov ecx, dword [ebp - 0x42c]
cmp dword [ecx + 0x89f4], 3
jne 0x50167c
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x208
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.005392b0
add esp, 0xc
call fcn.00418b30
movzx ecx, al
cmp ecx, 2
jl 0x5013f5
lea edx, [ebp - 0x21c]
push edx
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
jmp 0x50140d
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.004fbc70
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.004fbc70
mov byte [ebp - 4], 2
push str.Installerie.ico
lea edx, [ebp - 0x440]
push edx
lea eax, [ebp - 0x458]
push eax
call fcn.00503de0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x440]
call fcn.004fc8b0
push eax
lea ecx, [ebp - 0x430]
call fcn.004fc8b0
push eax
call fcn.00413df0
add esp, 8
mov ecx, dword [ebp - 0x42c]
add ecx, 0x67f0
push ecx
lea ecx, [ebp - 0x434]
call fcn.004fbc70
mov byte [ebp - 4], 4
push 0x57a35c
push 0x594a94
lea ecx, [ebp - 0x434]
call fcn.00504080
lea ecx, [ebp - 0x43c]
call fcn.004fbd50
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.004fd5f0
add esp, 0xc
mov ecx, 2
imul edx, ecx, 0
mov dword [ebp - 0x444], edx
cmp dword [ebp - 0x444], 0x20a
jae 0x501513
jmp 0x501518
call fcn.0053b5c9
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.004fbc70
mov byte [ebp - 4], 6
push 0x57a3c8
lea ecx, [ebp - 0x434]
push ecx
push 0x591538
lea edx, [ebp - 0x468]
push edx
call fcn.004fc8c0
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.00503de0
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.00503f00
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x46c]
call fcn.004fc1a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x468]
call fcn.004fc1a0
lea ecx, [ebp - 0x458]
call fcn.004fc8b0
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x43c]
call fcn.004fc8b0
push eax
lea ecx, [ebp - 0x438]
call fcn.004fc8b0
push eax
lea ecx, [ebp - 0x454]
call fcn.004fc8b0
push eax
call fcn.00412950
add esp, 0x14
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x438]
call fcn.004fc1a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x43c]
call fcn.004fc1a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x434]
call fcn.004fc1a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x458]
call fcn.004fc1a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x454]
call fcn.004fc1a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.004fc1a0
jmp 0x501779
push ecx
mov ecx, esp
mov dword [ebp - 0x48c], esp
lea edx, [ebp - 0x430]
push edx
call fcn.004fbb30
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.005017e0
mov dword [ebp - 0x484], eax
mov byte [ebp - 4], 0xa
push 0x3c
push 0
lea edx, [ebp - 0x4c8]
push edx
call fcn.005392b0
add esp, 0xc
mov dword [ebp - 0x4c8], 0x3c
mov dword [ebp - 0x4c0], 0
lea ecx, [ebp - 0x450]
call fcn.004fc8b0
mov dword [ebp - 0x4bc], eax
lea ecx, [ebp - 0x430]
call fcn.004fc8b0
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x42c]
add eax, 0x85f0
push eax
call fcn.00539af1
add esp, 4
test eax, eax
jbe 0x50173a
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.004fc1a0
push 0x57a308
mov ecx, dword [ebp - 0x44c]
push ecx
mov edx, dword [ebp - 0x44c]
push edx
push 0x10
mov ecx, dword [ebp - 0x42c]
call fcn.00500eb0
mov dword [ebp - 0x474], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x430]
call fcn.004fc1a0
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.0053aa3c
mov esp, ebp
pop ebp
ret