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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r14, rdx
mov r13d, ecx
mov qword [rsp + 0x90], rdx
mov rbx, qword [0x140167a98]
cmp ecx, dword [rbx + 0x1b8]
jne 0x140070278
mov rcx, r14
call fcn.14002b140
xor al, al
jmp 0x1400707a6
lea r9, [rbx + 0x178]
cmp qword [rbx + 0x190], 0xf
jbe 0x140070290
mov r9, qword [rbx + 0x178]
mov rcx, r14
cmp qword [rdx + 0x18], 0xf
jbe 0x14007029d
mov rcx, qword [rdx]
mov rax, qword [rbx + 0x188]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdx + 0x10]
call fcn.14002c540
cmp rax, 0xffffffffffffffff
je 0x1400702ca
mov rcx, r14
call fcn.14002b140
xor al, al
jmp 0x1400707a6
mov rsi, qword [rbx + 0x160]
mov r12, qword [rbx + 0x168]
nop dword [rax + rax]
cmp rsi, r12
je 0x14007047f
mov rdx, rsi
lea rcx, [rsp + 0xb0]
call fcn.14002a640
nop
lea rdx, [rsi + 0x20]
lea rcx, [rsp + 0xd0]
call fcn.14002a640
mov edx, dword [rsi + 0x40]
mov dword [rsp + 0xf0], edx
mov eax, dword [rsi + 0x44]
mov dword [rsp + 0xf4], eax
movss xmm0, dword [rsi + 0x48]
movss dword [rsp + 0xf8], xmm0
movss xmm1, dword [rsi + 0x4c]
movss dword [rsp + 0xfc], xmm1
movzx eax, byte [rsi + 0x50]
mov byte [rsp + 0x100], al
movzx eax, byte [rsi + 0x51]
mov byte [rsp + 0x101], al
lea r15, [rsp + 0xb0]
mov r8, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xc0]
cmp r8, 0xf
jbe 0x140070383
mov r15, rax
lea rbx, [rcx + rax]
mov rdi, rax
jmp 0x140070396
lea rbx, [rsp + 0xb0]
add rbx, rcx
lea rdi, [rsp + 0xb0]
cmp rdi, rbx
je 0x1400703d4
sub r15, rdi
nop
movzx ecx, byte [rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [r15 + rdi], al
inc rdi
cmp rdi, rbx
jne 0x1400703a0
mov edx, dword [rsp + 0xf0]
mov r8, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xb0]
cmp r13d, edx
jne 0x140070403
lea rcx, [rsp + 0xd0]
call fcn.14002b140
lea rcx, [rsp + 0xb0]
call fcn.14002b140
nop
mov rcx, r14
call fcn.14002b140
xor al, al
jmp 0x1400707a6
lea r9, [rsp + 0xb0]
cmp r8, 0xf
cmova r9, rax
mov rax, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140070420
mov rax, qword [r14]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rdx, qword [r14 + 0x10]
mov rcx, rax
call fcn.14002c540
lea rcx, [rsp + 0xd0]
cmp rax, 0xffffffffffffffff
je 0x140070464
call fcn.14002b140
lea rcx, [rsp + 0xb0]
call fcn.14002b140
nop
mov rcx, r14
call fcn.14002b140
xor al, al
jmp 0x1400707a6
call fcn.14002b140
lea rcx, [rsp + 0xb0]
call fcn.14002b140
add rsi, 0x58
jmp 0x1400702e0
mov ecx, 1
call fcn.14010ee60
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x1400cd8d0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140070783
cmp dword [rsp + 0x38], r15d
jne 0x1400704d6
lea ecx, [r15 + 1]
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x140070501
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0xa0], 0xbd83b89a
mov dword [rsp + 0xa4], 0xaa94aea1
mov dword [rsp + 0xa8], 0x81b3acb8
mov word [rsp + 0xac], 0x98
mov byte [rsp + 0xae], 1
mov rcx, r15
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0xa0], al
inc rcx
cmp rcx, 0xd
jb 0x140070540
mov byte [rsp + 0xae], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0xa0]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140070580
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x30]
call fcn.14002c630
nop
lea rsi, [0x140005700]
mov qword [rsp + 0x20], rsi
lea r9, [0x1400056b0]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rsp + 0x110]
call fcn.14010f1e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x88], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
mov dword [rsp + 0x50], 2
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14002a4b0
nop
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x110], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x118], rax
movaps xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x120], xmm0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x130]
call fcn.14002a4b0
nop
lea rcx, [rsp + 0x70]
call fcn.14002b140
nop
lea rcx, [rsp + 0x30]
call fcn.14002b140
movdqa xmm0, xmmword [0x140135a50]
movdqu xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x140137200]
movdqu xmmword [rsp + 0x60], xmm1
mov dword [rsp + 0x70], 0xd9939a87
mov word [rsp + 0x74], 0x100
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 0x24
jb 0x140070680
mov byte [rsp + 0x75], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], r15
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400706b3
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14002c630
nop
mov dword [rsp + 0x150], 2
lea r9, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova r9, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x188]
cmp rdi, rax
ja 0x14007072c
lea rbx, [rsp + 0x170]
cmp rax, 0xf
cmova rbx, qword [rsp + 0x170]
mov qword [rsp + 0x180], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x14007073d
mov rdx, rdi
lea rcx, [rsp + 0x170]
call fcn.14002c9a0
nop
lea rcx, [rsp + 0x30]
call fcn.14002b140
mov dword [rsp + 0x20], r15d
mov r9d, 0xffffffff
lea r8, [rsp + 0x110]
mov rcx, qword [0x140167a98]
call fcn.140108950
nop
mov r9, rsi
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rsp + 0x110]
call fcn.14010ee9c
nop
jmp 0x14007079c
mov dword [rsp + 0x38], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov r14, qword [rsp + 0x90]
mov rcx, r14
call fcn.14002b140
mov al, 1
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.14010ee40
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret