Function at 0x460c20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564b86
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
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 - 0x44]
mov dword [ebp - 4], 0
push eax
call fcn.00505f80
add esp, 0xc
push dword [ebp - 0x44]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x460e5a
call fcn.0047a530
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x460d4a
mov ebx, dword [ebp - 0x44]
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.004210f0
push 3
push 0x572954
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.004210f0
mov byte [ebp - 4], 3
call fcn.0047a530
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x441
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0040b1c0
mov esi, eax
push str.RemoveStartMenu__delete
push esi
mov byte [ebp - 4], 4
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 - 0xdc]
call fcn.0040cbc0
lea ecx, [ebp - 0x28]
call fcn.0040bb80
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040bb80
push dword [ebp - 0x44]
call fcn.004617c0
add esp, 4
push dword [ebp - 0x44]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x460e35
call fcn.0047a530
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x460e31
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.004210f0
push 3
push 0x572a44
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.004210f0
mov byte [ebp - 4], 6
call fcn.0047a530
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x445
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040b1c0
mov esi, eax
push str.RemoveStartMenu__failed_delete:
push esi
mov byte [ebp - 4], 7
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 - 0xdc]
call fcn.0040cbc0
lea ecx, [ebp - 0x40]
call fcn.0040bb80
lea ecx, [ebp - 0x28]
call fcn.0040bb80
xor edi, edi
jmp 0x460e5f
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 - 0x44]
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 0x460e80
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 0x460e9f
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.0046c10d
mov esp, ebp
pop ebp
ret