Function at 0x14002af20
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov rax, qword [0x140048040]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rbx, rax
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
imul rax, rbx, 0x2710
mov rcx, qword [rbp - 0x19]
sub rcx, rax
mov qword [rbp - 9], rcx
lea rdx, [rbp + 0x37]
lea rcx, [rbp - 9]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [0x14003b660]
lea rdx, [0x14003b6d8]
lea rcx, [rbp + 7]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x14002b1a8
lea r8, [0x14003b660]
lea rdx, [0x14003b6f0]
lea rcx, [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x14002b1a8
mov qword [rbp - 9], r12
mov qword [rbp - 0x19], r12
lea r8, [rbp - 1]
lea rdx, [rbp - 9]
mov rcx, qword [rbp + 7]
call fcn.14002aa80
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x19]
mov rcx, qword [rbp + 0xf]
call fcn.14002aa80
mov r9d, dword [rbp - 0x11]
mov r8, qword [rbp - 0x19]
mov edi, dword [rbp - 1]
mov edx, edi
mov rcx, qword [rbp - 9]
call fcn.14002ac80
test edi, edi
jle 0x14002b029
mov rbx, qword [rbp - 9]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x14002b016
mov rcx, qword [rbp - 9]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp dword [rbp - 0x11], r12d
jle 0x14002b053
mov rbx, qword [rbp - 0x19]
mov edi, dword [rbp - 0x11]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x14002b040
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 7]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r12
mov qword [rbp + 0x2f], r12
mov r8d, 0x15
lea rdx, str.new_renamed_files.txt
lea rcx, [rbp + 0x17]
call fcn.140003b40
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova rcx, qword [rbp + 0x17]
call fcn.1400314d4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14002b1c9
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x14002b0fc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b0f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002b0f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140031aa0
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r12
mov qword [rbp + 0x2f], r12
mov r8d, 0x15
lea rdx, str.old_renamed_files.txt
lea rcx, [rbp + 0x17]
call fcn.140003b40
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova rcx, qword [rbp + 0x17]
call fcn.1400314d4
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14002b1b4
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x14002b183
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b17e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002b17e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140031aa0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140031a80
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
shr rdx, 0x20
lea r8, [rbp + 0x17]
lea rcx, [0x14003939c]
call fcn.140014e30
nop
shr rdx, 0x20
lea r8, [rbp + 0x17]
lea rcx, [0x14003939c]
call fcn.140014e30
int3