Function at 0x4659a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bb96
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5c524c]
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.0050e170
add esp, 0xc
push dword [ebp - 0x44]
mov byte [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x465bda
call fcn.00481b60
mov ecx, eax
push 0
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x465aca
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
push 0x5a
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], al
call fcn.0041ca10
push 3
push 0x579ac4
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.0041ca10
mov byte [ebp - 4], 3
call fcn.00481b60
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x440
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406ec0
mov esi, eax
push str.RemoveStartMenu__delete
push esi
mov byte [ebp - 4], 4
call fcn.004081f0
test ebx, ebx
mov ecx, 0x579b78
cmovne ecx, ebx
push ecx
push esi
call fcn.00405440
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.0040ad10
lea ecx, [ebp - 0x28]
call fcn.004078d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004078d0
push dword [ebp - 0x44]
call fcn.004666e0
add esp, 4
push dword [ebp - 0x44]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465bb5
call fcn.00481b60
mov ecx, eax
push 2
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x465bb1
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push 0x5a
push str.d:jenkins.jenkinsworkspacemg_boxgame_boxmicrogamebox_srcmicrogameboxutilsutils.cc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0041ca10
push 3
push 0x579acc
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.0041ca10
mov byte [ebp - 4], 6
call fcn.00481b60
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x444
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00406ec0
mov esi, eax
push str.RemoveStartMenu__failed_delete:
push esi
mov byte [ebp - 4], 7
call fcn.004081f0
test ebx, ebx
mov eax, 0x579b78
cmovne eax, ebx
push eax
push esi
call fcn.00405440
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.0040ad10
lea ecx, [ebp - 0x40]
call fcn.004078d0
lea ecx, [ebp - 0x28]
call fcn.004078d0
xor edi, edi
jmp 0x465bdf
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 0x465c00
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 0x465c1f
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.0047268d
mov esp, ebp
pop ebp
ret