Function at 0x7ff76107cb70
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x180]
sub rsp, 0x280
xor esi, esi
mov dword [rbp + reloc.ucrtbase.dll_free], esi
mov r8d, 0x104
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rsi
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], sil
jne 0x7ff76107cbc3
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x50]
call fcn.7ff76107b960
nop
mov rdi, qword [rbp - 0x40]
lea rbx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rbx, qword [rbp - 0x50]
call fcn.7ff76114f3fc
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], rdi
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x70]
call fcn.7ff76107ac50
nop
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea r11, [rcx + rax*2]
mov r10, r11
mov rdx, r11
call fcn.7ff76107adb0
cmp rax, r11
je 0x7ff76107cc4d
lea rcx, [r10 - 2]
movzx edx, word [rcx]
cmp dx, 0x5c
je 0x7ff76107cc4d
cmp dx, 0x2f
je 0x7ff76107cc4d
mov r10, rcx
cmp rax, rcx
jne 0x7ff76107cc32
mov qword [rsp + 0x20], r10
sub r11, r10
sar r11, 1
mov qword [rsp + 0x28], r11
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.7ff7610866c0
nop
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
call fcn.7ff76114f3fc
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp - 0x10]
call fcn.7ff761086b80
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x7ff76107ccf4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76107ccee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76107ccee
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff76114f9c4
nop
movups xmm0, xmmword [0x7ff76118b718]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [0x7ff76118b728]
movups xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [0x7ff76118b738]
movups xmmword [rbp + 0x50], xmm0
movsd xmm0, qword [0x7ff76118b748]
movsd qword [rbp + 0x60], xmm0
mov eax, dword [0x7ff76118b750]
mov dword [rbp + 0x68], eax
movzx eax, word [0x7ff76118b754]
mov word [rbp + 0x6c], ax
movzx eax, byte [0x7ff76118b756]
mov byte [rbp + 0x6e], al
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
mov dword [rbp + reloc.ucrtbase.dll_free], 0x7f
mov qword [rsp + 0x40], 0xa
xor eax, eax
mov qword [rsp + 0x30], rax
mov word [rsp + 0x38], ax
mov byte [rsp + 0x3a], al
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__time64]
mov rcx, rax
call qword [sym.imp.ucrtbase.dll_srand]
mov rbx, rsi
movabs rdi, 0x842108421084211
call qword [sym.imp.ucrtbase.dll_rand]
movsxd rcx, eax
mov rax, rdi
mul rcx
mov rax, rcx
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 5
imul rax, rax, 0x3e
sub rcx, rax
movzx ecx, byte [rbp + rcx + 0x30]
lea rax, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rax, qword [rsp + 0x30]
mov byte [rax + rbx], cl
inc rbx
cmp rbx, 0xa
jb 0x7ff76107cd97
mov r8d, 4
lea rdx, [0x7ff76118b758]
lea rcx, [rsp + 0x30]
call fcn.7ff761085570
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x7ff76107ce65
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76107ce60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76107ce60
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff76114f9c4
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], 0xf
mov byte [rsp + 0x30], 0
lea r11, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae r11, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea rdx, [r11 + rax*2]
mov rcx, r11
call fcn.7ff76107adb0
mov r10, rax
cmp rax, rdx
je 0x7ff76107ceeb
nop
lea rcx, [rdx - 2]
movzx r8d, word [rcx]
cmp r8w, 0x5c
je 0x7ff76107cec0
cmp r8w, 0x2f
je 0x7ff76107cec0
mov rdx, rcx
cmp r10, rcx
jne 0x7ff76107cea0
jmp 0x7ff76107ceeb
cmp r10, rdx
je 0x7ff76107ceeb
nop word [rax + rax]
lea rax, [rdx - 2]
movzx ecx, word [rax]
cmp cx, 0x5c
je 0x7ff76107cee3
cmp cx, 0x2f
jne 0x7ff76107ceeb
mov rdx, rax
cmp r10, rax
jne 0x7ff76107ced0
mov qword [rsp + 0x20], r11
sub rdx, r11
sar rdx, 1
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.7ff7610866c0
nop
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
call fcn.7ff76114f3fc
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
lea r8, [rsp + 0x20]
mov edx, eax
lea rcx, [rbp + 0x30]
call fcn.7ff761086b80
nop
mov r8d, 1
lea rdx, [0x7ff76118b760]
lea rcx, [rbp + 0x30]
call fcn.7ff761085570
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x10]
call fcn.7ff761084d30
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x20], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x7ff76107d008
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76107d003
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76107d003
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff76114f9c4
movdqa xmm0, xmmword [0x7ff76118c240]
movdqu xmmword [rbp + 0x20], xmm0
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x7ff76107d057
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76107d052
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76107d052
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff76114f9c4
movdqa xmm0, xmmword [0x7ff76118c240]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x7ff76107d0ad
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76107d0a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76107d0a8
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff76114f9c4
movdqa xmm0, xmmword [0x7ff76118c220]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rcx, qword [rbp - 0x50]
call qword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
je 0x7ff76107d140
lea rdx, [0x7ff76118b770]
mov rcx, qword [0x7ff761153408]
call fcn.7ff7610859e0
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae rdx, qword [rbp - 0x10]
mov r8, qword [rbp]
mov rcx, rax
call fcn.7ff761086810
lea rdx, [0x7ff76118b764]
mov rcx, rax
call fcn.7ff7610859e0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rax
call fcn.7ff761086810
jmp 0x7ff76107d167
lea rdx, [0x7ff76118b780]
mov rcx, qword [0x7ff761153478]
call fcn.7ff7610859e0
mov rbx, rax
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64]
lea rdx, [0x7ff761085bb0]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x7ff76107d1b6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76107d1b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76107d1b1
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff76114f9c4
movdqa xmm0, xmmword [0x7ff76118c240]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], 0
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x7ff76107d206
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76107d201
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76107d201
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff76114f9c4
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x7ff76107d255
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76107d250
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76107d250
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff76114f9c4
mov qword [rbp], rsi
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x7ff76107d2a8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76107d2a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76107d2a3
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff76114f9c4
movdqa xmm0, xmmword [0x7ff76118c220]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], si
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x7ff76107d2f7
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff76107d2f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff76107d2f2
jmp qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
call fcn.7ff76114f9c4
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret