Function at 0x1400e21bc
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1c8]
sub rsp, 0x2c0
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x20], xmm0
and qword [rsp + 0x30], 0
and qword [rsp + 0x38], 0
lea rax, [rbp + 0xb0]
or r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp byte [rax + r8], 0
jne 0x1400e2213
lea rdx, [rbp + 0xb0]
lea rcx, [rsp + 0x20]
call fcn.140083fc0
nop
mov rdi, qword [rsp + 0x30]
lea rbx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rbx, qword [rsp + 0x20]
test rdi, rdi
je 0x1400e2289
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + 0xc], 1
lea rax, [rdi - 1]
mov rcx, r14
cmp rax, r14
cmovb rcx, rax
add rcx, rbx
jmp 0x1400e227a
cmp rcx, rbx
je 0x1400e2289
dec rcx
movzx eax, byte [rcx]
cmp byte [rbp + rax - 0x50], 0
je 0x1400e2272
sub rcx, rbx
jmp 0x1400e228c
mov rcx, r14
inc rcx
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x40], xmm0
vpxor xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0x50], xmm1
cmp rdi, rcx
jb 0x1400e245c
mov rax, rdi
sub rax, rcx
cmp rax, rdi
cmovb rdi, rax
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
add rdx, rcx
mov r8, rdi
lea rcx, [rsp + 0x40]
call fcn.140083fc0
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]
vmovups ymm0, ymmword [str.aqweryuiopaMnBzVaGaAQUaKjsIoqUqYVzZVbvVBJijUhYtFREdWSaW]
vmovups ymmword [rsp + 0x78], ymm0
vmovups xmm1, xmmword [0x1401f1458]
vmovups xmmword [rbp - 0x68], xmm1
vmovsd xmm0, qword [0x1401f1468]
vmovsd qword [rbp - 0x58], xmm0
vzeroupper
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 0x1400e237b
xor ebx, ebx
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
mov cl, byte [rsp + rax + 0x78]
mov byte [rsp + rbx + 0x60], cl
inc rbx
cmp rbx, rdi
jl 0x1400e2344
mov byte [rsp + rdi + 0x60], 0
lea r8, [0x1401f1470]
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_rename]
mov ebx, 0x1000
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x1400e23f4
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, rbx
jb 0x1400e23ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e23ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401df894
vmovdqu xmm0, xmmword [0x1401f27d0]
vmovdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1400e2443
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, rbx
jb 0x1400e243e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400e243e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401df894
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.140082970
nop
int3