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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14011c028]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor edi, edi
mov dword [rsp + 0x40], 0x1008dc3
mov ecx, edi
nop word [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 2
jb 0x1400b7340
mov byte [rsp + 0x43], dil
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], dil
jne 0x1400b7361
lea rcx, [0x1401269d8]
cmp qword [0x1401269f0], 0x10
cmovae rcx, qword [0x1401269d8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [0x1401269e8]
call fcn.140028a90
cmp rax, 0xffffffffffffffff
je 0x1400b7b88
mov rcx, qword [0x1401266b0]
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
cmp rax, 1
jb 0x1400b7c2a
lea rax, [0x1401266a0]
cmp qword [0x1401266b8], 0x10
cmovae rax, qword [0x1401266a0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x1400eb2a0]
lea rcx, [rsp + 0x60]
call fcn.140029850
lea rdx, [rsp + 0x60]
lea rcx, [0x1401262d8]
call fcn.140026390
lea rcx, [rsp + 0x60]
call fcn.140027180
mov rcx, qword [0x140126730]
mov rax, rbx
sub rax, rcx
cmp rax, 1
jb 0x1400b7c2a
lea rax, [0x140126720]
cmp qword [0x140126738], 0x10
cmovae rax, qword [0x140126720]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x1400eb2a0]
lea rcx, [rsp + 0x60]
call fcn.140029850
lea rdx, [rsp + 0x60]
lea rcx, [0x140126378]
call fcn.140026390
lea rcx, [rsp + 0x60]
call fcn.140027180
lea rdx, [0x1401262d8]
lea rcx, [rbp]
call fcn.1400265a0
nop
lea rdx, [0x140126378]
lea rcx, [rbp + 0x20]
call fcn.1400265a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
xor r8d, r8d
lea rdx, [0x1400eb23b]
lea rcx, [rbp - 0x20]
call fcn.140028b80
nop
mov dword [rbp - 0x40], 0xddd4ceef
mov dword [rbp - 0x3c], 0xa391e0d4
mov dword [rbp - 0x38], 0x100a1a4
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x1400b74f0
mov byte [rbp - 0x35], 0
lea rax, [rbp - 0x40]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400b7510
mov rax, rbx
mov rdx, qword [rbp + 0x10]
sub rax, rdx
cmp rax, rcx
jb 0x1400b7c30
lea r9, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae r9, qword [rbp]
mov qword [rsp + 0x30], rcx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x60]
call fcn.140029850
xor r9d, r9d
mov r8d, 0x8cc
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14004b900
movdqa xmm0, xmmword [0x1400f9420]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 0x100c6b7
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x12
jb 0x1400b7590
mov byte [rbp - 0x2d], 0
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400b75b0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1400273b0
mov dword [rbp - 0x40], 0xd0dcc8e8
mov dword [rbp - 0x3c], 0xb6b3a1db
mov dword [rbp - 0x38], 0xafb790e3
mov dword [rbp - 0x34], 0x100a3a4
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xe
jb 0x1400b75f0
mov byte [rbp - 0x31], 0
lea rax, [rbp - 0x40]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400b7610
mov rax, rbx
mov rdx, qword [rbp + 0x30]
sub rax, rdx
cmp rax, rcx
jb 0x1400b7c36
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae 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, [rsp + 0x60]
call fcn.140029850
mov r9d, 1
mov r8d, 0x1744
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14004b900
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
movdqa xmm0, xmmword [0x1400f91c0]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 0xa8abaa
mov byte [rbp - 0x2c], 1
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x13
jb 0x1400b76a0
mov byte [rbp - 0x2c], 0
lea rax, [rbp - 0x40]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400b76c0
mov rax, rbx
mov rdx, qword [rbp + 0x10]
sub rax, rdx
cmp rax, rcx
jb 0x1400b7c3c
lea r9, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae 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 - 0x80]
call fcn.140029850
nop
mov dword [rbp - 0x40], 0xd0c9cf88
mov dword [rbp - 0x3c], 0xb0b5b2db
mov dword [rbp - 0x38], 0x100afa0
mov rcx, rdi
nop
lea eax, [rcx - 0x45]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x1400b7720
mov byte [rbp - 0x35], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400b7751
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140028b80
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14004c0c0
movdqa xmm0, xmmword [0x1400f9420]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 0x100c6b7
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x12
jb 0x1400b77a0
mov byte [rbp - 0x2d], 0
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400b77c0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1400273b0
movdqa xmm0, xmmword [0x1400f93a0]
movdqu xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x30], 0xab8aecb9
mov dword [rbp - 0x2c], 0xa081b5a1
mov dword [rbp - 0x28], 0xacacbc
mov byte [rbp - 0x24], 1
mov rcx, rdi
lea eax, [rcx - 0x45]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x1b
jb 0x1400b7800
mov byte [rbp - 0x24], 0
lea rax, [rbp - 0x40]
mov rcx, 0xffffffffffffffff
nop
inc rcx
cmp byte [rax + rcx], 0
jne 0x1400b7820
mov rax, rbx
mov rdx, qword [rbp + 0x30]
sub rax, rdx
cmp rax, rcx
jb 0x1400b7c42
lea r9, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae 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 - 0x80]
call fcn.140029850
mov r9d, 1
mov r8d, 0x1744
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x20]
call fcn.14004b900
lea rax, [rbp - 0x80]
mov qword [rbp - 0x40], rax
movdqa xmm0, xmmword [0x1400f94d0]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x100a9ac
mov rcx, rdi
lea eax, [rcx - 0x45]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0x12
jb 0x1400b78a0
mov byte [rsp + 0x53], 0
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1400b78c1
mov rcx, qword [rbp + 0x10]
sub rbx, rcx
cmp rbx, rax
jb 0x1400b7c48
lea r9, [rbp]
cmp qword [rbp + 0x18], 0x10
cmovae r9, qword [rbp]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.140029850
nop
mov dword [rsp + 0x40], 0xddcdcf88
mov dword [rsp + 0x44], 0xb0b5b2d3
mov dword [rsp + 0x48], 0x100afa0
mov rcx, rdi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 0xa
jb 0x1400b7930
mov byte [rsp + 0x4b], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400b7963
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140028b80
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x20]
call fcn.14004c0c0
movdqa xmm0, xmmword [0x1400f9a80]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x30], pe_nt_image_headers64
mov rcx, rdi
nop word [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0x10
jb 0x1400b79b0
mov byte [rbp - 0x2f], 0
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400b79d0
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.1400273b0
movdqa xmm0, xmmword [0x1400f8d40]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x30], 1
mov rcx, rdi
nop dword [rax + rax]
lea eax, [rcx - 0x45]
xor byte [rbp + rcx - 0x40], al
inc rcx
cmp rcx, 0xf
jb 0x1400b7a00
mov byte [rbp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400b7a31
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.140028b80
nop
lea rbx, [0x1400039f0]
mov qword [rsp + 0x20], rbx
lea r9, [0x140003980]
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x40]
call fcn.1400d1910
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x60], 0
mov dword [rbp - 0x80], 2
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.140027250
nop
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0x40], eax
mov rax, qword [rbp - 0x78]
mov qword [rbp + 0x48], rax
movaps xmm0, xmmword [rbp - 0x70]
movaps xmmword [rbp + 0x50], xmm0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
lea rcx, [rbp + 0x60]
call fcn.140027250
nop
lea rcx, [rbp - 0x60]
call fcn.140027180
nop
lea rcx, [rsp + 0x40]
call fcn.140027180
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call fcn.1400265a0
nop
mov dword [rbp + 0x80], 2
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
lea rcx, [rbp + 0xa0]
call fcn.140027250
nop
lea rcx, [rsp + 0x60]
call fcn.140027180
mov dword [rsp + 0x20], edi
mov r9d, 0xffffffff
lea r8, [rbp + 0x40]
mov rcx, qword [0x140126af0]
call fcn.1400d05a0
nop
mov r9, rbx
mov edx, 0x40
lea r8d, [rdx - 0x39]
lea rcx, [rbp + 0x40]
call fcn.1400d15bc
nop
lea rcx, [rbp - 0x20]
call fcn.140027180
nop
lea rcx, [rbp + 0x20]
call fcn.140027180
nop
lea rcx, [rbp]
call fcn.140027180
mov ecx, 1
call fcn.1400d1580
mov qword [rbp - 0x40], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400cadf0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400b7c1a
cmp dword [rsp + 0x48], 0
jne 0x1400b7bd5
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
je 0x1400b7bf6
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400d1560
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov dword [rsp + 0x48], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140003100
nop
call fcn.140003100
int3
call fcn.140003100
int3
call fcn.140003100
int3
call fcn.140003100
int3
call fcn.140003100
int3