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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5498aa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2bc
push esi
mov esi, ecx
mov dword [ebp - 0x1c], 0
cmp byte [0x5cc2dc], 0
push edi
mov dword [ebp - 0x18], esi
je 0x456517
mov dword [ebp - 0x10], 0x1628f20
mov eax, dword [ebp - 0x10]
sub eax, 0x10cbce0
push 0
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004babc0
add esp, 0xc
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.0044d7f0
cmp byte [0x5cc2dc], 0
mov dword [ebp - 4], 0
je 0x45655f
mov dword [ebp - 0x10], 0x163052c
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
sub ecx, 0x10d32d0
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
push eax
movzx eax, word [0x5cc2dc]
push ecx
push eax
call fcn.004bad80
add esp, 0xc
mov dword [ebp - 0x64], 0
lea ecx, [ebp - 0x64]
push 0x40
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
call fcn.0041fae0
movups xmm0, xmmword [str.Error_when_getting_bootstrapper_filename_for_selfDeploy]
mov ecx, eax
mov dword [ebp - 0x54], 0x37
mov dword [ebp - 0x50], 0x3f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x55d2ac]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x55d2bc]
movups xmmword [ecx + 0x20], xmm0
mov eax, dword [0x55d2cc]
mov dword [ecx + 0x30], eax
mov ax, word [0x55d2d0]
mov word [ecx + 0x34], ax
mov al, byte [0x55d2d2]
mov byte [ecx + 0x36], al
mov byte [ecx + 0x37], 0
mov dword [ebp - 0x64], ecx
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 1
push eax
push 0x104
lea eax, [ebp - 0x2c8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push eax
call fcn.00437a10
mov edx, dword [ebp - 0x50]
add esp, 8
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x456630
mov ecx, dword [ebp - 0x64]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x456626
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456a12
push edx
push ecx
call fcn.004b9160
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
lea edx, [ecx + 2]
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456666
sub ecx, edx
lea eax, [ebp - 0x2c8]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x4c]
call fcn.0041ffd0
mov ax, word [0x5cc2dc]
mov byte [ebp - 4], 2
test al, al
je 0x4566c6
mov dword [ebp - 0x10], 0x16418d4
lea eax, [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
sub ecx, 0x10e4600
cmp dword [ebp - 0x38], 8
cmovae eax, dword [ebp - 0x4c]
push eax
movzx eax, word [0x5cc2dc]
push ecx
push eax
call fcn.004bad80
mov ax, word [0x5cc2dc]
add esp, 0xc
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
lea esi, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 8
cmovae esi, dword [ebp - 0x4c]
mov dword [ebp - 0x10], esi
cmp edx, dword [ebp - 0x24]
jne 0x45671e
test edx, edx
je 0x4567a2
movzx esi, word [esi]
movzx edi, word [ecx]
cmp si, di
jb 0x45671e
sub dword [ebp - 0x10], ecx
cmp si, di
ja 0x45671e
cmp edx, 1
je 0x4567a2
mov esi, dword [ebp - 0x10]
add ecx, 2
dec edx
movzx esi, word [ecx + esi]
movzx edi, word [ecx]
cmp si, di
jae 0x456700
mov esi, dword [ebp - 0x18]
cmp byte [esi + 0xaa], 0
je 0x456994
lea ecx, [ebp - 0x90]
call fcn.00469ed0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x34]
push eax
mov byte [ebp - 4], 3
call edi
test eax, eax
je 0x4568b6
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x90]
call fcn.0046a920
test eax, eax
je 0x456799
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x90]
call fcn.0046a5a0
push eax
mov ecx, esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], 1
call fcn.00459fa0
test al, al
je 0x4568b6
mov byte [ebp - 0x11], 1
jmp 0x4568ba
test al, al
je 0x4567c8
mov dword [ebp - 0x10], 0x167c9b8
mov eax, dword [ebp - 0x10]
sub eax, 0x111f580
push 0
push eax
movzx eax, word [0x5cc2dc]
push eax
call fcn.004babc0
add esp, 0xc
mov esi, dword [ebp - 0x18]
cmp byte [0x5cb268], 0
jne 0x456829
mov eax, dword [esi]
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, esi
call dword [eax + 0x70]
mov eax, dword [esi]
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x68], 8
lea edi, [ebp - 0x7c]
push ecx
cmovae edi, dword [ebp - 0x7c]
mov ecx, esi
mov eax, dword [eax + 0x98]
mov byte [ebp - 4], 7
call eax
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 8
jb 0x45680d
mov eax, dword [eax]
push edi
push eax
mov ecx, esi
call fcn.0044e2a0
lea ecx, [ebp - 0xa8]
call fcn.00416700
lea ecx, [ebp - 0x7c]
call fcn.00416700
mov edx, dword [ebp - 0x38]
pop edi
pop esi
cmp edx, 8
jb 0x456865
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45685b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456a17
push edx
push ecx
call fcn.004b9160
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
cmp edx, 8
jb 0x456a04
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4569fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x456a17
jmp 0x4569fa
mov byte [ebp - 0x11], 0
test byte [ebp - 0x1c], 1
mov dword [ebp - 4], 3
je 0x4568d6
and dword [ebp - 0x1c], 0xfffffffe
lea ecx, [ebp - 0xc0]
call fcn.004166b0
cmp byte [ebp - 0x11], 0
je 0x45697f
push str.Roblox_will_run_a_quick_update__click_OK_to_continue.
lea ecx, [ebp - 0x18]
call fcn.0042c4c0
mov ecx, dword [esi + 0x268]
push 0
push str.Please_restart_Roblox_after_this_update
push dword [ebp - 0x18]
mov eax, dword [ecx]
mov byte [ebp - 4], 5
call dword [eax + 4]
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call edi
test eax, eax
je 0x456964
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x456964
cmp byte [0x5cc2dc], 0
je 0x456964
mov dword [ebp - 0x10], 0x165f180
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 0x10]
sub ecx, 0x1101dc0
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
push eax
movzx eax, word [0x5cc2dc]
push ecx
push eax
call fcn.004bad80
add esp, 0xc
mov edx, dword [ebp - 0x18]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45697f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 2
call fcn.00469f70
mov ax, word [0x5cc2dc]
test al, al
je 0x4569d1
mov dword [ebp - 0x18], 0x1668ef4
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x4c]
sub edx, 0x110bb00
cmp dword [ebp - 0x20], 8
cmovae ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 8
push ecx
cmovae eax, dword [ebp - 0x4c]
push eax
movzx eax, word [0x5cc2dc]
push edx
push eax
call fcn.004bad80
add esp, 0x10
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
lea eax, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x38], 8
push ecx
cmovae eax, dword [ebp - 0x4c]
push eax
call fcn.00437b10
add esp, 8
test al, al
je 0x456a1c
jmp 0x4567cb
push edx
push ecx
call fcn.004b9160
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.0051bb5f
call fcn.0051bb5f
lea ecx, [ebp - 0x34]
call fcn.004200f0
push eax
lea eax, [ebp - 0xa8]
push str.Failed_to_deploy_to__S
push eax
call fcn.004b99c0
add esp, 0xc
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 6
call fcn.00415f60
push 0x5bd8e4
lea eax, [ebp - 0x70]
push eax
call fcn.00518295
int3