Function at 0x408610
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4435e6
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x45e09c]
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
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x14], 0
call fcn.00414e80
add esp, 0xc
push dword [ebp - 0x14]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x408851
call fcn.00413b40
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x408741
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], al
call fcn.0040a820
push 3
push 0x446f74
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0040a820
mov byte [ebp - 4], 3
call fcn.00413b40
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x441
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00404650
mov esi, eax
push str.RemoveStartMenu__delete
push esi
mov byte [ebp - 4], 4
call fcn.00405480
test ebx, ebx
mov ecx, 0x446f48
cmovne ecx, ebx
push ecx
push esi
call fcn.004035f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.004055a0
lea ecx, [ebp - 0x2c]
call fcn.00404ec0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00404ec0
push dword [ebp - 0x14]
call fcn.00408be0
add esp, 4
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40882c
call fcn.00413b40
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x408828
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], al
call fcn.0040a820
push 3
push 0x446fdc
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 5
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.0040a820
mov byte [ebp - 4], 6
call fcn.00413b40
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x445
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404650
mov esi, eax
push str.RemoveStartMenu__failed_delete:
push esi
mov byte [ebp - 4], 7
call fcn.00405480
test ebx, ebx
mov eax, 0x446f48
cmovne eax, ebx
push eax
push esi
call fcn.004035f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.004055a0
lea ecx, [ebp - 0x44]
call fcn.00404ec0
lea ecx, [ebp - 0x2c]
call fcn.00404ec0
xor edi, edi
jmp 0x408856
push 0
push 0x2a
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov edi, 1
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x408877
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x408896
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 - 0x10]
xor ecx, ebp
call fcn.0040f17d
mov esp, ebp
pop ebp
ret