Function at 0x140057930
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400e3040]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rdi, rcx
xor r12d, r12d
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
lea rax, [rbp + 0xb0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], r12b
jne 0x1400579a0
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x48]
call fcn.1400396d0
nop
lea rbx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x140057a48
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp + 8], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp + 0xd]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0xc], 1
lea rax, [rsi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rbx
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x50], 0
jne 0x140057a43
nop dword [rax + rax]
cmp r8, rbx
je 0x140057a48
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x50], 0
je 0x140057a30
sub r8, rbx
jmp 0x140057a4f
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
inc r8
cmp rsi, r8
cmovb r8, rsi
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x68]
call fcn.1400396d0
nop
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rsp + 0x78]
sub rax, rdx
cmp rax, rcx
jb 0x140057be8
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova r9, qword [rsp + 0x68]
cmp qword [rdi + 0x18], 0xf
jbe 0x140057abf
mov rdi, qword [rdi]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x78]
call fcn.14005d520
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
mov rdx, qword [rbp - 0x60]
cmp rdx, 0xf
jbe 0x140057b30
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057b2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057b2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005e314
movdqa xmm0, xmmword [0x1400d7c90]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140057b81
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057b7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057b7b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005e314
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x140057bc1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057bbc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057bbc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005e314
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14005df00
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret
call fcn.1400382d0
nop
int3