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

Disassembly:
push 0x1c8
mov eax, 0x4718f2
call fcn.00448e55
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.0040e65e
add esp, 0x14
mov dword [ebp - 4], ebx
cmp dword [ebp - 0xd8], ebx
jne 0x43b50c
push str.Failed_to_create_Downloads_folder
lea ecx, [ebp - 0x11c]
call fcn.00404864
push 0x493804
lea eax, [ebp - 0x11c]
mov dword [ebp - method.std::bad_alloc.virtual_0], vtable.std::runtime_error.0
push eax
call fcn.0044b334
mov dword [ebp - 0x108], ebx
mov dword [ebp - 0x104], ebx
mov dword [ebp - 0x100], ebx
cmp byte [0x4f0be0], 0
mov byte [ebp - 4], 1
je 0x43b5b8
lea eax, [ebp - 0xa4]
push eax
call fcn.00414e74
mov dword [esp], 0x4f0f6c
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 2
push eax
call fcn.00413541
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 4
call fcn.0040905f
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.00413ac3
add esp, 0x14
lea ecx, [ebp - 0x108]
push eax
call fcn.0041b633
lea ecx, [ebp - 0xb8]
call fcn.00405dcd
push ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0040905f
jmp 0x43b5f3
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.00413ac3
add esp, 0x14
lea ecx, [ebp - 0x108]
push eax
call fcn.0041b633
lea ecx, [ebp - 0xb8]
call fcn.00405dcd
push esi
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00413ddb
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 0x43b7f3
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040eefc
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00413568
add esp, 0x14
lea ecx, [ebp - 0x2c]
push eax
call fcn.00405335
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.0040905f
push ebx
push 1
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.0040905f
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 0x43b69c
cmp dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x44]
mov dword [ebp - 0x34], ebx
cmovae eax, dword [ebp - 0x44]
mov byte [eax], bl
jmp 0x43b7ea
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 8
call fcn.0043c6c8
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.00413590
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0xa
call fcn.0043c7b6
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 9
call fcn.00413886
lea ecx, [ebp - 0xac]
call fcn.0043c88b
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00403de0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xb
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040d601
test eax, eax
je 0x43b76f
mov dl, byte [0x49d0fe]
test dl, dl
je 0x43b74d
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.00410c9b
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.0040900a
lea ecx, [ebp - 0xac]
call fcn.0043c792
jmp 0x43b7e3
mov dword [ebp - 4], 6
cmp dword [ebp - 0x34], 0
jne 0x43b805
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 0x47bad4
push eax
call fcn.0043bd61
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.004136a7
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.0040900a
test esi, esi
jne 0x43b895
push dword [ebp - 0xf4]
lea eax, [ebp - 0xa4]
push 0x47ed80
push eax
call fcn.0040f0ca
add esp, 0xc
lea ecx, [ebp - 0x5c]
push eax
call fcn.004052e4
lea ecx, [ebp - 0xa4]
jmp 0x43b8e7
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 0x43b8af
mov eax, dword [eax]
push dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0xa4]
push str.__s__S
push eax
call fcn.0040f0ca
add esp, 0x10
lea ecx, [ebp - 0x5c]
push eax
call fcn.004052e4
push ebx
push 1
lea ecx, [ebp - 0xa4]
call fcn.0040900a
lea ecx, [ebp - 0xc4]
push ebx
push 1
call fcn.0040900a
cmp byte [ebp + 0x14], 0
lea esi, [ebp - 0xb8]
mov ecx, dword [edi]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb8], 0x43bd27
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xb4], eax
je 0x43b979
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xfc], esp
sub esp, 0xc
mov edi, esp
mov dword [ecx], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043ac5a
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.00403de0
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.00434479
add esp, 0x60
jmp 0x43b9dc
push 1
sub esp, 0x20
mov ecx, esp
mov dword [ebp - 0xfc], esp
sub esp, 0xc
mov edi, esp
mov dword [ecx], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043ac5a
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.00403de0
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.00434291
add esp, 0x64
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.0040900a
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0xd
call fcn.00410a49
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.0040eefc
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00413568
add esp, 0x14
push ebx
push 1
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x17
call fcn.0040905f
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004098ca
test eax, eax
je 0x43bbcc
cmp dword [ebp - 0x1c], 0
je 0x43baca
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 0x43baca
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
cmp eax, 2
je 0x43bad0
cmp byte [0x49d0fe], 0
je 0x43bad0
lea eax, [ebp - 0xec]
push eax
call fcn.00413d43
push dword [eax]
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x2c]
movzx eax, byte [0x49d0fe]
cmovae ecx, dword [ebp - 0x2c]
push ecx
push str.Failed_to_delete_old__S:__S
push eax
mov byte [ebp - 4], 0x18
call fcn.00410c9b
mov ecx, dword [ebp - 0xec]
add esp, 0x14
mov byte [ebp - 4], 0x17
lea ecx, [ecx - 0x10]
call fcn.0040e4ea
jmp 0x43bad0
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 0x43bb4b
call edi
cmp eax, 2
je 0x43bb4b
cmp byte [0x49d0fe], 0
je 0x43bb43
lea eax, [ebp - 0xec]
push eax
call fcn.00413d43
push dword [eax]
cmp dword [ebp - 0x78], 8
lea ecx, [ebp - 0x8c]
movzx eax, byte [0x49d0fe]
cmovae ecx, dword [ebp - 0x8c]
push ecx
push str.Failed_to_delete__S:__S
push eax
mov byte [ebp - 4], 0x19
call fcn.00410c9b
mov ecx, dword [ebp - 0xec]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.0040e4ea
lea eax, [ebp - 0x74]
jmp 0x43bc31
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 0x43bb72
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.0041429a
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0040eefc
add esp, 0x10
cmp dword [eax + 0x14], 8
jb 0x43bbad
mov eax, dword [eax]
push 1
push eax
push dword [ebp - 0xf4]
lea ecx, [ebp - 0x108]
call fcn.00408257
push ebx
push 1
lea ecx, [ebp - 0x5c]
call fcn.0040905f
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 0x43bc2b
cmp byte [0x49d0fe], al
je 0x43bc2b
lea eax, [ebp - 0xfc]
push eax
call fcn.00413d43
push dword [eax]
cmp dword [ebp - 0x60], 8
lea ecx, [ebp - 0x74]
movzx eax, byte [0x49d0fe]
cmovae ecx, dword [ebp - 0x74]
push ecx
push str.Failed_to_delete__S:__S
push eax
mov byte [ebp - 4], 0x1a
call fcn.00410c9b
mov ecx, dword [ebp - 0xfc]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.0040e4ea
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0xf8]
push eax
call fcn.00403e35
push ebx
push 1
lea ecx, [ebp - 0x8c]
call fcn.0040905f
push ebx
push 1
lea ecx, [ebp - 0x74]
call fcn.0040905f
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040905f
push ebx
push 1
lea ecx, [ebp - 0x44]
call fcn.0040900a
lea ecx, [ebp - 0x108]
call fcn.00405dcd
push ebx
push 1
lea ecx, [ebp - 0xe8]
call fcn.0040905f
mov eax, dword [ebp - 0xf8]
call fcn.00448da2
ret 0x10