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

Disassembly:
push 0x1e8
mov eax, 0x464b61
call fcn.00447f48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x104], eax
xor eax, eax
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x10c], ebx
cmp byte [edi + 4], bl
push 1
setne al
push str.Downloads
push 1
mov esi, edx
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0xf8], esi
dec eax
and eax, 2
push eax
lea eax, [ebp - 0xec]
push eax
call fcn.0042aa80
add esp, 0x14
mov dword [ebp - 4], ebx
cmp dword [ebp - 0xd8], ebx
jne 0x43b249
push str.Failed_to_create_Downloads_folder
lea ecx, [ebp - 0xa4]
call fcn.004084cc
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x164]
push eax
mov byte [ebp - 4], 1
call fcn.00401281
push 0x47b878
lea eax, [ebp - 0x164]
push eax
call fcn.00447fb3
xor eax, eax
cmp byte [edi + 4], bl
push ebx
sete al
push ebx
push str.SoftwareTRSBLXRegETags
add eax, 0x80000001
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0042720b
add esp, 0x14
lea eax, [ebp - 0x100]
push eax
mov ecx, esi
lea ebx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00427171
pop ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x3c], ebx
je 0x43b43d
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x134]
call fcn.0042a528
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 5
call fcn.0040b8bc
add esp, 0xc
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.004098a1
push ebx
push 1
lea esi, [ebp - 0xa4]
call fcn.00409a53
push ebx
push 1
lea esi, [ebp - 0x134]
mov byte [ebp - 4], 4
call fcn.00409a53
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x43b306
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43b31f
lea eax, [ebp - 0x50]
push eax
call fcn.0042ef96
jmp 0x43b437
lea eax, [ebp - 0xd0]
push eax
mov byte [ebp - 4], 7
call fcn.0043dcdf
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x43b33f
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1f4]
push eax
call fcn.00428f2f
lea ecx, [ebp - 0xd0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 9
call fcn.0043ddb3
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 8
call fcn.00416891
lea edi, [ebp - 0xd0]
call fcn.0043de5e
mov eax, edi
push eax
lea ecx, [ebp - 0xa4]
call fcn.004084ee
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x38], 0x10
mov eax, dword [ebp - 0x4c]
jae 0x43b396
lea eax, [ebp - 0x4c]
mov ebx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x90]
push eax
lea eax, [ebp - 0xa4]
call fcn.00409764
test eax, eax
je 0x43b410
cmp dword [ebp - 0x8c], 0x10
mov edi, dword [ebp - 0xa0]
jae 0x43b3c4
lea edi, [ebp - 0xa0]
cmp dword [ebp - 0x38], 0x10
mov esi, dword [ebp - 0x4c]
jae 0x43b3d0
lea esi, [ebp - 0x4c]
mov eax, dword [ebp - 0xf0]
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0xc]
push edi
push esi
push dword [ebp - 0xf8]
mov esi, eax
push str.WARNING:_etag_and_hash_dont_match_for__S:_etag_s_hash_s
call fcn.0040939b
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.0042ef96
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x43b409
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0xa4]
call fcn.004097af
lea esi, [ebp - 0xd0]
call fcn.0043dd93
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0xf0]
cmp dword [ebp - 0x3c], 0
jne 0x43b445
lea eax, [ebp - 0x34]
call fcn.0043c091
mov ecx, 0x46a518
lea ebx, [ebp - 0x6c]
call fcn.004092d7
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x43b462
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x1f4]
push eax
push 0x20
pop ecx
call fcn.00408975
xor ebx, ebx
push ebx
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x8c], 0xf
call fcn.0040a537
mov byte [ebp - 4], 0xf
mov ecx, dword [edi]
mov eax, dword [ecx]
lea edx, [ebp - 0x134]
push edx
call dword [eax + 8]
cmp dword [eax + 0x14], ebx
push ebx
push 1
lea ecx, [ebp - 0x134]
sete byte [ebp - 0xf1]
call fcn.004097af
cmp byte [ebp - 0xf1], bl
je 0x43b56a
push dword [ebp - 0xf8]
lea esi, [ebp - 0x134]
push 0x473c1c
call fcn.0042a6df
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x10
call fcn.00409640
mov ecx, esi
jmp 0x43b5c7
mov ecx, dword [edi]
mov eax, dword [ecx]
lea edx, [ebp - 0xc8]
push edx
call dword [eax + 8]
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x18], 0x10
jb 0x43b587
mov eax, dword [eax + 4]
jmp 0x43b58a
add eax, 4
push dword [ebp - 0xf8]
lea esi, [ebp - 0x134]
push eax
push str.__s__S
call fcn.0042a6df
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0x12
call fcn.00409640
push ebx
push 1
mov ecx, esi
call fcn.004097af
lea ecx, [ebp - 0xc8]
push ebx
push 1
call fcn.004097af
mov edi, dword [edi]
mov eax, dword [ebp + 0xc]
sub esp, 0x20
cmp byte [ebp + 0x10], bl
mov dword [ebp - 0x118], 0x43b194
lea esi, [ebp - 0x118]
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], esp
mov ebx, esp
je 0x43b660
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043c13c
push 0
lea eax, [ebp - 0x50]
push eax
sub esp, 0x1c
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0xa4]
mov ecx, esp
mov dword [ebp - 0x108], esp
push eax
lea esi, [ebp - 0x1f4]
call fcn.004084ee
mov byte [ebp - 4], 0x14
mov ebx, dword [ebp - 0xf0]
mov ecx, dword [ebx]
mov eax, dword [ecx]
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0xf0], esp
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov ecx, dword [ebx]
mov edx, esi
call fcn.0042ed22
jmp 0x43b6c0
sub esp, 0xc
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0043c13c
push 0
lea eax, [ebp - 0x50]
push eax
sub esp, 0x1c
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xa4]
mov ecx, esp
mov dword [ebp - 0x108], esp
push eax
lea edi, [ebp - 0x1f4]
call fcn.004084ee
mov byte [ebp - 4], 0x16
mov esi, dword [ebp - 0xf0]
mov ecx, dword [esi]
mov eax, dword [ecx]
sub esp, 0x1c
mov edx, esp
mov dword [ebp - 0x13c], esp
push edx
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov edx, dword [esi]
mov ecx, edi
call fcn.0042d3dc
mov ebx, esi
add esp, 0x60
push 0
push 1
lea ecx, [ebp - 0xa4]
call fcn.004097af
lea eax, [ebp - 0x1f4]
mov byte [ebp - 4], 0xd
call fcn.00406489
mov ecx, dword [ebx]
mov eax, dword [ecx]
call dword [eax + 0x14]
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0xc8]
call fcn.0042a528
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x88]
push eax
mov byte [ebp - 4], 0x17
call fcn.0040b8bc
add esp, 0xc
push 0
push 1
lea esi, [ebp - 0xc8]
mov byte [ebp - 4], 0x19
call fcn.00409a53
cmp dword [ebp - 0x70], 8
mov eax, dword [ebp - 0x84]
jae 0x43b736
lea eax, [ebp - 0x84]
mov edi, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
call fcn.0040c0a9
test eax, eax
je 0x43b8cf
cmp dword [ebp - 0x20], 0
je 0x43b7bb
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x43b75f
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43b7bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43b7bb
lea eax, [ebp - 0xf0]
push eax
call fcn.004270cf
pop ecx
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x1c], 8
mov eax, dword [eax]
mov edx, dword [ebp - 0x30]
jae 0x43b794
lea edx, [ebp - 0x30]
mov ecx, dword [ebx]
push eax
mov eax, dword [ecx]
push edx
push str.Failed_to_delete_old__S:__S
call dword [eax + 0xc]
mov esi, eax
call fcn.0040939b
add esp, 0xc
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0x19
call fcn.0040f17c
mov eax, dword [ebp - 0x84]
push 8
pop esi
cmp dword [ebp - 0x70], esi
jae 0x43b7cf
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43b83a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x43b83a
lea eax, [ebp - 0xf8]
push eax
call fcn.004270cf
pop ecx
mov byte [ebp - 4], 0x1b
mov eax, dword [eax]
mov ecx, dword [ebp - 0x84]
cmp dword [ebp - 0x70], esi
jae 0x43b809
lea ecx, [ebp - 0x84]
mov ebx, dword [ebx]
push eax
mov eax, dword [ebx]
push ecx
push str.Failed_to_delete__S:__S
mov ecx, ebx
call dword [eax + 0xc]
mov esi, eax
call fcn.0040939b
add esp, 0xc
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 0x19
call fcn.0040f17c
lea eax, [ebp - 0x6c]
jmp 0x43b932
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x43b845
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xac]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x43b862
mov eax, dword [ebp - 0x8c]
add dword [ebx + 8], eax
mov edx, dword [ebp - 0x84]
cmp dword [ebp - 0x70], esi
jae 0x43b873
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x54], esi
jae 0x43b87e
lea eax, [ebp - 0x68]
mov ecx, dword [ebx]
push edx
push eax
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, eax
call fcn.0042745c
pop ecx
pop ecx
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x134]
call fcn.0042a528
cmp dword [eax + 0x18], esi
jb 0x43b8a8
mov eax, dword [eax + 4]
jmp 0x43b8ab
add eax, 4
push 1
push eax
push dword [ebp - 0xf8]
lea eax, [ebp - 0x100]
push eax
call fcn.0040cf04
push 0
push 1
lea esi, [ebp - 0x134]
call fcn.00409a53
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x43b8db
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x43b92c
lea eax, [ebp - 0x108]
push eax
call fcn.004270cf
pop ecx
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x54], 8
mov eax, dword [eax]
mov edx, dword [ebp - 0x68]
jae 0x43b905
lea edx, [ebp - 0x68]
mov ecx, dword [ebx]
push eax
mov eax, dword [ecx]
push edx
push str.Failed_to_delete__S:__S
call dword [eax + 0xc]
mov esi, eax
call fcn.0040939b
add esp, 0xc
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0x19
call fcn.0040f17c
lea eax, [ebp - 0x88]
mov esi, dword [ebp - 0x104]
push eax
call fcn.004085aa
xor edi, edi
xor ebx, ebx
push edi
inc ebx
push ebx
lea esi, [ebp - 0x88]
call fcn.00409a53
push edi
push ebx
lea esi, [ebp - 0x6c]
call fcn.00409a53
push edi
push ebx
lea esi, [ebp - 0x34]
call fcn.00409a53
push edi
push ebx
lea ecx, [ebp - 0x50]
call fcn.004097af
cmp dword [ebp - 0x100], edi
je 0x43b988
push dword [ebp - 0x100]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x100], edi
push edi
push ebx
lea esi, [ebp - 0xec]
mov dword [ebp - 0xfc], edi
call fcn.00409a53
mov eax, dword [ebp - 0x104]
call fcn.00447fa4
ret 0xc