Function at 0x14004ab50
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 [0x1400d9040]
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 0x14004abc0
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x48]
call fcn.14002fc00
nop
lea rbx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0xf
cmova rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
test rsi, rsi
je 0x14004ac68
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 0x14004ac63
nop dword [rax + rax]
cmp r8, rbx
je 0x14004ac68
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax - 0x50], 0
je 0x14004ac50
sub r8, rbx
jmp 0x14004ac6f
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.14002fc00
nop
mov rcx, qword [rdi + 0x10]
movabs rax, 0x7fffffffffffffff
mov rdx, qword [rsp + 0x78]
sub rax, rdx
cmp rax, rcx
jb 0x14004ae08
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova r9, qword [rsp + 0x68]
cmp qword [rdi + 0x18], 0xf
jbe 0x14004acdf
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.140051d60
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 0x14004ad50
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ad4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ad4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053264
movdqa xmm0, xmmword [0x1400ccc80]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x14004ada1
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ad9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004ad9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053264
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0xf
jbe 0x14004ade1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004addc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004addc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140053264
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140052e50
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.14002e810
nop
int3