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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x495cd0
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x4c81d0]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x4c81d0]
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 0x41c6fd
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [esp + 0x858], 0
call fcn.00415240
push 0x49b9b0
call fcn.0046dc2e
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.004163a0
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, 0x4a3bb4
mov byte [esp + 0x860], 2
call fcn.0040ac70
lea ecx, [esp + 0x20]
push 0x4d3688
push ecx
mov ebx, eax
mov byte [esp + 0x868], 3
call fcn.0040abc0
push eax
lea edx, [esp + 0x24]
push edx
mov ebx, str.Default.fskin
mov byte [esp + 0x870], 4
call fcn.0040ac70
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41c793
test al, 0x10
jne 0x41c793
mov eax, 1
jmp 0x41c795
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 0x41c7ba
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 0x41c7e2
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 0x41c80a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41c81e
push 2
push 0x4a4b10
lea ecx, [esp + 0x3c]
call fcn.00401d90
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, 0x4d3668
mov byte [esp + 0x858], 5
call fcn.004082a0
test eax, eax
je 0x41c87d
push 2
push 0x4a4b10
lea ecx, [esp + 0x20]
call fcn.00401d90
push edi
call fcn.00408600
add esp, 4
call fcn.004082a0
test eax, eax
je 0x41c87d
push 0x4a7264
lea ecx, [esp + 0x1c]
call fcn.00401e40
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, 0x4d368c
mov byte [esp + 0x858], 6
call fcn.004082a0
test eax, eax
je 0x41c8dc
push 2
push 0x4a4b10
lea ecx, [esp + 0x24]
call fcn.00401d90
push edi
call fcn.00408600
add esp, 4
call fcn.004082a0
test eax, eax
je 0x41c8dc
push 0x4a7264
lea ecx, [esp + 0x20]
call fcn.00401e40
push esi
lea ecx, [esp + 0x30]
push ecx
call fcn.0041c510
lea edx, [esp + 0x24]
push 0x4d366c
push edx
lea ebx, [esp + 0x28]
mov byte [esp + 0x860], 7
call fcn.0040abc0
add esp, 8
mov byte [esp + 0x858], 8
cmp dword [0x4d33c8], 0
je 0x41cb29
cmp dword [0x4d33c4], 0
je 0x41cb29
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 0x41c972
mov ecx, eax
movzx esi, cx
push 0
push esi
call fcn.004018e0
add esp, 8
test eax, eax
je 0x41c980
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.00401aa0
jmp 0x41c980
mov ebx, str.Fp_Logic.cpp
lea edi, [esp + 0x14]
call fcn.00401590
mov byte [esp + 0x858], 0xa
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.0046dd04
add esp, 8
test eax, eax
jne 0x41c9a0
or esi, 0xffffffff
jmp 0x41c9a6
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.0040abc0
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.00401570
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 0x41ca2f
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.004018e0
add esp, 8
test eax, eax
je 0x41ca3d
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00401aa0
jmp 0x41ca3d
mov ebx, str.CFpLogic::startupFsProcess
lea edi, [esp + 0x10]
call fcn.00401590
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.0046dc63
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 0x41ca9c
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 0x41cac4
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 0x41caec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4d33c4]
test eax, eax
je 0x41cb01
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 0x41cb29
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 0x41cb62
cmp eax, dword [esi - 0x10]
jne 0x41cb62
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41cb9a
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 0x41cc72
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.0046d9cb
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0040a530
mov esi, eax
add esp, 8
mov dword [esp + 0x30], esi
test esi, esi
jne 0x41cbc8
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, 3
jle 0x41cb31
push 0x4d3690
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
call fcn.0040a2e0
add esp, 0xc
lea ecx, [esp + 0x28]
push 0x4d3694
push ecx
lea ebx, [esp + 0x28]
mov byte [esp + 0x860], 0xe
call fcn.0040abc0
push 0x4d3690
push eax
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x86c], 0xf
call fcn.0040a2e0
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 0x41cc3d
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 0x41cc77
push 1
push 0x4a4c18
lea ecx, [esp + 0x18]
call fcn.00401d90
jmp 0x41cc90
call fcn.00401c50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x14]
push 0x4a7860
push ecx
call fcn.00401760
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.00401760
add esp, 0x20
test byte [0x4d3bf0], 1
jne 0x41cd11
or dword [0x4d3bf0], 1
mov byte [esp + 0x858], 0x14
call fcn.00430e00
push 0x49c0c0
call fcn.0046dc2e
add esp, 4
mov byte [esp + 0x858], bl
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
push eax
push esi
mov ebx, 0x4d3b34
call fcn.00407ad0
mov ebx, 1
test byte [0x4d3bf0], bl
jne 0x41cd59
or dword [0x4d3bf0], ebx
mov byte [esp + 0x858], 0x15
call fcn.00430e00
push 0x49c0c0
call fcn.0046dc2e
add esp, 4
mov byte [esp + 0x858], 0x13
mov ecx, 0x4d3b28
call fcn.0046c5a0
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 0x41cd87
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 0x41cdab
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 0x41cdd3
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 0x41cdfb
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 0x41ce23
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 0x41ce4b
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 0x41ce73
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 0x41ce9b
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 0x41cec2
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 0x41ceed
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.0046d96b
mov esp, ebp
pop ebp
ret