Function at 0x140027330
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 [0x140043040]
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, [0x140037370]
lea rdx, [0x1400373e8]
lea rcx, [rbp + 7]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x1400275b8
lea r8, [0x140037370]
lea rdx, [0x140037400]
lea rcx, [rbp + 0xf]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x1400275b8
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.140026e70
lea r8, [rbp - 0x11]
lea rdx, [rbp - 0x19]
mov rcx, qword [rbp + 0xf]
call fcn.140026e70
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.140027090
test edi, edi
jle 0x140027439
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 0x140027426
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 0x140027463
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 0x140027450
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.140003b50
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova rcx, qword [rbp + 0x17]
call fcn.14002db58
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400275d9
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x14002750c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027507
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027507
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002e2d0
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.140003b50
nop
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 7
cmova rcx, qword [rbp + 0x17]
call fcn.14002db58
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400275c4
mov rdx, qword [rbp + 0x2f]
cmp rdx, 7
jbe 0x140027593
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002758e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002758e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002e2d0
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14002e2b0
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, [0x140035390]
call fcn.140007a60
nop
shr rdx, 0x20
lea r8, [rbp + 0x17]
lea rcx, [0x140035390]
call fcn.140007a60
int3