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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4968f0
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x4c51d0]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x4c51d0]
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 0x41cfed
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [esp + 0x858], 0
call fcn.004217e0
push 0x49c550
call fcn.0046e358
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.00422bd0
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, 0x4a53e4
mov byte [esp + 0x860], 2
call fcn.004066f0
lea ecx, [esp + 0x20]
push 0x4cfc74
push ecx
mov ebx, eax
mov byte [esp + 0x868], 3
call fcn.00407850
push eax
lea edx, [esp + 0x24]
push edx
mov ebx, str.Default.fskin
mov byte [esp + 0x870], 4
call fcn.004066f0
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d083
test al, 0x10
jne 0x41d083
mov eax, 1
jmp 0x41d085
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 0x41d0aa
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 0x41d0d2
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 0x41d0fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41d10e
push 2
push 0x4a6300
lea ecx, [esp + 0x3c]
call fcn.00401b30
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, 0x4cfc54
mov byte [esp + 0x858], 5
call fcn.00409510
test eax, eax
je 0x41d16d
push 2
push 0x4a6300
lea ecx, [esp + 0x20]
call fcn.00401b30
push edi
call fcn.00409870
add esp, 4
call fcn.00409510
test eax, eax
je 0x41d16d
push 0x4a8058
lea ecx, [esp + 0x1c]
call fcn.00401be0
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, 0x4cfc78
mov byte [esp + 0x858], 6
call fcn.00409510
test eax, eax
je 0x41d1cc
push 2
push 0x4a6300
lea ecx, [esp + 0x24]
call fcn.00401b30
push edi
call fcn.00409870
add esp, 4
call fcn.00409510
test eax, eax
je 0x41d1cc
push 0x4a8058
lea ecx, [esp + 0x20]
call fcn.00401be0
push esi
lea ecx, [esp + 0x30]
push ecx
call fcn.0041cdf0
lea edx, [esp + 0x24]
push 0x4cfc58
push edx
lea ebx, [esp + 0x28]
mov byte [esp + 0x860], 7
call fcn.00407850
add esp, 8
mov byte [esp + 0x858], 8
cmp dword [0x4cf960], 0
je 0x41d419
cmp dword [0x4cf95c], 0
je 0x41d419
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 0x41d262
mov ecx, eax
movzx esi, cx
push 0
push esi
call fcn.00401690
add esp, 8
test eax, eax
je 0x41d270
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401850
jmp 0x41d270
mov ebx, str.Fp_Logic.cpp
lea edi, [esp + 0x14]
call fcn.00401400
mov byte [esp + 0x858], 0xa
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.0046e42e
add esp, 8
test eax, eax
jne 0x41d290
or esi, 0xffffffff
jmp 0x41d296
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.00407850
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 0x41d31f
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401690
add esp, 8
test eax, eax
je 0x41d32d
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00401850
jmp 0x41d32d
mov ebx, str.CFpLogic::startupFsProcess
lea edi, [esp + 0x10]
call fcn.00401400
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 0x373
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.0046e38d
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 0x41d38c
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 0x41d3b4
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 0x41d3dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4cf95c]
test eax, eax
je 0x41d3f1
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 0x41d419
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 0x41d452
cmp eax, dword [esi - 0x10]
jne 0x41d452
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41d48a
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 0x41d562
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.0046e0f5
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040b810
mov esi, eax
add esp, 8
mov dword [esp + 0x30], esi
test esi, esi
jne 0x41d4b8
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 3
jle 0x41d421
push 0x4cfc7c
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0040b5c0
add esp, 0xc
lea ecx, [esp + 0x28]
push 0x4cfc80
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + 0x860], 0xe
call fcn.00407850
push 0x4cfc7c
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x86c], 0xf
call fcn.0040b5c0
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 0x41d52d
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 0x41d567
push 1
push 0x4a6408
lea ecx, [esp + 0x18]
call fcn.00401b30
jmp 0x41d580
call fcn.0040c5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push 0x4a8868
push ecx
call fcn.0040c9d0
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.0040c9d0
add esp, 0x20
test byte [0x4d0224], 1
jne 0x41d601
or dword [0x4d0224], 1
mov byte [esp + 0x858], 0x14
call fcn.00435730
push 0x49cbc0
call fcn.0046e358
add esp, 4
mov byte [esp + 0x858], bl
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
push eax
push esi
mov ebx, 0x4d017c
call fcn.0040c5f0
mov ebx, 1
test byte [0x4d0224], bl
jne 0x41d649
or dword [0x4d0224], ebx
mov byte [esp + 0x858], 0x15
call fcn.00435730
push 0x49cbc0
call fcn.0046e358
add esp, 4
mov byte [esp + 0x858], 0x13
mov ecx, 0x4d0170
call fcn.0046ca90
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 0x41d677
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 0x41d69b
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 0x41d6c3
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 0x41d6eb
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 0x41d713
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 0x41d73b
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 0x41d763
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 0x41d78b
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 0x41d7b2
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 0x41d7dd
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.0046e095
mov esp, ebp
pop ebp
ret