Function at 0x4197d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48cb80
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x4b91d0]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x4b91d0]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
mov ebx, 1
mov esi, ecx
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], bl
jne 0x41984d
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [esp + 0x858], 0
call fcn.0041d960
push 0x492460
call fcn.00465698
add esp, 4
mov dword [esp + 0x858], 0xffffffff
lea eax, [esp + 0x20]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.0041eb60
mov dword [esp + 0x858], ebx
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, 0x49b2ec
mov byte [esp + 0x860], 2
call fcn.004065d0
lea ecx, [esp + 0x20]
push 0x4c3534
push ecx
mov ebx, eax
mov byte [esp + 0x868], 3
call fcn.00407790
push eax
lea edx, [esp + 0x24]
push edx
mov ebx, str.Default.fskin
mov byte [esp + 0x870], 4
call fcn.004065d0
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4198e3
test al, 0x10
jne 0x4198e3
mov eax, 1
jmp 0x4198e5
xor eax, eax
test eax, eax
mov eax, dword [esp + 0x10]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41990a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x858], 3
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 0x419932
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x858], 2
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 0x41995a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41996e
push 2
push 0x49be48
lea ecx, [esp + 0x3c]
call fcn.00401b20
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, 0x4c3514
mov byte [esp + 0x858], 5
call fcn.00409490
test eax, eax
je 0x4199cd
push 2
push 0x49be48
lea ecx, [esp + 0x20]
call fcn.00401b20
push edi
call fcn.004097f0
add esp, 4
call fcn.00409490
test eax, eax
je 0x4199cd
push 0x49dbb8
lea ecx, [esp + 0x1c]
call fcn.00401bd0
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov edi, 0x4c3538
mov byte [esp + 0x858], 6
call fcn.00409490
test eax, eax
je 0x419a2c
push 2
push 0x49be48
lea ecx, [esp + 0x24]
call fcn.00401b20
push edi
call fcn.004097f0
add esp, 4
call fcn.00409490
test eax, eax
je 0x419a2c
push 0x49dbb8
lea ecx, [esp + 0x20]
call fcn.00401bd0
push esi
lea ecx, [esp + 0x30]
push ecx
call fcn.00419660
lea edx, [esp + 0x24]
push 0x4c3518
push edx
lea ebx, [esp + 0x28]
mov byte [esp + 0x860], 7
call fcn.00407790
add esp, 8
mov byte [esp + 0x858], 8
cmp dword [0x4c3240], 0
je 0x419c79
cmp dword [0x4c323c], 0
je 0x419c79
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, str.Fp_Logic.cpp
mov byte [esp + 0x858], 9
test eax, 0xffff0000
jne 0x419ac2
mov ecx, eax
movzx esi, cx
push 0
push esi
call fcn.00401680
add esp, 8
test eax, eax
je 0x419ad0
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401840
jmp 0x419ad0
mov ebx, str.Fp_Logic.cpp
lea edi, [esp + 0x14]
call fcn.00401430
mov byte [esp + 0x858], 0xa
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.0046576e
add esp, 8
test eax, eax
jne 0x419af0
or esi, 0xffffffff
jmp 0x419af6
sub eax, esi
sar eax, 1
mov esi, eax
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x2c]
push eax
lea ebx, [esp + 0x2c]
call fcn.00407790
add esp, 8
mov dword [esp + 0x40], eax
lea ecx, [esi + 1]
lea esi, [esp + 0x30]
lea edx, [esp + 0x14]
mov byte [esp + 0x858], 0xb
call fcn.004013d0
mov esi, eax
mov byte [esp + 0x858], 0xc
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, str.CFpLogic::startupFsProcess
mov byte [esp + 0x858], 0xd
test ecx, 0xffff0000
jne 0x419b7f
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401680
add esp, 8
test eax, eax
je 0x419b8d
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00401840
jmp 0x419b8d
mov ebx, str.CFpLogic::startupFsProcess
lea edi, [esp + 0x10]
call fcn.00401430
mov eax, dword [esp + 0x40]
mov byte [esp + 0x858], 0xc
mov ecx, dword [eax]
mov edx, dword [esi]
mov esi, dword [esp + 0x10]
push ecx
push 0x36c
push edx
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 eax, [esp + 0x64]
push 0x400
push eax
call fcn.004656cd
lea eax, [esi - 0x10]
add esp, 0x28
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419bec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x858], 0xb
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 0x419c14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x858], 0xa
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 0x419c3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4c323c]
test eax, eax
je 0x419c51
lea ecx, [esp + 0x44]
push ecx
push 0x20
call eax
add esp, 8
mov byte [esp + 0x858], 8
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 0x419c79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x2c], esp
mov ebx, esp
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x419cb2
cmp eax, dword [esi - 0x10]
jne 0x419cb2
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x419cea
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x419dc2
mov eax, dword [esi - 0xc]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00465435
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040b780
mov esi, eax
add esp, 8
mov dword [esp + 0x30], esi
test esi, esi
jne 0x419d18
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 3
jle 0x419c81
push 0x4c353c
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0040b530
add esp, 0xc
lea ecx, [esp + 0x28]
push 0x4c3540
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + 0x860], 0xe
call fcn.00407790
push 0x4c353c
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x86c], 0xf
call fcn.0040b530
add esp, 0x14
mov byte [esp + 0x858], 0x11
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 0x419d8d
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 + 0x10], eax
mov byte [esp + 0x858], 0x12
test esi, esi
je 0x419dc7
push 1
push 0x49bf50
lea ecx, [esp + 0x18]
call fcn.00401b20
jmp 0x419de0
call fcn.0040c490
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push 0x49e1f8
push ecx
call fcn.0040c8a0
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 + 0x14], eax
mov bl, 0x13
mov byte [esp + 0x858], bl
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edi
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push str._s__s__s__s__s__s
push eax
call fcn.0040c8a0
add esp, 0x20
test byte [0x4c3a7c], 1
jne 0x419e61
or dword [0x4c3a7c], 1
mov byte [esp + 0x858], 0x14
call fcn.0042fab0
push 0x492aa0
call fcn.00465698
add esp, 4
mov byte [esp + 0x858], bl
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
push eax
push esi
mov ebx, 0x4c39bc
call fcn.0040c4a0
mov ebx, 1
test byte [0x4c3a7c], bl
jne 0x419ea9
or dword [0x4c3a7c], ebx
mov byte [esp + 0x858], 0x15
call fcn.0042fab0
push 0x492aa0
call fcn.00465698
add esp, 4
mov byte [esp + 0x858], 0x13
mov ecx, 0x4c39b0
call fcn.00463dd0
lea eax, [esi - 0x10]
mov byte [esp + 0x858], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419ed7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x858], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419efb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x858], 0xe
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419f23
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x858], 8
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419f4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x858], 7
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 0x419f73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x858], 6
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 0x419f9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x858], 5
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 0x419fc3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x858], 2
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 0x419feb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x858], bl
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 0x41a012
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x858], 0xffffffff
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 0x41a03d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.004653d5
mov esp, ebp
pop ebp
ret