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

Disassembly:
push 0x1c8
mov eax, 0x471ebf
call fcn.0044931d
mov edi, ecx
mov dword [ebp - 0xf0], edi
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp byte [edi + 4], cl
push 1
push str.Downloads
push 1
mov dword [ebp - 0xf8], eax
push 2
pop eax
cmovne eax, ecx
mov dword [ebp - 0xec], edi
push eax
lea eax, [ebp - 0xe8]
mov dword [ebp - 0xf4], esi
push eax
mov dword [ebp - 0x10c], ebx
call fcn.0040e1f3
add esp, 0x14
mov dword [ebp - 4], ebx
cmp dword [ebp - 0xd8], ebx
jne 0x43b9e2
push str.Failed_to_create_Downloads_folder
lea ecx, [ebp - 0x11c]
call fcn.004043f7
push 0x4938d0
lea eax, [ebp - 0x11c]
mov dword [ebp - method.std::bad_exception.virtual_0], vtable.std::runtime_error.0
push eax
call fcn.0044b7c4
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], ebx
cmp byte [0x4f0ac0], 0
mov byte [ebp - 4], 1
je 0x43ba8e
lea eax, [ebp - 0xa4]
push eax
call fcn.00414ca5
mov dword [esp], 0x4f0e60
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
call fcn.004132a5
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00408c9a
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push ebx
cmovae eax, dword [ebp - 0x5c]
push ebx
push eax
xor eax, eax
cmp byte [edi + 4], al
sete al
add eax, 0x80000001
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0041386c
add esp, 0x14
lea ecx, [ebp - 0x108]
push eax
call fcn.0041b279
lea ecx, [ebp - 0xb8]
call fcn.00405901
push ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00408c9a
jmp 0x43bac9
xor eax, eax
cmp byte [edi + 4], al
push ebx
push ebx
sete al
add eax, 0x80000001
push str.SoftwareRobloxRegETags
push eax
lea eax, [ebp - 0xb8]
push eax
call fcn.0041386c
add esp, 0x14
lea ecx, [ebp - 0x108]
push eax
call fcn.0041b279
lea ecx, [ebp - 0xb8]
call fcn.00405901
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00413bde
add esp, 0xc
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x34], eax
je 0x43bcc9
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040eabd
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004132cc
add esp, 0x14
lea ecx, [ebp - 0x2c]
push eax
call fcn.00404e69
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.00408c9a
push ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.00408c9a
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43bb72
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], ebx
cmovae eax, dword [ebp - 0x44]
mov byte [eax], bl
jmp 0x43bcc0
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 8
call fcn.0043cc5a
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push 1
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1d4]
push 0x40
push 0x20
push eax
mov byte [ebp - 4], 9
call fcn.004132f4
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xa
call fcn.0043cd48
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 9
call fcn.0041362f
lea ecx, [ebp - 0xac]
call fcn.0043ce1d
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040395e
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040d184
test eax, eax
je 0x43bc45
mov dl, byte [0x49d082]
test dl, dl
je 0x43bc23
cmp dword [ebp - 0x48], 0x10
lea ecx, [ebp - 0x5c]
lea eax, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x5c]
cmp dword [ebp - 0x30], 0x10
push ecx
cmovae eax, dword [ebp - 0x44]
push eax
push esi
movzx eax, dl
push str.WARNING:_etag_and_hash_dont_match_for__S:_etag_s_hash_s
push eax
call fcn.00410896
add esp, 0x14
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], ebx
cmovae eax, dword [ebp - 0x44]
mov byte [eax], bl
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00408c45
lea ecx, [ebp - 0xac]
call fcn.0043cd24
jmp 0x43bcb9
mov dword [ebp - 4], 6
cmp dword [ebp - 0x34], 0
jne 0x43bcdb
mov ecx, dword [ebp - 0x18]
cmp ecx, 8
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x74]
push 0x47ba5c
push eax
call fcn.0043c23d
pop ecx
pop ecx
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
push 1
cmovae eax, dword [ebp - 0x74]
lea ecx, [ebp - 0x1cc]
push 0x40
push 0x20
push eax
mov byte [ebp - 4], 0xd
call fcn.0041340b
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x5c], bl
mov ecx, dword [edi]
lea edx, [ebp - 0xa4]
push edx
mov byte [ebp - 4], 0xf
mov eax, dword [ecx]
call dword [eax + 8]
push ebx
push 1
lea ecx, [ebp - 0xa4]
mov esi, dword [eax + 0x10]
call fcn.00408c45
test esi, esi
jne 0x43bd6b
push dword [ebp - 0xf4]
lea eax, [ebp - 0xa4]
push 0x47ef78
push eax
call fcn.0040ec8b
add esp, 0xc
lea ecx, [ebp - 0x5c]
push eax
call fcn.00404e18
lea ecx, [ebp - 0xa4]
jmp 0x43bdbd
mov ecx, dword [edi]
lea edx, [ebp - 0xc4]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 0x10
jb 0x43bd85
mov eax, dword [eax]
push dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0xa4]
push str.__s__S
push eax
call fcn.0040ec8b
add esp, 0x10
lea ecx, [ebp - 0x5c]
push eax
call fcn.00404e18
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.00408c45
lea ecx, [ebp - 0xc4]
push ebx
push 1
call fcn.00408c45
mov ecx, dword [edi]
lea esi, [ebp - 0xb8]
mov eax, dword [ebp + 0x10]
sub esp, 0x20
mov dword [ebp - 0xb0], ecx
mov ecx, esp
mov dword [ebp - 0xfc], esp
sub esp, 0xc
mov edi, esp
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb8], 0x43c203
mov dword [ecx], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043b113
cmp byte [ebp + 0x14], 0
je 0x43be4c
push ebx
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x44]
push eax
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.0040395e
mov esi, dword [ebp - 0xf0]
sub esp, 0x18
mov byte [ebp - 4], 0x12
mov ecx, dword [esi]
push esp
mov edx, dword [ecx]
call dword [edx + 4]
push dword [esi]
mov byte [ebp - 4], 0xf
call fcn.004345ac
jmp 0x43be90
push ebx
lea eax, [ebp - 0x1cc]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x44]
push eax
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0xec], esp
push eax
call fcn.0040395e
mov esi, dword [ebp - 0xf0]
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, dword [esi]
push esp
mov edx, dword [ecx]
call dword [edx + 4]
push dword [esi]
mov byte [ebp - 4], 0xf
call fcn.004343ca
add esp, 0x60
cmp byte [0x4f0acd], 0
je 0x43beb8
lea eax, [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x1cc]
call fcn.00436ffd
mov ecx, eax
mov eax, dword [ecx + 8]
add eax, dword [ecx]
add dword [esi + 0xc], eax
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00408c45
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xd
call fcn.00410640
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040eabd
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004132cc
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x17
call fcn.00408c9a
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409505
test eax, eax
je 0x43c0a8
cmp dword [ebp - 0x1c], 0
je 0x43bfa6
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43bfa6
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x43bfac
cmp byte [0x49d082], 0
je 0x43bfac
lea eax, [ebp - 0xec]
push eax
call fcn.00413b46
push dword [eax]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
movzx eax, byte [0x49d082]
cmovae ecx, dword [ebp - 0x2c]
push ecx
push str.Failed_to_delete_old__S:__S
push eax
mov byte [ebp - 4], 0x18
call fcn.00410896
mov ecx, dword [ebp - 0xec]
add esp, 0x14
mov byte [ebp - 4], 0x17
lea ecx, [ecx - 0x10]
call fcn.0040e07f
jmp 0x43bfac
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x78], 8
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43c027
call edi
cmp eax, 2
je 0x43c027
cmp byte [0x49d082], 0
je 0x43c01f
lea eax, [ebp - 0xec]
push eax
call fcn.00413b46
push dword [eax]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x8c]
movzx eax, byte [0x49d082]
cmovae ecx, dword [ebp - 0x8c]
push ecx
push str.Failed_to_delete__S:__S
push eax
mov byte [ebp - 4], 0x19
call fcn.00410896
mov ecx, dword [ebp - 0xec]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.0040e07f
lea eax, [ebp - 0x74]
jmp 0x43c10d
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0xd0]
push ecx
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x43c04e
mov eax, dword [ebp - 0xb0]
add dword [esi + 8], eax
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x8c]
lea eax, [ebp - 0x74]
cmovae ecx, dword [ebp - 0x8c]
cmp dword [ebp - 0x60], 8
push ecx
cmovae eax, dword [ebp - 0x74]
push eax
call fcn.004140ce
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040eabd
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x43c089
mov eax, dword [eax]
push 1
push eax
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x108]
call fcn.00407e66
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00408c9a
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43c107
cmp byte [0x49d082], al
je 0x43c107
lea eax, [ebp - 0xfc]
push eax
call fcn.00413b46
push dword [eax]
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0x74]
movzx eax, byte [0x49d082]
cmovae ecx, dword [ebp - 0x74]
push ecx
push str.Failed_to_delete__S:__S
push eax
mov byte [ebp - 4], 0x1a
call fcn.00410896
mov ecx, dword [ebp - 0xfc]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.0040e07f
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.004039b3
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.00408c9a
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.00408c9a
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00408c9a
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00408c45
lea ecx, [ebp - 0x108]
call fcn.00405901
push ebx
push 1
lea ecx, [ebp - 0xe8]
call fcn.00408c9a
mov eax, dword [ebp - 0xf8]
call fcn.0044926a
ret 0x10