Function at 0x407470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x443444
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
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 - 0x18]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x18], 0
call fcn.00414cc0
add esp, 0xc
push 4
push str..lnk
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004059f0
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.00414cc0
add esp, 0xc
push 4
push str..url
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004059f0
push dword [ebp - 0x18]
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 0x4076be
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 0x4075fb
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], al
call fcn.0040a820
push 3
push 0x446f74
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.0040a820
mov byte [ebp - 4], 4
call fcn.00413b40
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x41e
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404650
mov esi, eax
push str.RemoveDesktopIcon__delete:
push esi
mov byte [ebp - 4], 5
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 - 0xe0]
call fcn.004055a0
lea ecx, [ebp - 0x30]
call fcn.00404ec0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.00404ec0
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 - 0x18]
call fcn.00408b90
add esp, 4
push dword [ebp - 0x18]
call ebx
test eax, eax
je 0x4076a1
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 0x40788f
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp - 0x30]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], al
call fcn.0040a820
push 3
push 0x446f74
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.0040a820
mov byte [ebp - 4], 7
call fcn.00413b40
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x422
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00404650
mov esi, eax
mov byte [ebp - 4], 8
jmp 0x40784d
push 0
push 0x2a
push 0x1a
push 0xffff
call esi
push 0
push 0
push 0x1000
push 0x8000000
call edi
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x4078b0
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 0x4077ac
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], al
call fcn.0040a820
push 3
push 0x446f74
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 9
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.0040a820
mov byte [ebp - 4], 0xa
call fcn.00413b40
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x42d
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00404650
mov esi, eax
push str.RemoveDesktopIcon__delete:
push esi
mov byte [ebp - 4], 0xb
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 - 0xe0]
call fcn.004055a0
lea ecx, [ebp - 0x48]
call fcn.00404ec0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00404ec0
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 - 0x14]
call fcn.00408b90
add esp, 4
push dword [ebp - 0x14]
call ebx
test eax, eax
je 0x407893
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 0x40788f
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
push 0x60
push str.d:jenkins.jenkinsworkspaceweiduangamemicrogamemicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], al
call fcn.0040a820
push 3
push 0x446f74
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
call fcn.0040a820
mov byte [ebp - 4], 0xd
call fcn.00413b40
mov edi, eax
lea ecx, [ebp - 0xe0]
push 0x431
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.00404650
mov esi, eax
mov byte [ebp - 4], 0xe
push str._RemoveDesktopIcon__failed_delete
push esi
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 - 0xe0]
call fcn.004055a0
lea ecx, [ebp - 0x48]
call fcn.00404ec0
lea ecx, [ebp - 0x30]
call fcn.00404ec0
xor edi, edi
jmp 0x4078b5
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 - 0x14]
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 0x4078d6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4078f4
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 0x407913
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