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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470800
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x4921d0]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x4921d0]
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 0x416e3d
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [esp + 0x858], 0
call fcn.0041bfe0
push 0x4740d0
call fcn.0044bc2e
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.0041d250
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, 0x47bd18
mov byte [esp + 0x860], 2
call fcn.004060a0
lea ecx, [esp + 0x20]
push 0x498bd0
push ecx
mov ebx, eax
mov byte [esp + 0x868], 3
call fcn.00407390
push eax
lea edx, [esp + 0x24]
push edx
mov ebx, str.Default.fskin
mov byte [esp + 0x870], 4
call fcn.004060a0
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x416ed3
test al, 0x10
jne 0x416ed3
mov eax, 1
jmp 0x416ed5
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 0x416efa
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 0x416f22
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 0x416f4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x416f5e
push 2
push 0x47c9f0
lea ecx, [esp + 0x3c]
call fcn.00401b60
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, 0x498bb0
mov byte [esp + 0x858], 5
call fcn.00409070
test eax, eax
je 0x416fbd
push 2
push 0x47c9f0
lea ecx, [esp + 0x20]
call fcn.00401b60
push edi
call fcn.004093d0
add esp, 4
call fcn.00409070
test eax, eax
je 0x416fbd
push 0x47e760
lea ecx, [esp + 0x1c]
call fcn.00401c10
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, 0x498bd4
mov byte [esp + 0x858], 6
call fcn.00409070
test eax, eax
je 0x41701c
push 2
push 0x47c9f0
lea ecx, [esp + 0x24]
call fcn.00401b60
push edi
call fcn.004093d0
add esp, 4
call fcn.00409070
test eax, eax
je 0x41701c
push 0x47e760
lea ecx, [esp + 0x20]
call fcn.00401c10
push esi
lea ecx, [esp + 0x30]
push ecx
call fcn.00416c50
lea edx, [esp + 0x24]
push 0x498bb4
push edx
lea ebx, [esp + 0x28]
mov byte [esp + 0x860], 7
call fcn.00407390
add esp, 8
mov byte [esp + 0x858], 8
cmp dword [0x4989a0], 0
je 0x417269
cmp dword [0x49899c], 0
je 0x417269
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 0x4170b2
mov ecx, eax
movzx esi, cx
push 0
push esi
call fcn.004016b0
add esp, 8
test eax, eax
je 0x4170c0
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401870
jmp 0x4170c0
mov ebx, str.Fp_Logic.cpp
lea edi, [esp + 0x14]
call fcn.00401420
mov byte [esp + 0x858], 0xa
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.0044bce6
add esp, 8
test eax, eax
jne 0x4170e0
or esi, 0xffffffff
jmp 0x4170e6
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.00407390
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.00401400
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 0x41716f
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.004016b0
add esp, 8
test eax, eax
je 0x41717d
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00401870
jmp 0x41717d
mov ebx, str.CFpLogic::startupFsProcess
lea edi, [esp + 0x10]
call fcn.00401420
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 0x36a
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.0044bc45
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 0x4171dc
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 0x417204
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 0x41722c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x49899c]
test eax, eax
je 0x417241
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 0x417269
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 0x4172a2
cmp eax, dword [esi - 0x10]
jne 0x4172a2
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4172da
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 0x4173b2
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.0044b9cb
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040ade0
mov esi, eax
add esp, 8
mov dword [esp + 0x30], esi
test esi, esi
jne 0x417308
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 3
jle 0x417271
push 0x498bd8
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0040ab90
add esp, 0xc
lea ecx, [esp + 0x28]
push 0x498bdc
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + 0x860], 0xe
call fcn.00407390
push 0x498bd8
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x86c], 0xf
call fcn.0040ab90
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 0x41737d
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 0x4173b7
push 1
push 0x47caf8
lea ecx, [esp + 0x18]
call fcn.00401b60
jmp 0x4173d0
call fcn.00401a20
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push 0x47eda0
push ecx
call fcn.0040b970
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.0040b970
add esp, 0x20
test byte [0x498f7c], 1
jne 0x417451
or dword [0x498f7c], 1
mov byte [esp + 0x858], 0x14
call fcn.0042dc10
push 0x474670
call fcn.0044bc2e
add esp, 4
mov byte [esp + 0x858], bl
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
push eax
push esi
mov ebx, 0x498ec4
call fcn.0040b850
mov ebx, 1
test byte [0x498f7c], bl
jne 0x417499
or dword [0x498f7c], ebx
mov byte [esp + 0x858], 0x15
call fcn.0042dc10
push 0x474670
call fcn.0044bc2e
add esp, 4
mov byte [esp + 0x858], 0x13
mov ecx, 0x498eb8
call fcn.0044a5a0
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 0x4174c7
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 0x4174eb
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 0x417513
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 0x41753b
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 0x417563
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 0x41758b
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 0x4175b3
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 0x4175db
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 0x417602
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 0x41762d
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.0044b96b
mov esp, ebp
pop ebp
ret