Function at 0x45f770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564a04
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x5be26c]
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 - 0x48]
mov dword [ebp - 4], 0
push eax
call fcn.00505d80
add esp, 0xc
push 4
push str..lnk
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
call fcn.00410b90
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
call fcn.00505d80
add esp, 0xc
push 4
push str..url
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00410b90
push dword [ebp - 0x48]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call ebx
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
test eax, eax
je 0x45f9b0
call fcn.0047a580
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x45f8ed
mov ebx, dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.004211a0
push 3
push 0x572954
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004211a0
mov byte [ebp - 4], 4
call fcn.0047a580
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x41e
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040b1c0
mov esi, eax
push str.RemoveDesktopIcon__delete:
push esi
mov byte [ebp - 4], 5
call fcn.0040c570
test ebx, ebx
mov ecx, 0x572928
cmovne ecx, ebx
push ecx
push esi
call fcn.00409810
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.0040cbc0
lea ecx, [ebp - 0x28]
call fcn.0040bb80
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0040bb80
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push dword [ebp - 0x48]
call fcn.004617f0
add esp, 4
push dword [ebp - 0x48]
call ebx
test eax, eax
je 0x45f993
call fcn.0047a580
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x45fb81
mov ebx, dword [ebp - 0x48]
lea ecx, [ebp - 0x28]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.004211a0
push 3
push 0x572954
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004211a0
mov byte [ebp - 4], 7
call fcn.0047a580
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x422
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040b1c0
mov esi, eax
mov byte [ebp - 4], 8
jmp 0x45fb3f
push 0
push 0x2a
push 0x1a
push 0xffff
call esi
push 0
push 0
push 0x1000
push 0x8000000
call edi
push dword [ebp - 0x44]
call ebx
test eax, eax
je 0x45fba2
call fcn.0047a580
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x45fa9e
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.004211a0
push 3
push 0x572954
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004211a0
mov byte [ebp - 4], 0xa
call fcn.0047a580
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x42d
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040b1c0
mov esi, eax
push str.RemoveDesktopIcon__delete:
push esi
mov byte [ebp - 4], 0xb
call fcn.0040c570
test ebx, ebx
mov ecx, 0x572928
cmovne ecx, ebx
push ecx
push esi
call fcn.00409810
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.0040cbc0
lea ecx, [ebp - 0x40]
call fcn.0040bb80
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.0040bb80
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
mov edi, dword [sym.imp.SHELL32.dll_SHChangeNotify]
push dword [ebp - 0x44]
call fcn.004617f0
add esp, 4
push dword [ebp - 0x44]
call ebx
test eax, eax
je 0x45fb85
call fcn.0047a580
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x45fb81
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.004211a0
push 3
push 0x572954
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004211a0
mov byte [ebp - 4], 0xd
call fcn.0047a580
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x431
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040b1c0
mov esi, eax
mov byte [ebp - 4], 0xe
push str._RemoveDesktopIcon__failed_delete
push esi
call fcn.0040c570
test ebx, ebx
mov eax, 0x572928
cmovne eax, ebx
push eax
push esi
call fcn.00409810
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe0]
call fcn.0040cbc0
lea ecx, [ebp - 0x40]
call fcn.0040bb80
lea ecx, [ebp - 0x28]
call fcn.0040bb80
xor edi, edi
jmp 0x45fba7
push 0
push 0x2a
push 0x1a
push 0xffff
call esi
push 0
push 0
push 0x1000
push 0x8000000
call edi
mov edi, 1
mov edx, dword [ebp - 0x44]
or esi, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45fbc8
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], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45fbe6
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 0x45fc05
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.0046c16d
mov esp, ebp
pop ebp
ret