Function at 0x1400c7b20
Capabilities:
Create thread
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x210
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rsp + 0x208], rax
mov r15, rcx
mov qword [rsp + 0x1d0], rcx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x40], dil
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
movups xmmword [rsp + 0x78], xmm0
mov qword [r11 - 0x1b0], rdi
mov qword [r11 - 0x1a8], 0xf
mov byte [rsp + 0x78], dil
movups xmmword [rsp + 0x98], xmm0
mov qword [r11 - 0x190], rdi
mov qword [r11 - 0x188], 0xf
mov byte [rsp + 0x98], dil
mov r14, 0xffffffffffffffff
mov qword [r11 - 0x180], r14
mov qword [r11 - 0x178], rdi
mov word [rsp + 0xc8], di
mov byte [rsp + 0xd0], dil
movups xmmword [rsp + 0xd8], xmm0
mov qword [r11 - 0x150], rdi
mov qword [r11 - 0x148], 0xf
mov byte [rsp + 0xd8], dil
mov qword [r11 - 0x140], rdi
movdqa xmmword [rsp + 0x100], xmm0
mov dword [rsp + 0x110], edi
mov qword [r11 - 0x120], rdi
mov qword [r11 - 0x118], rdi
lea ecx, [rdi + 0x38]
call fcn.14010ee60
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x128], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0x140], 7
mov qword [rsp + 0x148], 8
mov dword [rsp + 0x110], 0x3f800000
mov r8, rax
lea edx, [rdi + 0x10]
lea rcx, [rsp + 0x128]
call fcn.14002cd40
nop
mov dword [rsp + 0x150], edi
mov qword [rsp + 0x158], rdi
mov qword [rsp + 0x160], rdi
lea ecx, [rdi + 0x28]
call fcn.14010ee60
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x158], rax
mov qword [rsp + 0x168], rdi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x170], xmm0
mov qword [rsp + 0x180], 7
mov qword [rsp + 0x188], 8
mov dword [rsp + 0x150], 0x3f800000
mov r8, rax
lea edx, [rdi + 0x10]
lea rcx, [rsp + 0x168]
call fcn.14002cd40
nop
mov rcx, qword [0x140167a98]
add rcx, 0x140
lea rdx, [rsp + 0x40]
call fcn.1400c8450
lea rcx, [rsp + 0x150]
call fcn.14000a5b0
lea rcx, [rsp + 0x110]
call fcn.14000a620
lea rcx, [rsp + 0xd8]
call fcn.14002b140
lea rcx, [rsp + 0x98]
call fcn.14002b140
lea rcx, [rsp + 0x78]
call fcn.14002b140
lea rcx, [rsp + 0x60]
call fcn.14002af60
lea rcx, [rsp + 0x40]
call fcn.14002b140
xor r8d, r8d
xor edx, edx
call fcn.1400cbaa0
mov rcx, qword [0x140167a98]
add rcx, 0x250
call fcn.14002d780
xor eax, eax
mov word [rsp + 0x1b0], ax
lea rax, [rsp + 0x1b0]
mov rbx, r14
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400c7da1
mov rax, qword [0x140167840]
cmp rbx, rax
ja 0x1400c7de9
lea rsi, [0x140167828]
cmp rax, 0xf
cmova rsi, qword [0x140167828]
mov qword [0x140167838], rbx
mov r8, rbx
lea rdx, [rsp + 0x1b0]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
jmp 0x1400c7e01
lea r9, [rsp + 0x1b0]
mov rdx, rbx
lea rcx, [0x140167828]
call fcn.14002c9a0
nop
mov ecx, reloc.WS2_32.dll_recv
call fcn.14010ee60
mov qword [rax], r15
lea rcx, [0x1400c7b00]
mov qword [rax + 8], rcx
mov qword [rsp + 0x1b0], rax
lea rcx, [rsp + 0x198]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400cf260]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x190], rax
test rax, rax
je 0x1400c7ea4
cmp dword [rsp + 0x198], 0
jne 0x1400c7e68
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rsp + 0x190]
movdqa xmmword [rsp + 0x1b0], xmm0
lea rcx, [rsp + 0x1b0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400c7e96
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x190], xmm0
jmp 0x1400c7ec5
mov dword [rsp + 0x198], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor edi, edi
lea r14, [rdi - 1]
mov r15, qword [rsp + 0x1d0]
cmp byte [reloc.WS2_32.dll_accept], 0
je 0x1400c7f5b
mov ecx, 1
call fcn.14010ee60
mov qword [rsp + 0x1d0], rax
lea rcx, [rsp + 0x198]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400ceac0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x190], rax
test rax, rax
je 0x1400c80bf
cmp dword [rsp + 0x198], 0
je 0x1400c80b3
movaps xmm0, xmmword [rsp + 0x190]
movdqa xmmword [rsp + 0x1d0], xmm0
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400c80b3
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x190], xmm0
movsx rbx, word [r15 + 0x3e]
lea rcx, [rbx + 1]
call fcn.14010f370
mov rsi, rax
lea rdx, [r15 + 0x40]
mov r8, rbx
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rsi], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x1a8], rdi
mov r8, r14
nop dword [rax]
inc r8
cmp byte [rsi + r8], 0
jne 0x1400c7fa0
mov rdx, rsi
lea rcx, [rsp + 0x190]
call fcn.14002c630
mov rcx, qword [0x140167a98]
add rcx, 0x140
lea rdx, [rsp + 0x190]
call fcn.14002a540
lea rcx, [rsp + 0x190]
call fcn.14002b140
xorps xmm0, xmm0
movups xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x1a8], rdi
mov r8, r14
inc r8
cmp byte [rsi + r8], 0
jne 0x1400c8000
mov rdx, rsi
lea rcx, [rsp + 0x190]
call fcn.14002c630
mov dword [rsp + 0x1b0], 0x8c9e8e90
mov word [rsp + 0x1b4], 0x100
mov rcx, rdi
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x1b0], al
inc rcx
cmp rcx, 4
jb 0x1400c8032
mov byte [rsp + 0x1b5], 0
lea rcx, [rsp + 0x1b0]
mov rax, r14
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400c8060
lea rcx, [rsp + 0x190]
cmp qword [rsp + 0x1a8], 0xf
cmova rcx, qword [rsp + 0x190]
mov r8, qword [rsp + 0x1a0]
cmp r8, rax
jne 0x1400c80d2
lea rdx, [rsp + 0x1b0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400c80d2
lea rcx, [rsp + 0x190]
call fcn.14002b140
jmp 0x1400c83fa
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x198], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x190]
call fcn.14002b140
mov rax, qword [0x140167a98]
lea r13, [0x1401672f0]
mov rdx, r13
mov rbx, qword [0x1401672f0]
mov r15, qword [0x140167308]
cmp r15, 0xf
cmova rdx, rbx
lea rcx, [rax + 0x140]
cmp qword [rax + 0x158], 0xf
jbe 0x1400c811e
mov rcx, qword [rax + 0x140]
mov r8, qword [rax + 0x150]
mov r12, qword [0x140167300]
cmp r8, r12
jne 0x1400c8143
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400c8143
lea r15, [0x140167350]
jmp 0x1400c8197
mov r9, r13
cmp r15, 0xf
cmova r9, rbx
mov rax, qword [0x140167368]
lea r15, [0x140167350]
cmp r12, rax
ja 0x1400c818c
mov rbx, r15
cmp rax, 0xf
cmova rbx, qword [0x140167350]
mov qword [0x140167360], r12
mov r8, r12
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r12], 0
jmp 0x1400c8197
mov rdx, r12
mov rcx, r15
call fcn.14002c9a0
xorps xmm0, xmm0
movups xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x1a8], rdi
mov r8, r14
inc r8
cmp byte [rsi + r8], 0
jne 0x1400c81b5
mov rdx, rsi
lea rcx, [rsp + 0x190]
call fcn.14002c630
lea rdx, [rsp + 0x190]
mov rcx, r13
call fcn.14002a540
lea rcx, [rsp + 0x190]
call fcn.14002b140
mov dword [rsp + 0x1b0], 0xaef6ad
mov byte [rsp + 0x1b4], 1
mov rcx, rdi
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x1b0], al
inc rcx
cmp rcx, 3
jb 0x1400c8202
mov byte [rsp + 0x1b4], 0
lea rcx, [rsp + 0x1b0]
mov rax, r14
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400c8230
mov rcx, r15
mov r12, qword [0x140167350]
mov r13, qword [0x140167368]
cmp r13, 0xf
cmova rcx, r12
mov rbx, qword [0x140167360]
cmp rbx, rax
jne 0x1400c82dc
mov r8, rbx
lea rdx, [rsp + 0x1b0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400c82dc
xorps xmm0, xmm0
movups xmmword [rsp + 0x190], xmm0
mov qword [rsp + 0x1a0], rdi
mov qword [rsp + 0x1a8], rdi
mov r8, r14
inc r8
cmp byte [rsi + r8], 0
jne 0x1400c8290
mov rdx, rsi
lea rcx, [rsp + 0x190]
call fcn.14002c630
lea rdx, [rsp + 0x190]
mov rcx, r15
call fcn.14002a540
lea rcx, [rsp + 0x190]
call fcn.14002b140
mov r13, qword [0x140167368]
mov rbx, qword [0x140167360]
mov r12, qword [0x140167350]
mov dword [rsp + 0x1b0], 0xaef6ad
mov byte [rsp + 0x1b4], 1
mov rcx, rdi
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x1b0], al
inc rcx
cmp rcx, 3
jb 0x1400c82f2
mov byte [rsp + 0x1b4], 0
lea rcx, [rsp + 0x1b0]
mov rax, r14
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x1400c8320
mov rcx, r15
cmp r13, 0xf
cmova rcx, r12
cmp rbx, rax
jne 0x1400c8351
mov r8, rbx
lea rdx, [rsp + 0x1b0]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400c83fa
movdqa xmm0, xmmword [0x140137b10]
movdqu xmmword [rsp + 0x190], xmm0
mov dword [rsp + 0x1a0], 0x8c8b948a
mov dword [rsp + 0x1a4], 0xcf8bcad3
mov word [rsp + 0x1a8], 0x100
lea eax, [rdi - 0x2b]
xor byte [rsp + rdi + 0x190], al
inc rdi
cmp rdi, 0x18
jb 0x1400c8382
mov byte [rsp + 0x1a9], 0
lea rax, [rsp + 0x190]
inc r14
cmp byte [rax + r14], 0
jne 0x1400c83a5
movabs rax, 0x7fffffffffffffff
sub rax, rbx
cmp rax, r14
jb 0x1400c843f
cmp r13, 0xf
cmova r15, r12
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x190]
lea rcx, [rsp + 0x1d0]
call fcn.14002d380
lea rcx, [rsp + 0x1d0]
call fcn.1400d15c0
mov rax, qword [0x140167a98]
mov byte [rax + 0x1d0], 1
mov rcx, rsi
call fcn.14010f1ac
xor al, al
mov rcx, qword [rsp + 0x208]
xor rcx, rsp
call fcn.14010ee40
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140004f60
int3