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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48fb00
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x4bf1d0]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x4bf1d0]
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 0x41a0bd
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [esp + 0x858], 0
call fcn.00413510
push 0x494b40
call fcn.004685be
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.00414730
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, 0x49ce40
mov byte [esp + 0x860], 2
call fcn.00406650
lea ecx, [esp + 0x20]
push 0x4c9b6c
push ecx
mov ebx, eax
mov byte [esp + 0x868], 3
call fcn.00407c40
push eax
lea edx, [esp + 0x24]
push edx
mov ebx, str.Default.fskin
mov byte [esp + 0x870], 4
call fcn.00406650
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41a153
test al, 0x10
jne 0x41a153
mov eax, 1
jmp 0x41a155
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 0x41a17a
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 0x41a1a2
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 0x41a1ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41a1de
push 2
push 0x49d234
lea ecx, [esp + 0x3c]
call fcn.00401b40
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, 0x4c9b4c
mov byte [esp + 0x858], 5
call fcn.004096d0
test eax, eax
je 0x41a23d
push 2
push 0x49d234
lea ecx, [esp + 0x20]
call fcn.00401b40
push edi
call fcn.00409a30
add esp, 4
call fcn.004096d0
test eax, eax
je 0x41a23d
push 0x49fefc
lea ecx, [esp + 0x1c]
call fcn.00401bf0
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, 0x4c9b70
mov byte [esp + 0x858], 6
call fcn.004096d0
test eax, eax
je 0x41a29c
push 2
push 0x49d234
lea ecx, [esp + 0x24]
call fcn.00401b40
push edi
call fcn.00409a30
add esp, 4
call fcn.004096d0
test eax, eax
je 0x41a29c
push 0x49fefc
lea ecx, [esp + 0x20]
call fcn.00401bf0
push esi
lea ecx, [esp + 0x30]
push ecx
call fcn.00419ed0
lea edx, [esp + 0x24]
push 0x4c9b50
push edx
lea ebx, [esp + 0x28]
mov byte [esp + 0x860], 7
call fcn.00407c40
add esp, 8
mov byte [esp + 0x858], 8
cmp dword [0x4c9910], 0
je 0x41a4e9
cmp dword [0x4c990c], 0
je 0x41a4e9
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 0x41a332
mov ecx, eax
movzx esi, cx
push 0
push esi
call fcn.00401690
add esp, 8
test eax, eax
je 0x41a340
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401850
jmp 0x41a340
mov ebx, str.Fp_Logic.cpp
lea edi, [esp + 0x14]
call fcn.00401440
mov byte [esp + 0x858], 0xa
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.00468676
add esp, 8
test eax, eax
jne 0x41a360
or esi, 0xffffffff
jmp 0x41a366
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.00407c40
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.004013e0
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 0x41a3ef
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401690
add esp, 8
test eax, eax
je 0x41a3fd
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00401850
jmp 0x41a3fd
mov ebx, str.CFpLogic::startupFsProcess
lea edi, [esp + 0x10]
call fcn.00401440
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.004685d5
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 0x41a45c
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 0x41a484
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 0x41a4ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4c990c]
test eax, eax
je 0x41a4c1
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 0x41a4e9
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 0x41a522
cmp eax, dword [esi - 0x10]
jne 0x41a522
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41a55a
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 0x41a632
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.0046835b
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040b990
mov esi, eax
add esp, 8
mov dword [esp + 0x30], esi
test esi, esi
jne 0x41a588
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 3
jle 0x41a4f1
push 0x4c9b74
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0040b740
add esp, 0xc
lea ecx, [esp + 0x28]
push 0x4c9b78
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + 0x860], 0xe
call fcn.00407c40
push 0x4c9b74
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x86c], 0xf
call fcn.0040b740
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 0x41a5fd
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 0x41a637
push 1
push 0x49d32c
lea ecx, [esp + 0x18]
call fcn.00401b40
jmp 0x41a650
call fcn.00401a00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push 0x4a055c
push ecx
call fcn.00407590
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.00407590
add esp, 0x20
test byte [0x4ca078], 1
jne 0x41a6d1
or dword [0x4ca078], 1
mov byte [esp + 0x858], 0x14
call fcn.0042e750
push 0x495250
call fcn.004685be
add esp, 4
mov byte [esp + 0x858], bl
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
push eax
push esi
mov ebx, 0x4c9fbc
call fcn.0040c5d0
mov ebx, 1
test byte [0x4ca078], bl
jne 0x41a719
or dword [0x4ca078], ebx
mov byte [esp + 0x858], 0x15
call fcn.0042e750
push 0x495250
call fcn.004685be
add esp, 4
mov byte [esp + 0x858], 0x13
mov ecx, 0x4c9fb0
call fcn.00466f30
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 0x41a747
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 0x41a76b
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 0x41a793
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 0x41a7bb
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 0x41a7e3
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 0x41a80b
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 0x41a833
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 0x41a85b
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 0x41a882
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 0x41a8ad
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.004682fb
mov esp, ebp
pop ebp
ret