Function at 0x140001610
Capabilities:
Delete file
Move file

Disassembly:
mov byte [rsp + 8], cl
push rsi
push rdi
sub rsp, 0x3f8
mov rdi, rsp
mov ecx, 0xfe
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
movzx ecx, byte [rsp + 0x410]
mov rax, qword [0x140007020]
xor rax, rsp
mov qword [rsp + 0x3e0], rax
mov dword [rsp + 0x20], 0
lea r8, [0x1400045d0]
lea rdx, [rsp + 0x2b8]
lea rcx, [rsp + 0x298]
call qword [sym.imp.MSVCR100.dll__dupenv_s]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140001699
lea rcx, str.Error_fetching_USERPROFILE._n
call qword [sym.imp.MSVCR100.dll_printf]
lea rcx, [0x140004600]
call qword [sym.imp.MSVCR100.dll_perror]
mov eax, dword [rsp + 0x20]
jmp 0x140001996
lea rax, [rsp + 0x2d8]
lea rcx, str..accessibility.properties
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1b
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x318]
lea rcx, str..acce__ibility.properties
mov rdi, rax
mov rsi, rcx
mov ecx, 0x1b
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x2b8]
dec rax
cmp rax, 0xe9
ja 0x1400016f7
mov rax, qword [rsp + 0x2b8]
dec rax
cmp rax, 0xe9
jbe 0x14000171b
lea rcx, str.The_USERPROFILE_environment_variable_is_too_long._n
call qword [sym.imp.MSVCR100.dll_printf]
lea rcx, str.It_must_be_no_longer_than_233_characters._n
call qword [sym.imp.MSVCR100.dll_printf]
mov eax, 0x7b
jmp 0x140001996
mov byte [rsp + 0x40], 0
mov r8, qword [rsp + 0x298]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCR100.dll_strcat_s]
lea rdx, [rsp + 0x2d8]
lea rcx, [rsp + 0x40]
call fcn.1400027d0
mov byte [rsp + 0x170], 0
mov r8, qword [rsp + 0x298]
mov edx, 0x104
lea rcx, [rsp + 0x170]
call qword [sym.imp.MSVCR100.dll_strcat_s]
lea rdx, [rsp + 0x318]
lea rcx, [rsp + 0x170]
call fcn.1400027d0
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.MSVCR100.dll_free]
mov qword [rsp + 0x298], 0
lea r8, [0x1400045cc]
lea rdx, [rsp + 0x40]
lea rcx, [0x140007068]
call qword [sym.imp.MSVCR100.dll_fopen_s]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14000188e
movzx eax, byte [rsp + 0x410]
test eax, eax
je 0x140001881
lea r8, [0x1400045dc]
lea rdx, [rsp + 0x40]
lea rcx, [0x140007068]
call qword [sym.imp.MSVCR100.dll_fopen_s]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140001819
lea rdx, [rsp + 0x40]
lea rcx, str.Couldnt_create_file:__s_n
call qword [sym.imp.MSVCR100.dll_printf]
lea rcx, [0x1400046cc]
call qword [sym.imp.MSVCR100.dll_perror]
jmp 0x14000187f
lea rax, [rsp + 0x360]
lea rcx, str.assistive_technologiescom.sun.java.accessibility.AccessBridge_n
mov rdi, rax
mov rsi, rcx
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x3a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x24
rep stosb byte [rdi], al
lea rdx, str.screen_magnifier_presenttrue_n
lea rcx, [rsp + 0x360]
call fcn.140002810
lea rdx, [rsp + 0x360]
mov rcx, qword [0x140007068]
call qword [sym.imp.MSVCR100.dll_fprintf]
mov rcx, qword [0x140007068]
call qword [sym.imp.MSVCR100.dll_fclose]
jmp 0x140001889
mov dword [rsp + 0x20], 0
jmp 0x140001992
lea r8, [0x140004624]
lea rdx, [rsp + 0x170]
lea rcx, [0x140007060]
call qword [sym.imp.MSVCR100.dll_fopen_s]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400018e0
lea rdx, [rsp + 0x170]
lea rcx, str.Couldnt_open_temp_file:__s_n
call qword [sym.imp.MSVCR100.dll_printf]
lea rcx, [0x1400046f8]
call qword [sym.imp.MSVCR100.dll_perror]
mov eax, dword [rsp + 0x20]
jmp 0x140001996
movzx eax, byte [rsp + 0x410]
test eax, eax
je 0x1400018f3
call fcn.1400010a0
jmp 0x1400018f8
call fcn.140001420
mov rcx, qword [0x140007068]
call qword [sym.imp.MSVCR100.dll_fclose]
mov rcx, qword [0x140007060]
call qword [sym.imp.MSVCR100.dll_fclose]
lea rcx, [rsp + 0x40]
call qword [sym.imp.MSVCR100.dll_remove]
test eax, eax
je 0x14000194a
lea rdx, [rsp + 0x40]
lea rcx, str.Couldnt_remove_file:__s_n
call qword [sym.imp.MSVCR100.dll_printf]
lea rcx, [0x14000477c]
call qword [sym.imp.MSVCR100.dll_perror]
call qword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [rax]
jmp 0x140001996
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x170]
call qword [sym.imp.MSVCR100.dll_rename]
test eax, eax
je 0x140001992
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x170]
lea rcx, str.Couldnt_rename__s_to__s._n
call qword [sym.imp.MSVCR100.dll_printf]
lea rcx, str.Error
call qword [sym.imp.MSVCR100.dll_perror]
call qword [sym.imp.MSVCR100.dll__errno]
mov eax, dword [rax]
jmp 0x140001996
mov eax, dword [rsp + 0x20]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1400051f0]
call fcn.1400029d0
mov rax, rdi
mov rcx, qword [rsp + 0x3e0]
xor rcx, rsp
call fcn.1400029b0
add rsp, 0x3f8
pop rdi
pop rsi
ret