Function at 0x140047ac0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r15
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x140099040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor r15d, r15d
mov r8d, 0x104
lea rdx, [rbp + 0xe0]
xor ecx, ecx
call qword [0x140963ac0]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rax, [rbp + 0xe0]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140047b30
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x40]
call fcn.14005fa20
nop
mov rdi, qword [rsp + 0x50]
lea rbx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rbx, qword [rsp + 0x40]
test rdi, rdi
je 0x140047bd7
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
xor edx, edx
mov r8d, 0xa3
lea rcx, [rbp - 0x23]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp - 0x24], 1
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
add rax, rbx
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x80], 0
jne 0x140047bd2
nop word [rax + rax]
cmp rax, rbx
je 0x140047bd7
dec rax
movzx ecx, byte [rax]
cmp byte [rbp + rcx - 0x80], 0
je 0x140047bc0
sub rax, rbx
jmp 0x140047bde
mov rax, 0xffffffffffffffff
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
cmp rdi, rcx
jb 0x140047e0a
mov rax, rdi
sub rax, rcx
cmp rax, rdi
cmovb rdi, rax
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
add rdx, rcx
mov r8, rdi
lea rcx, [rsp + 0x60]
call fcn.14005fa20
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
movups xmm0, xmmword [str.abcdefghijklmnaoqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [0x14008a888]
movups xmmword [rbp + 0xa8], xmm1
movups xmm0, xmmword [0x14008a898]
movups xmmword [rbp + 0xb8], xmm0
movsd xmm0, qword [0x14008a8a8]
movsd qword [rbp + 0xc8], xmm0
mov eax, dword [0x14008a8b0]
mov dword [rbp + 0xd0], eax
movzx eax, word [0x14008a8b4]
mov word [rbp + 0xd4], ax
movzx eax, byte [0x14008a8b6]
mov byte [rbp + 0xd6], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x2aaaaaab
imul r8d
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
add ecx, ecx
sub r8d, ecx
movsxd rdi, r8d
add rdi, 6
test rdi, rdi
jle 0x140047d0e
mov rbx, r15
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x38e38e39
imul r8d
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*8]
shl ecx, 2
sub r8d, ecx
movsxd rax, r8d
movzx ecx, byte [rbp + rax + 0x98]
mov byte [rbp + rbx + 0x80], cl
inc rbx
cmp rbx, rdi
jl 0x140047cd0
cmp rdi, 0x14
jae 0x140047e10
mov byte [rbp + rdi + 0x80], 0
mov dword [rsp + 0x30], 0xe6d2e4ae
mov word [rsp + 0x34], 0x5554
xor eax, eax
mov qword [rsp + 0x36], rax
mov word [rsp + 0x3e], ax
mov qword [rsp + 0x20], r15
mov rax, qword [rsp + 0x20]
movabs r9, 0xa338312dbfd77db4
nop
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x20]
movzx edx, byte [rsp + rax + 0x30]
add rcx, r9
mov rax, rcx
and rax, rdx
imul r8, rax, 0xfffffffffffffffe
add r8, rcx
add r8, rdx
add r8b, 0x14
mov rax, qword [rsp + 0x20]
mov byte [rsp + rax + 0x30], r8b
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
cmp rax, 0x10
jb 0x140047d50
lea r8, [rsp + 0x30]
mov edx, shutdown
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
lea rcx, [rsp + 0x60]
call fcn.14005b190
nop
lea rcx, [rsp + 0x40]
call fcn.14005b190
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140075d20
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r15, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14005b2c0
nop
call fcn.140075f68
int3