Function at 0x4184f0
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49c179
mov eax, dword fs:[0]
push eax
sub esp, 0x898
mov eax, dword [0x4ce4e0]
xor eax, esp
mov dword [esp + 0x890], eax
push ebx
push esi
push edi
mov eax, dword [0x4ce4e0]
xor eax, esp
push eax
lea eax, [esp + 0x8a8]
mov dword fs:[0], eax
mov ebx, 1
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], bl
jne 0x41856b
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [esp + 0x8b0], 0
call fcn.004122e0
push 0x4a19c0
call fcn.00473c75
add esp, 4
mov dword [esp + 0x8b0], 0xffffffff
lea eax, [esp + 0x40]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.004133a0
lea ecx, [esp + 0x34]
mov dword [esp + 0x8b0], ebx
push 0x4d92f4
push ecx
mov ebx, eax
call fcn.0040b870
add esp, 8
mov byte [esp + 0x8b0], 3
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4185bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x8b0], 4
mov ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x20]
push 0x4acbdc
push edx
call fcn.0040c2b0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
xor esi, esi
add esp, 0xc
mov ecx, section..data
mov dword [esp + 0x3c], esi
call edx
add eax, 0x10
mov dword [esp + 0x20], eax
mov bl, 5
mov byte [esp + 0x8b0], bl
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallAppMgr___serialization_boost__CAAAVCFpInstallAppMgr__XZ_51], 1
jne 0x418641
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallAppMgr___serialization_boost__CAAAVCFpInstallAppMgr__XZ_51], 1
push 0x4a12a0
mov dword [sym.Install.exe__t__1__get_instance___singleton_VCFpInstallAppMgr___serialization_boost__CAAAVCFpInstallAppMgr__XZ_4V__singleton_w], esi
mov dword [0x4d96c4], esi
call fcn.00473c75
add esp, 4
lea eax, [esp + 0x10]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallAppMgr___serialization_boost__CAAAVCFpInstallAppMgr__XZ_4V__singleton_w
call fcn.00406a40
lea edi, [esp + 0x20]
mov byte [esp + 0x8b0], 6
call fcn.00404db0
mov byte [esp + 0x8b0], bl
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418688
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x20]
push str.nostrat.fsp
push esi
call fcn.0047499c
add esp, 8
test eax, eax
je 0x4186a4
cmp dword [esi - 0xc], 0
jne 0x418705
cmp dword [esi - 4], 1
jle 0x4186bb
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x24]
call fcn.004018d0
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x3c]
push edx
push esi
push str.funshionFSP
push str.http:__funshion.com
call dword [sym.imp.WININET.dll_InternetGetCookieW]
test eax, eax
jne 0x418705
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00475e35
add esp, 8
test eax, eax
js 0x418827
cmp eax, dword [esi - 8]
jg 0x418827
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
lea ecx, [esp + 0x20]
call fcn.00401850
push str._startbyinstall
lea ecx, [esp + 0x34]
call fcn.00401ba0
lea edx, [esp + 0x10]
push 0x4a9864
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x8b8], 7
call fcn.0040b920
add esp, 8
mov byte [esp + 0x8b0], 8
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ebx, [esp + 0x38]
call fcn.0040be20
mov byte [esp + 0x8b0], 7
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418771
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x14]
push edx
lea ebx, [esp + 0x3c]
call fcn.0040b870
add esp, 8
lea edi, [esp + 0x1c]
mov byte [esp + 0x8b0], 9
call fcn.00404db0
mov byte [esp + 0x8b0], 7
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4187c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [0x4d90d0], 0
je 0x41899e
cmp dword [0x4d90cc], 0
je 0x41899e
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, str.Fp_Logic.cpp
mov byte [esp + 0x8b0], 0xa
test ecx, 0xffff0000
jne 0x418831
mov edx, ecx
movzx esi, dx
push 0
push esi
call fcn.004015f0
add esp, 8
test eax, eax
je 0x41883f
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.004017b0
jmp 0x41883f
push 0x80070057
call fcn.00401a50
mov ebx, str.Fp_Logic.cpp
lea edi, [esp + 0x14]
call fcn.00401360
mov byte [esp + 0x8b0], 0xb
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.00473d2d
add esp, 8
test eax, eax
jne 0x41885f
or eax, 0xffffffff
jmp 0x418863
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
lea esi, [esp + 0x10]
lea edx, [esp + 0x14]
call fcn.00401340
mov esi, eax
mov byte [esp + 0x8b0], 0xc
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
mov eax, str.CFpLogic::startupFsProcess
mov byte [esp + 0x8b0], 0xd
test eax, 0xffff0000
jne 0x4188c8
mov ecx, eax
movzx edi, cx
push 0
push edi
call fcn.004015f0
add esp, 8
test eax, eax
je 0x4188d6
push edi
push eax
lea ecx, [esp + 0x20]
call fcn.004017b0
jmp 0x4188d6
mov ebx, str.CFpLogic::startupFsProcess
lea edi, [esp + 0x18]
call fcn.00401360
mov byte [esp + 0x8b0], 0xc
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
mov esi, dword [esp + 0x18]
push edx
push 0x345
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.LOG__u:_u__s__s:_u__startupFsProcess_call:_startup_param___s_r_n
push 0xffffffffffffffff
lea ecx, [esp + 0xbc]
push 0x400
push ecx
call fcn.00473c8c
lea eax, [esi - 0x10]
add esp, 0x28
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x418936
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 0xb
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41895e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4d90cc]
test eax, eax
je 0x418976
lea ecx, [esp + 0x9c]
push ecx
push 0x20
call eax
add esp, 8
mov byte [esp + 0x8b0], 7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41899e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
mov dword [esp + 0x24], 0
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov bl, 0xe
mov eax, 1
mov byte [esp + 0x8b0], bl
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], al
jne 0x4189fa
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], eax
mov byte [esp + 0x8b0], 0xf
call fcn.004122e0
push 0x4a19c0
call fcn.00473c75
add esp, 4
mov byte [esp + 0x8b0], bl
lea ecx, [esp + 0x28]
push ecx
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.004133a0
push eax
lea edx, [esp + 0x30]
push edx
mov ebx, str._skin1Default.fskin
mov byte [esp + 0x8b8], 0x10
call fcn.00406650
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x418a3d
test al, 0x10
jne 0x418a3d
mov eax, 1
jmp 0x418a3f
xor eax, eax
test eax, eax
mov eax, dword [esp + 0x2c]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 0xe
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418a8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x418aa0
push 2
push 0x4acd14
lea ecx, [esp + 0x18]
call fcn.00401aa0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
xor ebx, ebx
mov edi, 0x4d92f0
mov byte [esp + 0x8b0], 0x11
call fcn.004094a0
test eax, eax
je 0x418b01
push 2
push 0x4a8194
lea ecx, [esp + 0x20]
call fcn.00401aa0
mov ecx, dword [0x4d92f0]
call fcn.00409800
call fcn.004094a0
test eax, eax
je 0x418b01
push 0x4acd1c
lea ecx, [esp + 0x1c]
call fcn.00401b50
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
xor ebx, ebx
mov edi, 0x4d930c
mov byte [esp + 0x8b0], 0x12
call fcn.004094a0
test eax, eax
je 0x418b62
push 2
push 0x4acd24
lea ecx, [esp + 0x1c]
call fcn.00401aa0
mov ecx, dword [0x4d930c]
call fcn.00409800
call fcn.004094a0
test eax, eax
je 0x418b62
push 0x4acd2c
lea ecx, [esp + 0x18]
call fcn.00401b50
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x44
lea ecx, [esp + 0x58]
push 0
push ecx
call fcn.00478ba0
xor eax, eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x54], 0x44
cmp dword [eax - 4], 1
jle 0x418bb4
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0x20]
call fcn.004018d0
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x58]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call edi
mov esi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x38], esi
test eax, eax
je 0x418be0
push eax
call ebx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x418beb
push eax
call ebx
test esi, esi
jne 0x418c01
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x24], eax
cmp eax, 3
jle 0x418b6e
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
xor ebx, ebx
mov edi, 0x4d92f0
mov byte [esp + 0x8b0], 0x13
call fcn.004094a0
test eax, eax
jne 0x418c4a
push 2
push 0x4acd34
lea ecx, [esp + 0x2c]
call fcn.00401aa0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
mov byte [esp + 0x8b0], 0x14
test esi, esi
je 0x418c7e
push 1
push 0x4aaf68
lea ecx, [esp + 0x30]
call fcn.00401aa0
jmp 0x418c97
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x2c]
push 0x4ad110
push eax
call fcn.0040c2b0
add esp, 0xc
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x2c], eax
mov bl, 0x15
mov byte [esp + 0x8b0], bl
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push esi
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
lea edx, [esp + 0x40]
push str._s__s__s__s__s
push edx
call fcn.0040c2b0
add esp, 0x1c
test byte [0x4d9878], 1
jne 0x418d13
or dword [0x4d9878], 1
mov byte [esp + 0x8b0], 0x16
call fcn.0041d0c0
push 0x4a2030
call fcn.00473c75
add esp, 4
mov byte [esp + 0x8b0], bl
lea eax, [esp + 0x2c]
mov edi, 0x4d979c
call fcn.00404db0
test byte [0x4d9878], 1
jne 0x418d52
or dword [0x4d9878], 1
mov byte [esp + 0x8b0], 0x17
call fcn.0041d0c0
push 0x4a2030
call fcn.00473c75
add esp, 4
mov byte [esp + 0x8b0], bl
mov ecx, 0x4d9788
call fcn.004720d0
mov byte [esp + 0x8b0], 0x14
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418d84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x8b0], 0x13
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418da8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 0x12
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418dd0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 0x11
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418df8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 0xe
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 7
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e48
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 5
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418e98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8b0], 3
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418ec0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x8b0], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418eeb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x8a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x890]
xor ecx, esp
call fcn.004739b2
mov esp, ebp
pop ebp
ret