Function at 0x1400040f0
Capabilities:
Contain obfuscated stackstrings
Create thread
Encode data using xor

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
xor edi, edi
call fcn.140003820
mov dword [0x14001ead4], eax
test eax, eax
je 0x1400041ef
lea rdx, [0x140017ab8]
lea rcx, [rbp + 0x10]
call fcn.1400036c0
mov rcx, rax
call fcn.14000ccc0
cmp dword [0x14001ed80], edi
je 0x1400041fa
lea rdx, [0x140017ad0]
lea rcx, [rbp + 0x100]
call fcn.1400036c0
mov rcx, rax
call fcn.14000ccc0
cmp byte [0x14001eae2], 0
jne 0x14000416d
cmp dword [0x14001ead4], 0
je 0x1400041ef
cmp dword [0x14001ed80], 0
je 0x140004181
mov ecx, 0x1388
call qword [0x14001ef50]
mov ecx, 8
call fcn.140011ffc
lea rcx, [0x140004000]
mov qword [rax], rcx
mov qword [rbp + 0x2d8], rax
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140004e10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400048e7
cmp dword [rbp - 0x28], 0
je 0x1400048db
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x10], xmm0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400048db
add rsp, 0x3a0
pop rdi
pop rbx
pop rbp
ret
mov dword [rsp + 0x7c], 0x14
mov byte [rbp - 0x80], 0x63
mov byte [rbp - 0x7f], WSAStartup
mov byte [rbp - 0x7e], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x7d], 0x75
mov byte [rbp - 0x7c], 0x79
mov byte [rbp - 0x7b], WSAStartup
mov byte [rbp - 0x7a], 0x3a
mov byte [rbp - 0x79], WSAStartup
mov byte [rbp - 0x78], 0x6c
mov byte [rbp - 0x77], WSAStartup
xor eax, eax
mov byte [rbp - 0x76], al
movzx eax, byte [rbp - 0x80]
mov rdx, rdi
nop word [rax + rax]
movzx eax, byte [rbp + rdx - 0x80]
mov ecx, dword [rsp + 0x7c]
xor cl, al
mov byte [rbp + rdx - 0x80], cl
inc rdx
cmp rdx, 0xa
jb 0x140004240
mov byte [rbp - 0x76], dil
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x10]
call fcn.1400036c0
nop
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova rcx, qword [rbp - 0x10]
lea rdx, [rbp + 0x160]
call qword [0x14001eec0]
cmp rax, 0xffffffffffffffff
jne 0x140004298
mov rcx, rax
call qword [0x14001ee58]
mov bl, 1
jmp 0x1400042a3
mov rcx, rax
call qword [0x14001ee58]
xor bl, bl
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x1400042e1
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400042dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400042dc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012038
mov qword [rbp], rdi
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
test bl, bl
je 0x140004721
mov dword [rsp + 0x50], 2
mov eax, dword [rsp + 0x50]
xor al, 0x77
mov byte [rsp + 0x54], al
mov eax, dword [rsp + 0x50]
inc al
xor al, 0x65
mov byte [rsp + 0x55], al
mov eax, dword [rsp + 0x50]
add al, 2
xor al, 0x67
mov byte [rsp + 0x56], al
mov eax, dword [rsp + 0x50]
add al, 3
xor al, 0x61
mov byte [rsp + 0x57], al
mov eax, dword [rsp + 0x50]
add al, 4
xor al, 0x6d
mov byte [rsp + 0x58], al
mov eax, dword [rsp + 0x50]
add al, 5
xor al, 0x65
mov byte [rsp + 0x59], al
mov eax, dword [rsp + 0x50]
add al, 6
xor al, 0x2e
mov byte [rsp + 0x5a], al
mov eax, dword [rsp + 0x50]
add al, 7
xor al, 0x65
mov byte [rsp + 0x5b], al
mov eax, dword [rsp + 0x50]
add al, 8
xor al, 0x78
mov byte [rsp + 0x5c], al
mov eax, dword [rsp + 0x50]
add al, 9
xor al, 0x65
mov byte [rsp + 0x5d], al
xor eax, eax
mov byte [rsp + 0x5e], al
movzx eax, byte [rsp + 0x54]
mov rdx, rdi
nop word [rax + rax]
movzx eax, byte [rsp + rdx + 0x54]
mov ecx, dword [rsp + 0x50]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x54], cl
inc rdx
cmp rdx, 0xa
jb 0x140004390
mov byte [rsp + 0x5e], 0
lea rdx, [rsp + 0x54]
lea rcx, [rbp - 0x50]
call fcn.1400036c0
nop
lea rax, [rbp + 0x120]
mov qword [rbp + 0x2c8], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
mov r8, qword [rbp - 0x40]
lea rcx, [rbp - 0x70]
call fcn.14000ebd0
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r8, qword [rbp - 0x70]
lea rcx, [rbp - 0x50]
mov rax, qword [rbp - 0x40]
cmp qword [rbp - 0x38], 0xf
jbe 0x14000440e
mov rdx, qword [rbp - 0x50]
add rax, rdx
jmp 0x140004415
add rax, rcx
lea rdx, [rbp - 0x50]
mov r11, rdi
mov r9, rax
sub r9, rdx
cmp rdx, rax
cmova r9, rdi
test r9, r9
je 0x1400044b0
cmp r9, 0x20
jb 0x1400044b0
lea r10, [r8 - 2]
lea r10, [r10 + r9*2]
lea rcx, [r9 - 1]
add rcx, rdx
cmp r8, rcx
ja 0x14000444d
cmp r10, rdx
jae 0x1400044b0
and r9, 0xffffffffffffffe0
movq xmm0, qword [rdx]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movdqu xmmword [r8], xmm0
movq xmm0, qword [rdx + 8]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movdqu xmmword [r8 + 0x10], xmm0
movq xmm0, qword [rdx + 0x10]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movdqu xmmword [r8 + 0x20], xmm0
movq xmm0, qword [rdx + 0x18]
punpcklbw xmm0, xmm0
psraw xmm0, 8
movdqu xmmword [r8 + 0x30], xmm0
add r8, 0x40
add rdx, 0x20
add r11, 0x20
cmp r11, r9
jne 0x140004451
cmp rdx, rax
je 0x1400044d3
nop word [rax + rax]
movsx ecx, byte [rdx]
mov word [r8], cx
lea r8, [r8 + 2]
inc rdx
cmp rdx, rax
jne 0x1400044c0
mov byte [rsp + 0x70], 0x82
mov byte [rsp + 0x71], 0x6e
mov byte [rsp + 0x72], 0x7b
mov byte [rsp + 0x73], 0x84
mov byte [rsp + 0x74], 0x3a
mov byte [rsp + 0x75], WSAStartup
mov byte [rsp + 0x76], 0x84
mov byte [rsp + 0x77], WSAStartup
mov byte [rsp + 0x78], 0
movzx eax, byte [rsp + 0x70]
mov rcx, rdi
nop dword [rax + rax]
movzx eax, byte [rsp + rcx + 0x70]
sub al, 0xc
mov byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 8
jb 0x140004510
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x120]
call fcn.1400036c0
mov rbx, rax
mov byte [rbp + 0x2c0], 0x7e
mov byte [rbp + 0x2c1], 0x68
mov byte [rbp + 0x2c2], 0x79
mov byte [rbp + 0x2c3], 0x6b
mov byte [rbp + 0x2c4], 0x6c
mov byte [rbp + 0x2c5], 0x75
mov byte [rbp + 0x2c6], 0
movzx ecx, byte [rbp + 0x2c0]
mov rcx, rdi
movzx eax, byte [rbp + rcx + 0x2c0]
sub al, 7
mov byte [rbp + rcx + 0x2c0], al
inc rcx
cmp rcx, 6
jb 0x140004573
lea rdx, [rbp + 0x2c0]
lea rcx, [rbp + 0x140]
call fcn.1400036c0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x50]
call fcn.14000afd0
nop
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14000d080
nop
cmp qword [rax + 0x18], 7
jbe 0x1400045c8
mov rax, qword [rax]
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rdx, qword [rbp - 0x70]
mov rcx, rax
call fcn.1400062b0
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x140004622
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000461d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000461d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012038
mov qword [rbp + 0x40], rdi
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], di
mov rdx, qword [rbp + 0x68]
cmp rdx, 0xf
jbe 0x140004670
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000466b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000466b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012038
mov qword [rbp + 0x60], rdi
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x1400046c3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400046be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400046be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012038
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], di
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x140004711
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000470c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000470c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012038
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], 0xf
mov byte [rbp - 0x50], 0
mov ecx, 3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetErrorMode]
mov dword [rbp + 0x90], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
movups xmmword [rbp + 0xa8], xmm0
movups xmmword [rbp + 0xb8], xmm0
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xd8], xmm0
movups xmmword [rbp + 0xe8], xmm0
mov dword [rsp + 0x60], 0x50
mov eax, dword [rsp + 0x60]
xor al, 0x77
mov byte [rsp + 0x64], al
mov eax, dword [rsp + 0x60]
inc al
xor al, 0x65
mov byte [rsp + 0x65], al
mov eax, dword [rsp + 0x60]
add al, 2
xor al, 0x67
mov byte [rsp + 0x66], al
mov eax, dword [rsp + 0x60]
add al, 3
xor al, 0x61
mov byte [rsp + 0x67], al
mov eax, dword [rsp + 0x60]
add al, 4
xor al, 0x6d
mov byte [rsp + 0x68], al
mov eax, dword [rsp + 0x60]
add al, 5
xor al, 0x65
mov byte [rsp + 0x69], al
mov eax, dword [rsp + 0x60]
add al, 6
xor al, 0x2e
mov byte [rsp + 0x6a], al
mov eax, dword [rsp + 0x60]
add al, 7
xor al, 0x65
mov byte [rsp + 0x6b], al
mov eax, dword [rsp + 0x60]
add al, 8
xor al, 0x78
mov byte [rsp + 0x6c], al
mov eax, dword [rsp + 0x60]
add al, 9
xor al, 0x65
mov byte [rsp + 0x6d], al
xor eax, eax
mov byte [rsp + 0x6e], al
movzx eax, byte [rsp + 0x64]
mov rdx, rdi
nop
movzx eax, byte [rsp + rdx + 0x64]
mov ecx, dword [rsp + 0x60]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x64], cl
inc rdx
cmp rdx, 0xa
jb 0x1400047f0
mov byte [rsp + 0x6e], 0
lea rax, [rbp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x64]
call qword [0x14001eed8]
xor edx, edx
mov rcx, qword [rbp + 0x70]
call qword [0x14001ef38]
mov ecx, 8
call fcn.140011ffc
lea rcx, [0x140003b50]
mov qword [rax], rcx
mov qword [rbp + 0x2d8], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140004e10]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140004902
cmp dword [rbp - 0x18], 0
je 0x1400048f6
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x10], xmm0
lea rcx, [rbp + 0x10]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x1400048f6
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
psrldq xmm0, 8
movd eax, xmm0
test eax, eax
je 0x140004157
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x28], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp - 0x18], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3