Function at 0x40a090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c186
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x453144]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], 0
push ecx
mov ebx, esp
mov ecx, dword [esi - 0x10]
mov dword [ebp - 0x4c], ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x40a0f5
cmp ecx, dword [esi - 0x10]
jne 0x40a0f5
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x40a122
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40a528
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [esi - 0xc]
inc eax
lea edx, [eax + eax]
push edx
push esi
call fcn.00401580
add esp, 8
lea eax, [edi + 0x10]
xor edx, edx
lea ecx, [ebp - 0x18]
mov dword [ebx], eax
call fcn.0040bdc0
add esp, 4
mov byte [ebp - 4], 1
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x40a4c5
call fcn.00417780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x40a2f0
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push 0x51
push str.d:jenkins.jenkinsworkspaceweiduangamewdgameboxwdgameboxuninst_srcutils.cc
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.00407580
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
push 3
push 0x44d57c
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.00407580
mov byte [ebp - 4], 3
call fcn.00417780
mov edi, eax
lea ecx, [ebp - 0xe4]
push 0x79
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404d90
mov esi, eax
mov edx, str._RemoveStartMenu__delete
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.00404c20
test ebx, ebx
mov ecx, str._null_
cmovne ecx, ebx
push ecx
push esi
call fcn.00407bf0
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xe0]
call fcn.00406b50
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe8], eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0x94], vtable.std::ios_base.0
call fcn.00411d35
mov byte [ebp - 4], 2
add esp, 4
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x40a2a6
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a29c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a52d
push edx
push ecx
call fcn.004155ab
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40a2f0
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a2e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a532
push edx
push ecx
call fcn.004155ab
add esp, 8
mov ecx, dword [ebp - 0x18]
call fcn.0040c1a0
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a4c5
call fcn.00417780
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
test al, al
je 0x40a4c1
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push 0x51
push str.d:jenkins.jenkinsworkspaceweiduangamewdgameboxwdgameboxuninst_srcutils.cc
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.00407580
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
push 3
push 0x44d57c
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.00407580
mov byte [ebp - 4], 7
call fcn.00417780
mov edi, eax
lea ecx, [ebp - 0xe4]
push 0x7d
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404d90
mov esi, eax
push str._RemoveStartMenu__failed_delete
push esi
mov byte [ebp - 4], 8
call fcn.00407bf0
test ebx, ebx
mov eax, str._null_
cmovne eax, ebx
push eax
push esi
call fcn.00407bf0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xe8], eax
lea ecx, [ebp - 0xe0]
call fcn.00406b50
mov eax, dword [ebp - 0xe4]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xe4], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0xe4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe8], eax
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0x94], vtable.std::ios_base.0
call fcn.00411d35
mov byte [ebp - 4], 6
add esp, 4
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x40a465
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a45b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a537
push edx
push ecx
call fcn.004155ab
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40a4af
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40a4a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a53c
push edx
push ecx
call fcn.004155ab
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
xor edi, edi
jmp 0x40a4ca
mov edi, 1
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40a4eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x40a50a
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00415060
mov esp, ebp
pop ebp
ret
call fcn.00403150
call fcn.0041e989
call fcn.0041e989
call fcn.0041e989
call fcn.0041e989
int3