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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x210
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140096980]
xor rax, rsp
mov qword [rbp + 0xf8], rax
xor r15d, r15d
movdqa xmm0, xmmword [0x14008b710]
movdqu xmmword [rbp + 0x40], xmm0
movdqa xmm1, xmmword [0x14008b740]
movdqu xmmword [rbp + 0x50], xmm1
movdqa xmm0, xmmword [0x14008b7c0]
movdqu xmmword [rbp + 0x60], xmm0
mov dil, 0x43
mov word [rbp + 0x70], 0x43
mov ecx, r15d
lea ebx, [r15 + 1]
mov al, byte [rbp + 0x40]
xor byte [rbp + rcx + 0x41], al
add rcx, rbx
cmp rcx, 0x30
jb 0x140004ead
mov byte [rbp + 0x71], r15b
lea rax, [rbp + 0x41]
mov qword [rbp - 0x60], rax
lea rcx, [rbp + 0x41]
or r14, 0xffffffffffffffff
mov rax, r14
inc rax
cmp byte [rcx + rax], r15b
jne 0x140004ed4
mov qword [rbp - 0x58], rax
movaps xmm0, xmmword [rbp - 0x60]
movdqa xmmword [rbp - 0x60], xmm0
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0xd8]
call fcn.140005a48
nop
lea rcx, [rbp + 0xb8]
call fcn.14000e0b4
nop
call fcn.14000dfd8
mov edx, eax
lea rcx, [rbp + 0x40]
call fcn.140004c80
nop
lea rcx, [rbp + 0x98]
call fcn.14000e1b8
nop
mov dword [rbp - 0x60], 0x7e2e6543
mov sil, 0x7e
xor eax, eax
mov byte [rbp - 0x5c], al
mov rax, r15
xor byte [rbp + rax - 0x5f], dil
add rax, rbx
cmp rax, 3
jae 0x140004f4c
mov dil, byte [rbp - 0x60]
jmp 0x140004f38
mov byte [rbp - 0x5c], r15b
mov cl, 0x5a
mov dword [rbp - 0x40], 0x67297c5a
xor eax, eax
mov byte [rbp - 0x3c], al
mov rax, r15
xor byte [rbp + rax - 0x3f], cl
add rax, rbx
cmp rax, 3
jae 0x140004f73
mov cl, byte [rbp - 0x40]
jmp 0x140004f61
mov byte [rbp - 0x3c], r15b
mov cl, 0x77
mov dword [rsp + 0x40], 0x4a1f4877
xor eax, eax
mov byte [rsp + 0x44], al
mov rax, r15
xor byte [rsp + rax + 0x41], cl
add rax, rbx
cmp rax, 3
jae 0x140004f9d
mov cl, byte [rsp + 0x40]
jmp 0x140004f8a
mov byte [rsp + 0x44], r15b
lea rax, [rsp + 0x41]
mov rcx, r14
inc rcx
cmp byte [rax + rcx], r15b
jne 0x140004faa
movabs r12, 0x7fffffffffffffff
mov rax, r12
mov rdx, qword [rbp + 0xc8]
sub rax, rdx
cmp rax, rcx
jb 0x14000592a
lea rax, [rbp + 0xb8]
mov r13d, reloc.WS2_32.dll_ntohs
cmp qword [rbp + 0xd0], r13
cmova rax, qword [rbp + 0xb8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x41]
lea rcx, [rsp + 0x78]
call fcn.140002f70
nop
lea r8, [rbp - 0x3f]
lea rdx, [rsp + 0x78]
lea rcx, [rbp]
call fcn.1400029b4
nop
lea rdx, [rbp + 0x40]
mov rcx, rax
call fcn.140002794
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r13
mov byte [rax], r15b
lea r8, [rbp - 0x5f]
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.1400029b4
nop
lea rdx, [rbp + 0x98]
mov rcx, rax
call fcn.140002794
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x78], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 0x88], xmm6
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r13
mov byte [rax], r15b
mov edi, 0x1000
mov rdx, qword [rsp + 0x60]
cmp rdx, r13
jbe 0x1400050d5
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, rdi
jb 0x1400050d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400050d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x48], r15b
mov rdx, qword [rbp + 0x38]
cmp rdx, r13
jbe 0x14000511d
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, rdi
jb 0x140005118
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005118
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r13
mov byte [rbp + 0x20], r15b
mov rdx, qword [rbp + 0x18]
cmp rdx, r13
jbe 0x140005162
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, rdi
jb 0x14000515d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000515d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r13
mov byte [rbp], r15b
mov rdx, qword [rbp - 0x70]
cmp rdx, r13
jbe 0x1400051a8
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, rdi
jb 0x1400051a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400051a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r13
mov byte [rsp + 0x78], r15b
call fcn.14000f130
mov rdi, rax
test rax, rax
jne 0x14000523c
movdqa xmm0, xmmword [0x14008b6e0]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x50], 0x5d
mov rcx, r15
mov al, byte [rbp - 0x60]
xor byte [rbp + rcx - 0x5f], al
add rcx, rbx
cmp rcx, 0x10
jb 0x1400051d8
mov byte [rbp - 0x4f], r15b
lea rdx, [rbp - 0x5f]
lea rcx, [rbp - 0x40]
call fcn.140002880
mov rdx, qword [rbp - 0x28]
cmp rdx, r13
jbe 0x14000578e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005232
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005773
call fcn.140072b14
jmp 0x14000578e
mov rax, r12
mov rcx, qword [rbp + 0xe8]
sub rax, rcx
movq rdx, xmm6
cmp rax, rdx
jb 0x140005930
lea r9, [rbp + 0xd8]
cmp qword [rbp + 0xf0], r13
cmova r9, qword [rbp + 0xd8]
lea rax, [rbp + 0x78]
cmp qword [rbp + 0x90], r13
cmova rax, qword [rbp + 0x78]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x60]
call fcn.140002f70
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], r13
cmova r8, qword [rbp - 0x60]
mov edx, 0x2712
mov rcx, rdi
call fcn.140013530
mov rdx, qword [rbp - 0x48]
cmp rdx, r13
jbe 0x1400052ec
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400052e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400052e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r13
mov byte [rbp - 0x20], r15b
lea r8, [0x140004dc8]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.140013530
lea r8, [rbp - 0x20]
mov edx, 0x2711
mov rcx, rdi
call fcn.140013530
mov rcx, rdi
call fcn.14000f1a0
test eax, eax
je 0x140005442
mov ecx, eax
call fcn.14000fdf0
mov rdx, rax
lea rcx, [rbp]
call fcn.140002880
mov rcx, rax
mov dword [rbp - 0x60], 0x171f387e
mov dword [rbp - 0x5c], 0x441a1b12
mov word [rbp - 0x58], 0x5e
mov rax, r15
xor byte [rbp + rax - 0x5f], sil
add rax, rbx
cmp rax, 8
jae 0x140005375
mov sil, byte [rbp - 0x60]
jmp 0x140005361
mov byte [rbp - 0x57], r15b
lea r8, [rbp - 0x5f]
call fcn.140002d80
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], r13
mov byte [rax], r15b
mov rdx, qword [rbp + 0x18]
cmp rdx, r13
jbe 0x1400053e8
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400053e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400053e3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r13
mov byte [rbp], r15b
lea rcx, [rbp + 0x20]
call fcn.1400071c4
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, r13
jbe 0x140005741
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000573c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000573c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov cl, 0x18
mov dword [rsp + 0x40], 0x74797e18
mov word [rsp + 0x44], 0x7d6b
xor eax, eax
mov byte [rsp + 0x46], al
mov rax, r15
xor byte [rsp + rax + 0x41], cl
add rax, rbx
cmp rax, 5
jae 0x14000546f
mov cl, byte [rsp + 0x40]
jmp 0x14000545c
mov byte [rsp + 0x46], r15b
lea rcx, [rsp + 0x41]
mov rax, r14
inc rax
cmp byte [rcx + rax], r15b
jne 0x14000547c
lea rcx, [rbp - 0x20]
mov rsi, qword [rbp - 8]
cmp rsi, r13
seta r13b
mov rdi, qword [rbp - 0x20]
cmp rsi, 0xf
cmova rcx, rdi
mov r15, qword [rbp - 0x10]
cmp r15, rax
jne 0x1400054c9
mov r8, r15
lea rdx, [rsp + 0x41]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400054c9
xor r15d, r15d
mov bl, r15b
lea r13d, [rax + 0xf]
jmp 0x140005749
mov cl, 0x61
mov dword [rsp + 0x40], 0x14131561
mov word [rsp + 0x44], 4
xor esi, esi
mov eax, esi
xor byte [rsp + rax + 0x41], cl
add rax, rbx
cmp rax, 4
jae 0x1400054f1
mov cl, byte [rsp + 0x40]
jmp 0x1400054de
mov byte [rsp + 0x45], sil
lea rcx, [rsp + 0x41]
mov rax, r14
inc rax
cmp byte [rcx + rax], sil
jne 0x1400054fe
lea rcx, [rbp - 0x20]
test r13b, r13b
cmovne rcx, rdi
cmp r15, rax
jne 0x14000563b
mov r8, r15
lea rdx, [rsp + 0x41]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000563b
movdqa xmm0, xmmword [0x14008b6c0]
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x14008b410]
movdqu xmmword [rsp + 0x58], xmm1
mov dword [rsp + 0x68], 0x9141d5b
mov dword [rsp + 0x6c], 0x171e135b
mov word [rsp + 0x70], 0x550b
xor eax, eax
mov byte [rsp + 0x72], al
xor r15d, r15d
mov ecx, r15d
mov al, byte [rsp + 0x48]
xor byte [rsp + rcx + 0x49], al
add rcx, rbx
cmp rcx, 0x29
jb 0x14000556f
mov byte [rsp + 0x72], r15b
lea rdx, [rsp + 0x49]
lea rcx, [rbp]
call fcn.140002880
nop
lea rcx, [rbp]
call fcn.1400071c4
mov rcx, rbx
call fcn.140072890
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140003164]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14000562b
cmp dword [rbp - 0x38], r15d
je 0x1400055e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp + 0x18]
mov r13d, reloc.WS2_32.dll_ntohs
cmp rdx, r13
jbe 0x140005741
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000573c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000573c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov dword [rbp - 0x38], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov cl, 0x4e
mov dword [rsp + 0x40], 0x74360b4e
mov word [rsp + 0x44], WSASetLastError
mov rax, rsi
xor byte [rsp + rax + 0x41], cl
add rax, rbx
cmp rax, 4
jae 0x140005662
mov cl, byte [rsp + 0x40]
jmp 0x14000564f
mov byte [rsp + 0x45], sil
lea rax, [rsp + 0x41]
inc r14
cmp byte [rax + r14], sil
jne 0x14000566c
sub r12, r15
cmp r12, r14
jb 0x140005924
lea rax, [rbp - 0x20]
test r13b, r13b
cmovne rax, rdi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x41]
lea rcx, [rbp]
call fcn.140002f70
nop
lea rcx, [rbp]
call fcn.1400071c4
mov rcx, rbx
call fcn.140072890
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x140003164]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140005914
cmp dword [rbp - 0x38], r15d
je 0x1400056fe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp + 0x18]
mov r13d, reloc.WS2_32.dll_ntohs
cmp rdx, r13
jbe 0x140005741
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000573c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000573c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
mov rsi, qword [rbp - 8]
mov rdi, qword [rbp - 0x20]
cmp rsi, r13
jbe 0x140005782
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000577a
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000577a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.140072b14
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], r13
mov byte [rbp - 0x20], r15b
mov rdx, qword [rbp + 0x90]
mov edi, 0x1000
cmp rdx, r13
jbe 0x1400057d0
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, rdi
jb 0x1400057ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, r13
jbe 0x14000580f
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, rdi
jb 0x14000580a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000580a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
mov qword [rbp + 0xa8], r15
mov qword [rbp + 0xb0], r13
mov byte [rbp + 0x98], r15b
mov rdx, qword [rbp + 0x58]
cmp rdx, r13
jbe 0x14000585e
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, rdi
jb 0x140005858
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005858
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
nop
mov rdx, qword [rbp + 0xd0]
cmp rdx, r13
jbe 0x14000589e
inc rdx
mov rcx, qword [rbp + 0xb8]
mov rax, rcx
cmp rdx, rdi
jb 0x140005898
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005898
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
nop
mov rdx, qword [rbp + 0xf0]
cmp rdx, r13
jbe 0x1400058dd
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, rdi
jb 0x1400058d8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400058d8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072b14
mov al, bl
mov rcx, qword [rbp + 0xf8]
xor rcx, rsp
call fcn.140072870
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rbp - 0x38], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.1400016d4
nop
call fcn.1400016d4
nop
call fcn.1400016d4
int3