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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563033
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x5c324c]
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 - 0x5c]
push eax
call fcn.00425500
mov ecx, eax
call fcn.004254d0
mov eax, dword [ebp - 0x5c]
or esi, 0xffffffff
mov dword [ebp - 4], 0
test eax, eax
jne 0x40c526
xor ebx, ebx
jmp 0x40c786
push 1
push dword [eax + 0x18]
lea eax, [ebp - 0x54]
push eax
call fcn.0050cba0
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 1
mov eax, dword [eax + 0x18]
sub eax, 0x10
push eax
call fcn.0040e810
mov ebx, eax
add esp, 0x10
lea esi, [ebx + 0x10]
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 2
call fcn.00415b90
mov ecx, eax
test ecx, ecx
je 0x40c7c9
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
push esi
push dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 3
push str._s_s.lnk
push eax
call fcn.004144a0
mov edi, dword [ebp - 0x4c]
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40c670
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.00480fd0
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x40c670
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.0041cb60
push 3
push 0x577b98
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.0041cb60
mov byte [ebp - 4], 5
call fcn.00480fd0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x100]
push 0x235
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406db0
mov esi, eax
push str.MicroInstaller::AddStartMenu_delete_link_file:
push esi
mov byte [ebp - 4], 6
call fcn.00408110
test edi, edi
mov ecx, 0x577b6c
cmovne ecx, edi
push ecx
push esi
call fcn.00405440
mov ecx, dword [ebp - 0x44]
add esp, 0x10
mov eax, dword [ecx]
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x100]
call fcn.0040ac30
lea ecx, [ebp - 0x28]
call fcn.00407770
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00407770
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x28]
sub eax, 0x10
push eax
call fcn.0040e810
mov dword [ebp - 0x44], eax
add esp, 4
add eax, 0x10
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x45]
mov byte [ebp - 4], 7
call fcn.00409eb0
push eax
lea ecx, [ebp - 0x50]
call fcn.00406970
mov eax, dword [ebp - 0x5c]
mov byte [ebp - 4], 8
mov eax, dword [eax + 0x30]
sub eax, 0x10
push eax
call fcn.0040e810
lea esi, [eax + 0x10]
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x44]
push 0
push esi
push edi
push dword [ebp - 0x50]
add eax, 0x10
mov byte [ebp - 4], 9
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0040ebf0
lea edx, [esi - 0x10]
mov byte [ebp - 4], 8
or esi, 0xffffffff
add esp, 0x1c
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c6f5
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], 7
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c713
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], 3
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c72e
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 0x40c749
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 0x40c763
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x54]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40c781
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, 1
mov edi, dword [ebp - 0x58]
test edi, edi
je 0x40c7ab
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x40c7ab
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x40c7ab
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.00472b5d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0040e300
int3