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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor edi, edi
mov dword [rbp - 0x80], 0x100e4ad
mov ecx, edi
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x80], al
inc rcx
cmp rcx, 2
jb 0x1400e9780
mov byte [rbp - 0x7d], dil
lea rcx, [rbp - 0x80]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], dil
jne 0x1400e97a0
lea rcx, [0x1401678e0]
cmp qword [0x1401678f8], 0xf
cmova rcx, qword [0x1401678e0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
mov rdx, qword [0x1401678f0]
call fcn.14002c540
cmp rax, 0xffffffffffffffff
je 0x1400ea1dd
mov word [rbp - 0x80], 0x60
mov byte [rbp - 0x7e], dil
lea rax, [rbp - 0x80]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], dil
jne 0x1400e97f7
mov rdx, qword [0x1401674f0]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rdx
cmp rax, rcx
jb 0x1400ea275
lea rax, [0x1401674e0]
cmp qword [0x1401674f8], 0xf
cmova rax, qword [0x1401674e0]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x80]
lea rcx, [rbp + 0x20]
call fcn.14002d380
lea rdx, [rbp + 0x20]
lea rcx, [0x1401671b0]
call fcn.14002a540
lea rcx, [rbp + 0x20]
call fcn.14002b140
mov word [rbp - 0x80], 0x60
mov byte [rbp - 0x7e], dil
lea rax, [rbp - 0x80]
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rax + rcx], dil
jne 0x1400e9881
mov r8, qword [0x140167550]
mov rax, rbx
sub rax, r8
cmp rax, rcx
jb 0x1400ea275
lea rax, [0x140167540]
cmp qword [0x140167558], 0xf
cmova rax, qword [0x140167540]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x80]
lea rcx, [rbp + 0x20]
call fcn.14002d380
lea rdx, [rbp + 0x20]
lea rcx, [0x140167210]
call fcn.14002a540
lea rcx, [rbp + 0x20]
call fcn.14002b140
lea rdx, [0x1401671b0]
lea rcx, [rbp]
call fcn.14002a640
nop
lea rdx, [0x140167210]
lea rcx, [rbp + 0x20]
call fcn.14002a640
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
xor r8d, r8d
lea rdx, [0x14012f079]
lea rcx, [rbp - 0x20]
call fcn.14002c630
nop
mov dword [rbp - 0x40], 0xbbbea481
mov dword [rbp - 0x3c], 0xbd8bfab2
mov dword [rbp - 0x38], 0x100bbba
mov rcx, rdi
nop dword [rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x1400e9950
mov byte [rbp - 0x35], 0
lea rax, [rbp - 0x40]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400e9970
mov rax, rbx
mov rdx, qword [rbp + 0x10]
sub rax, rdx
cmp rax, rcx
jb 0x1400ea27b
lea r9, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r9, qword [rbp]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x60]
call fcn.14002d380
xor r9d, r9d
mov r8d, 0x8cc
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.14005c680
movdqa xmm0, xmmword [0x140135530]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 0x100ec99
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x12
jb 0x1400e99f0
mov byte [rbp - 0x2d], 0
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400e9a10
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14002b230
movdqa xmm0, xmmword [0x140136aa0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x30], 0x100
mov rcx, rdi
nop dword [rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x10
jb 0x1400e9a40
mov byte [rbp - 0x2f], 0
lea rax, [rbp - 0x40]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400e9a60
mov rax, rbx
mov rdx, qword [rbp + 0x10]
sub rax, rdx
cmp rax, rcx
jb 0x1400ea281
lea r9, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r9, qword [rbp]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x60]
call fcn.14002d380
mov r9d, 1
mov r8d, 0x2f6
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.14005c680
movdqa xmm0, xmmword [0x140138340]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140134ce0]
movdqu xmmword [rsp + 0x50], xmm1
movdqa xmm0, xmmword [0x140132f80]
movdqu xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x70], 0x7848266a
mov dword [rsp + 0x74], 0x402b646c
mov dword [rsp + 0x78], 0x7f636c
mov byte [rsp + 0x7c], 1
mov rcx, rdi
nop dword [rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x3b
jb 0x1400e9b10
mov byte [rsp + 0x7c], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400e9b40
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.14002c630
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14005d540
movdqa xmm0, xmmword [0x140137f60]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x140136290]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x99bbd681
mov dword [rsp + 0x64], 0xb8db8a94
mov dword [rsp + 0x68], 0x799e9298
mov word [rsp + 0x6c], 0x100
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x2c
jb 0x1400e9bb0
mov byte [rsp + 0x6d], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400e9be0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.14002c630
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14005d540
movdqa xmm0, xmmword [0x140138450]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1401376f0]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0xafd78290
mov dword [rsp + 0x64], 0x909e9f91
mov dword [rsp + 0x68], 0x6c9abadd
mov dword [rsp + 0x6c], 0x1007b60
mov rcx, rdi
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x2e
jb 0x1400e9c50
mov byte [rsp + 0x6f], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400e9c80
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.14002c630
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14005d540
movdqa xmm0, xmmword [0x140135850]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1401371f0]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x91839f86
mov dword [rsp + 0x64], 0x9cdb9496
mov dword [rsp + 0x68], 0x5dcea5cc
mov word [rsp + 0x6c], 0x100
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x2c
jb 0x1400e9cf0
mov byte [rsp + 0x6d], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400e9d20
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.14002c630
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14005d540
movdqa xmm0, xmmword [0x140134f40]
movdqu xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x1401375f0]
movdqu xmmword [rsp + 0x50], xmm1
mov dword [rsp + 0x60], 0x8c9e859a
mov dword [rsp + 0x64], 0xdc959590
mov dword [rsp + 0x68], 0x32a4cf9d
mov word [rsp + 0x6c], 0x5c
mov byte [rsp + 0x6e], 1
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x2d
jb 0x1400e9d90
mov byte [rsp + 0x6e], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400e9dc0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.14002c630
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14005d540
movdqa xmm0, xmmword [0x140135530]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 0x100ec99
mov rcx, rdi
nop dword [rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x12
jb 0x1400e9e00
mov byte [rbp - 0x2d], 0
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400e9e20
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14002b230
mov dword [rbp - 0x40], 0xb6b6a286
mov dword [rbp - 0x3c], 0xa8a9bbbd
mov dword [rbp - 0x38], 0x89ad8afd
mov dword [rbp - 0x34], 0x1008982
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xe
jb 0x1400e9e60
mov byte [rbp - 0x31], 0
lea rax, [rbp - 0x40]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400e9e80
mov rax, rbx
mov rdx, qword [rbp + 0x30]
sub rax, rdx
cmp rax, rcx
jb 0x1400ea287
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova r9, qword [rbp + 0x20]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x60]
call fcn.14002d380
mov r9d, 1
mov r8d, 0x1744
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.14005c680
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
movdqa xmm0, xmmword [0x140137b80]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 0x828184
mov byte [rbp - 0x2c], 1
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x13
jb 0x1400e9f10
mov byte [rbp - 0x2c], 0
lea rcx, [rbp - 0x40]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x1400e9f30
mov rcx, qword [rbp + 0x10]
sub rbx, rcx
cmp rbx, rax
jb 0x1400ea28d
lea r9, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r9, qword [rbp]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.14002d380
nop
mov dword [rbp - 0x40], 0xb6a3a5e6
mov dword [rbp - 0x3c], 0xaeafa8bd
mov dword [rbp - 0x38], 0x100b5be
mov rcx, rdi
nop dword [rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x1400e9f90
mov byte [rbp - 0x35], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400e9fc0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.14002c630
nop
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.14005ce40
movdqa xmm0, xmmword [0x1401392f0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x30], 0x100
mov rcx, rdi
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x10
jb 0x1400ea000
mov byte [rbp - 0x2f], 0
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400ea020
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.14002b230
movdqa xmm0, xmmword [0x140131e40]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x30], 1
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xf
jb 0x1400ea050
mov byte [rbp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400ea080
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.14002c630
nop
lea rsi, [0x140005700]
mov qword [rsp + 0x20], rsi
lea r9, [0x1400056b0]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x40]
call fcn.14010f1e0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x40], 2
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova r9, qword [rbp - 0x80]
mov rbx, qword [rbp - 0x70]
lea rcx, [rsp + 0x60]
cmp rbx, 0xf
ja 0x1400ea115
mov qword [rsp + 0x70], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x60], 0
jmp 0x1400ea11e
mov rdx, rbx
call fcn.14002c9a0
nop
mov eax, dword [rsp + 0x40]
mov dword [rbp + 0x40], eax
mov rax, qword [rsp + 0x48]
mov qword [rbp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x50]
movaps xmmword [rbp + 0x50], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x60]
call fcn.14002a4b0
nop
lea rcx, [rsp + 0x60]
call fcn.14002b140
nop
lea rcx, [rbp - 0x80]
call fcn.14002b140
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.14002a640
nop
mov dword [rbp + 0x80], 2
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0xa0]
call fcn.14002a4b0
nop
lea rcx, [rsp + 0x40]
call fcn.14002b140
mov dword [rsp + 0x20], edi
mov r9d, 0xffffffff
lea r8, [rbp + 0x40]
mov rcx, qword [0x140167a98]
call fcn.140108950
nop
mov r9, rsi
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x40]
call fcn.14010ee9c
nop
lea rcx, [rbp - 0x20]
call fcn.14002b140
nop
lea rcx, [rbp + 0x20]
call fcn.14002b140
nop
lea rcx, [rbp]
call fcn.14002b140
mov ecx, 1
call fcn.14010ee60
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1401010f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x80], rax
test rax, rax
je 0x1400ea266
cmp dword [rbp - 0x78], 0
je 0x1400ea25a
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400ea25a
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.14010ee40
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x78], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140004f60
nop
call fcn.140004f60
int3
call fcn.140004f60
int3
call fcn.140004f60
int3
call fcn.140004f60
int3