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

Disassembly:
push 0x1c8
mov eax, 0x471be8
call fcn.0044911b
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.0040e562
add esp, 0x14
mov dword [ebp - 4], ebx
cmp dword [ebp - 0xd8], ebx
jne 0x43b8cc
push str.Failed_to_create_Downloads_folder
lea ecx, [ebp - 0x11c]
call fcn.0040487f
push 0x4939d8
lea eax, [ebp - 0x11c]
mov dword [ebp - method.std::bad_exception.virtual_0], vtable.std::runtime_error.0
push eax
call fcn.0044b5d4
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], ebx
cmp byte [0x4f1ad0], 0
mov byte [ebp - 4], 1
je 0x43b978
lea eax, [ebp - 0xa4]
push eax
call fcn.00414f11
mov dword [esp], 0x4f1e74
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
call fcn.00413587
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.00409095
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.00413b09
add esp, 0x14
lea ecx, [ebp - 0x108]
push eax
call fcn.0041b4fb
lea ecx, [ebp - 0xb8]
call fcn.00405d7f
push ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00409095
jmp 0x43b9b3
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.00413b09
add esp, 0x14
lea ecx, [ebp - 0x108]
push eax
call fcn.0041b4fb
lea ecx, [ebp - 0xb8]
call fcn.00405d7f
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00413e7b
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 0x43bbb3
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040ee00
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004135ae
add esp, 0x14
lea ecx, [ebp - 0x2c]
push eax
call fcn.004052c7
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.00409095
push ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.00409095
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 0x43ba5c
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], ebx
cmovae eax, dword [ebp - 0x44]
mov byte [eax], bl
jmp 0x43bbaa
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 8
call fcn.0043ca5c
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.004135d6
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xa
call fcn.0043cb4a
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 9
call fcn.004138cc
lea ecx, [ebp - 0xac]
call fcn.0043cc1f
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403dfb
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040d525
test eax, eax
je 0x43bb2f
mov dl, byte [0x49e0ae]
test dl, dl
je 0x43bb0d
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.00410bbc
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.00409040
lea ecx, [ebp - 0xac]
call fcn.0043cb26
jmp 0x43bba3
mov dword [ebp - 4], 6
cmp dword [ebp - 0x34], 0
jne 0x43bbc5
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 0x47bb3c
push eax
call fcn.0043c102
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.004136ed
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.00409040
test esi, esi
jne 0x43bc55
push dword [ebp - 0xf4]
lea eax, [ebp - 0xa4]
push 0x47f038
push eax
call fcn.0040efce
add esp, 0xc
lea ecx, [ebp - 0x5c]
push eax
call fcn.00411d37
lea ecx, [ebp - 0xa4]
jmp 0x43bca7
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 0x43bc6f
mov eax, dword [eax]
push dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0xa4]
push str.__s__S
push eax
call fcn.0040efce
add esp, 0x10
lea ecx, [ebp - 0x5c]
push eax
call fcn.00411d37
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.00409040
lea ecx, [ebp - 0xc4]
push ebx
push 1
call fcn.00409040
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], 0x43c0c8
mov dword [ecx], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043b01a
cmp byte [ebp + 0x14], 0
je 0x43bd36
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.00403dfb
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.004346b7
jmp 0x43bd7a
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.00403dfb
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.004344d5
add esp, 0x60
lea ecx, [ebp - 0x5c]
push ebx
push 1
call fcn.00409040
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xd
call fcn.0041098d
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.0040ee00
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004135ae
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x17
call fcn.00409095
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409900
test eax, eax
je 0x43bf6d
cmp dword [ebp - 0x1c], 0
je 0x43be6b
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 0x43be6b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x43be71
cmp byte [0x49e0ae], 0
je 0x43be71
lea eax, [ebp - 0xec]
push eax
call fcn.00413de3
push dword [eax]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
movzx eax, byte [0x49e0ae]
cmovae ecx, dword [ebp - 0x2c]
push ecx
push str.Failed_to_delete_old__S:__S
push eax
mov byte [ebp - 4], 0x18
call fcn.00410bbc
mov ecx, dword [ebp - 0xec]
add esp, 0x14
mov byte [ebp - 4], 0x17
lea ecx, [ecx - 0x10]
call fcn.0040e40e
jmp 0x43be71
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 0x43beec
call edi
cmp eax, 2
je 0x43beec
cmp byte [0x49e0ae], 0
je 0x43bee4
lea eax, [ebp - 0xec]
push eax
call fcn.00413de3
push dword [eax]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x8c]
movzx eax, byte [0x49e0ae]
cmovae ecx, dword [ebp - 0x8c]
push ecx
push str.Failed_to_delete__S:__S
push eax
mov byte [ebp - 4], 0x19
call fcn.00410bbc
mov ecx, dword [ebp - 0xec]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.0040e40e
lea eax, [ebp - 0x74]
jmp 0x43bfd2
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 0x43bf13
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.0041433a
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040ee00
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x43bf4e
mov eax, dword [eax]
push 1
push eax
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x108]
call fcn.0040821d
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.00409095
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 0x43bfcc
cmp byte [0x49e0ae], al
je 0x43bfcc
lea eax, [ebp - 0xfc]
push eax
call fcn.00413de3
push dword [eax]
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0x74]
movzx eax, byte [0x49e0ae]
cmovae ecx, dword [ebp - 0x74]
push ecx
push str.Failed_to_delete__S:__S
push eax
mov byte [ebp - 4], 0x1a
call fcn.00410bbc
mov ecx, dword [ebp - 0xfc]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.0040e40e
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.00403e50
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.00409095
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.00409095
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409095
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.00409040
lea ecx, [ebp - 0x108]
call fcn.00405d7f
push ebx
push 1
lea ecx, [ebp - 0xe8]
call fcn.00409095
mov eax, dword [ebp - 0xf8]
call fcn.00449068
ret 0x10