Function at 0x40fd60
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534fbb
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x59024c]
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
lea eax, [ebp - 0x58]
push eax
call fcn.004232c0
mov ecx, eax
call fcn.00423290
mov eax, dword [ebp - 0x58]
or esi, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x40fdb6
xor ebx, ebx
jmp 0x410043
push 1
push dword [eax + 0x18]
lea eax, [ebp - 0x50]
push eax
call fcn.004d82b0
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x18]
sub eax, 0x10
push eax
call fcn.004035b0
mov ebx, eax
add esp, 0x10
lea esi, [ebx + 0x10]
mov dword [ebp - 0x5c], esi
mov byte [ebp - 4], 2
call fcn.004037c0
mov ecx, eax
test ecx, ecx
je 0x410086
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
push esi
push dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push str._s_s.lnk
push eax
call fcn.004036b0
mov edi, dword [ebp - 0x4c]
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40ff00
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00454720
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40ff00
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxinst_helper.cc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0040c7b0
push 3
push 0x5491cc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.0040c7b0
mov byte [ebp - 4], 5
call fcn.00454720
mov dword [ebp - 0x48], eax
lea ecx, [ebp - 0xfc]
push 0x21a
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040e020
mov esi, eax
push str.InstallHelper::AddStartMenu_delete_link_file:
push esi
mov byte [ebp - 4], 6
call fcn.004095f0
test edi, edi
mov ecx, 0x548df8
cmovne ecx, edi
push ecx
push esi
call fcn.00407180
mov ecx, dword [ebp - 0x48]
add esp, 0x10
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xfc]
call fcn.00409720
lea ecx, [ebp - 0x28]
call fcn.00408ca0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00408ca0
mov eax, dword [ebp - 0x58]
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.004035b0
mov dword [ebp - 0x48], eax
add esp, 4
add eax, 0x10
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 7
call fcn.004037c0
mov ecx, eax
test ecx, ecx
je 0x410090
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x44], eax
push str.__fromstart_menu
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 8
call fcn.00403470
test al, al
jne 0x40ff5d
push 0x11
push str.__fromstart_menu
lea ecx, [ebp - 0x44]
call fcn.00403cb0
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 9
mov eax, dword [eax + 0x30]
sub eax, 0x10
push eax
call fcn.004035b0
lea esi, [eax + 0x10]
mov dword [ebp - 0x64], esi
mov eax, dword [ebp - 0x48]
push 0
push esi
push edi
push dword [ebp - 0x44]
add eax, 0x10
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.00412130
lea edx, [esi - 0x10]
mov byte [ebp - 4], 9
or esi, 0xffffffff
add esp, 0x1c
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ffb2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44]
mov eax, esi
mov byte [ebp - 4], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ffd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x48]
mov eax, esi
mov byte [ebp - 4], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40ffeb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x410006
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, ebx
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410020
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x50]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41003e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, 1
mov edi, dword [ebp - 0x54]
test edi, edi
je 0x410068
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x410068
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x410068
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov eax, ebx
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.00448d5d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00403450
push 0x80004005
call fcn.00403450
int3