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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48bab0
mov eax, dword fs:[0]
push eax
sub esp, 0x83c
mov eax, dword [0x4ba1f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
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 0x41d0d3
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], ebx
mov dword [ebp - 4], 0
call fcn.004211a0
push 0x4924b0
call fcn.00465ab8
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x828]
push eax
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
call fcn.00422560
mov dword [ebp - 4], ebx
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x838], eax
lea ecx, [ebp - 0x828]
push ecx
lea edx, [ebp - 0x820]
push edx
mov ebx, 0x49b904
mov byte [ebp - 4], 2
call fcn.00406d50
lea ecx, [ebp - 0x81c]
push 0x4c477c
push ecx
mov ebx, eax
mov byte [ebp - 4], 3
call fcn.00408550
push eax
lea edx, [ebp - 0x814]
push edx
mov ebx, str.Default.fskin
mov byte [ebp - 4], 4
call fcn.00406d50
mov eax, dword [eax]
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41d165
test al, 0x10
jne 0x41d165
mov eax, 1
jmp 0x41d167
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x814]
sete bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d18e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x81c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d1b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x820]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d1da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x41d1f0
push 2
push 0x49c830
lea ecx, [ebp - 0x838]
call fcn.00402290
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x81c], eax
xor ebx, ebx
mov edi, 0x4c475c
mov byte [ebp - 4], 5
call fcn.0040a270
test eax, eax
je 0x41d251
push 2
push 0x49c830
lea ecx, [ebp - 0x81c]
call fcn.00402290
push edi
call fcn.0040a5d0
add esp, 4
call fcn.0040a270
test eax, eax
je 0x41d251
push 0x49e698
lea ecx, [ebp - 0x81c]
call fcn.00402340
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x820], eax
xor ebx, ebx
mov edi, 0x4c4780
mov byte [ebp - 4], 6
call fcn.0040a270
test eax, eax
je 0x41d2b2
push 2
push 0x49c830
lea ecx, [ebp - 0x820]
call fcn.00402290
push edi
call fcn.0040a5d0
add esp, 4
call fcn.0040a270
test eax, eax
je 0x41d2b2
push 0x49e698
lea ecx, [ebp - 0x820]
call fcn.00402340
push esi
lea ecx, [ebp - 0x830]
push ecx
call fcn.0041cf00
lea edx, [ebp - 0x824]
push 0x4c4760
push edx
lea ebx, [ebp - 0x828]
mov byte [ebp - 4], 7
call fcn.00408550
add esp, 8
mov byte [ebp - 4], 8
cmp dword [0x4c4400], 0
je 0x41d501
cmp dword [0x4c43fc], 0
je 0x41d501
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x818], eax
mov eax, str.Fp_Logic.cpp
mov byte [ebp - 4], 9
test eax, 0xffff0000
jne 0x41d346
mov ecx, eax
movzx esi, cx
push 0
push esi
call fcn.00401de0
add esp, 8
test eax, eax
je 0x41d356
push esi
push eax
lea ecx, [ebp - 0x818]
call fcn.00401fa0
jmp 0x41d356
mov ebx, str.Fp_Logic.cpp
lea edi, [ebp - 0x818]
call fcn.00401580
mov byte [ebp - 4], 0xa
mov esi, dword [ebp - 0x818]
push 0x5c
push esi
call fcn.00466081
add esp, 8
test eax, eax
jne 0x41d374
or esi, 0xffffffff
jmp 0x41d37a
sub eax, esi
sar eax, 1
mov esi, eax
lea edx, [ebp - 0x830]
push edx
lea eax, [ebp - 0x82c]
push eax
lea ebx, [ebp - 0x824]
call fcn.00408550
add esp, 8
mov dword [ebp - 0x844], eax
lea ecx, [esi + 1]
lea esi, [ebp - 0x834]
lea edx, [ebp - 0x818]
mov byte [ebp - 4], 0xb
call fcn.00401520
mov esi, eax
mov byte [ebp - 4], 0xc
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x814], eax
mov ecx, str.CFpLogic::startupFsProcess
mov byte [ebp - 4], 0xd
test ecx, 0xffff0000
jne 0x41d407
mov edx, ecx
movzx edi, dx
push 0
push edi
call fcn.00401de0
add esp, 8
test eax, eax
je 0x41d417
push edi
push eax
lea ecx, [ebp - 0x814]
call fcn.00401fa0
jmp 0x41d417
mov ebx, str.CFpLogic::startupFsProcess
lea edi, [ebp - 0x814]
call fcn.00401580
mov eax, dword [ebp - 0x844]
mov byte [ebp - 4], 0xc
mov ecx, dword [eax]
mov edx, dword [esi]
mov esi, dword [ebp - 0x814]
push ecx
push 0x3bd
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, [ebp - 0x810]
push 0x400
push eax
call fcn.00465aed
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 0x41d478
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x834]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d49e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x82c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d4c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [0x4c43fc]
test eax, eax
je 0x41d4db
lea ecx, [ebp - 0x810]
push ecx
push 0x20
call eax
add esp, 8
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x818]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41d501
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x814], 0
jmp 0x41d510
mov esi, dword [ebp - 0x830]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x82c], esp
mov ebx, esp
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x41d545
cmp eax, dword [esi - 0x10]
jne 0x41d545
lea edi, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41d57d
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 0x41d65d
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.00465855
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov ecx, dword [ebp - 0x824]
push ecx
call fcn.0040c330
mov esi, eax
add esp, 8
mov dword [ebp - 0x834], esi
test esi, esi
jne 0x41d5b3
mov eax, dword [ebp - 0x814]
inc eax
mov dword [ebp - 0x814], eax
cmp eax, 3
jle 0x41d510
push 0x4c4784
lea edx, [ebp - 0x824]
push edx
lea eax, [ebp - 0x83c]
push eax
call fcn.0040c0e0
add esp, 0xc
lea ecx, [ebp - 0x82c]
push 0x4c4788
push ecx
lea ebx, [ebp - 0x828]
mov byte [ebp - 4], 0xe
call fcn.00408550
push 0x4c4784
push eax
lea edx, [ebp - 0x840]
push edx
mov byte [ebp - 4], 0xf
call fcn.0040c0e0
add esp, 0x14
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0x82c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d628
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 [ebp - 0x814], eax
mov byte [ebp - 4], 0x12
test esi, esi
je 0x41d662
push 1
push 0x49c948
lea ecx, [ebp - 0x814]
call fcn.00402290
jmp 0x41d67d
call fcn.00402150
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x814]
push 0x49f114
push ecx
call fcn.0040e410
add esp, 0xc
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x818], eax
mov bl, 0x13
mov byte [ebp - 4], bl
mov edi, dword [ebp - 0x814]
mov ecx, dword [ebp - 0x838]
mov edx, dword [ebp - 0x840]
mov eax, dword [ebp - 0x83c]
push edi
push ecx
mov ecx, dword [ebp - 0x820]
push edx
mov edx, dword [ebp - 0x81c]
push eax
push ecx
push edx
lea eax, [ebp - 0x818]
push str._s__s__s__s__s__s
push eax
call fcn.0040e410
add esp, 0x20
test byte [0x4c4d88], 1
jne 0x41d702
or dword [0x4c4d88], 1
mov byte [ebp - 4], 0x14
call fcn.004344a0
push 0x492a90
call fcn.00465ab8
add esp, 4
mov byte [ebp - 4], bl
mov esi, dword [ebp - 0x818]
mov eax, dword [esi - 0xc]
push eax
push esi
mov ebx, 0x4c4cf4
call fcn.0040dfe0
mov ebx, 1
test byte [0x4c4d88], bl
jne 0x41d744
or dword [0x4c4d88], ebx
mov byte [ebp - 4], 0x15
call fcn.004344a0
push 0x492a90
call fcn.00465ab8
add esp, 4
mov byte [ebp - 4], 0x13
mov ecx, 0x4c4ce8
call fcn.004641f0
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d76e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [ebp - 4], 0x11
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d78e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x840]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d7b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x83c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d7da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x824]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d800
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x830]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d826
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x820]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d84c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x81c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d872
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x838]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d897
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x828]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d8c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x834]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004657f5
mov esp, ebp
pop ebp
ret