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

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
xor edi, edi
call fcn.1400039a0
mov dword [0x14001dad4], eax
test eax, eax
je 0x14000435f
lea rdx, [0x140016a38]
lea rcx, [rbp + 0x20]
call fcn.1400036f0
mov rcx, rax
call fcn.14000ca10
cmp dword [0x14001dd80], edi
je 0x14000436a
lea rdx, [0x140016a50]
lea rcx, [rbp + 0x110]
call fcn.1400036f0
mov rcx, rax
call fcn.14000ca10
cmp byte [0x14001dae2], 0
jne 0x1400042dd
cmp dword [0x14001dad4], 0
je 0x14000435f
cmp dword [0x14001dd80], 0
je 0x1400042f1
mov ecx, 0x1388
call qword [0x14001df50]
mov ecx, 8
call fcn.1400113fc
lea rcx, [0x140004180]
mov qword [rax], rcx
mov qword [rbp + 0x2e0], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400050b0]
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 0x140004a1d
cmp dword [rbp - 0x18], 0
je 0x140004a11
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140004a11
add rsp, 0x3b0
pop rdi
pop rbx
pop rbp
ret
mov dword [rsp + 0x78], 0x42
mov byte [rsp + 0x7c], 0x35
mov byte [rsp + 0x7d], 0x27
mov byte [rsp + 0x7e], 0x25
mov byte [rsp + 0x7f], 0x23
mov byte [rbp - 0x80], 0x2f
mov byte [rbp - 0x7f], 0x27
mov byte [rbp - 0x7e], 0x6c
mov byte [rbp - 0x7d], 0x27
mov byte [rbp - 0x7c], 0x3a
mov byte [rbp - 0x7b], 0x27
xor eax, eax
mov byte [rbp - 0x7a], al
movzx eax, byte [rsp + 0x7c]
mov rdx, rdi
nop dword [rax + rax]
movzx eax, byte [rsp + rdx + 0x7c]
mov ecx, dword [rsp + 0x78]
xor cl, al
mov byte [rsp + rdx + 0x7c], cl
inc rdx
cmp rdx, 0xa
jb 0x1400043b0
mov byte [rbp - 0x7a], dil
lea rdx, [rsp + 0x7c]
lea rcx, [rbp]
call fcn.1400036f0
nop
lea rcx, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova rcx, qword [rbp]
lea rdx, [rbp + 0x170]
call qword [0x14001dec0]
cmp rax, 0xffffffffffffffff
jne 0x140004409
mov rcx, rax
call qword [0x14001de58]
mov bl, 1
jmp 0x140004414
mov rcx, rax
call qword [0x14001de58]
xor bl, bl
mov rdx, qword [rbp + 0x18]
cmp rdx, 0xf
jbe 0x140004452
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000444d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000444d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011438
mov qword [rbp + 0x10], rdi
mov qword [rbp + 0x18], 0xf
mov byte [rbp], 0
test bl, bl
je 0x14000484f
mov byte [rsp + 0x60], 0x79
mov byte [rsp + 0x61], 0x67
mov byte [rsp + 0x62], 0x69
mov byte [rsp + 0x63], 0x63
mov byte [rsp + 0x64], WSAStartup
mov byte [rsp + 0x65], 0x67
mov byte [rsp + 0x66], 0x30
mov byte [rsp + 0x67], 0x67
mov byte [rsp + 0x68], 0x7a
mov byte [rsp + 0x69], 0x67
mov byte [rsp + 0x6a], 0
movzx eax, byte [rsp + 0x60]
mov rcx, rdi
nop dword [rax]
movzx eax, byte [rsp + rcx + 0x60]
sub al, 2
mov byte [rsp + rcx + 0x60], al
inc rcx
cmp rcx, 0xa
jb 0x1400044b0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x48]
call fcn.1400036f0
nop
lea rax, [rbp + 0x130]
mov qword [rbp + 0x2d0], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
mov r8, qword [rbp - 0x38]
lea rcx, [rbp - 0x68]
call fcn.14000ee30
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova r8, qword [rbp - 0x68]
lea rcx, [rbp - 0x48]
mov rax, qword [rbp - 0x38]
cmp qword [rbp - 0x30], 0xf
jbe 0x140004523
mov rdx, qword [rbp - 0x48]
add rax, rdx
jmp 0x14000452a
add rax, rcx
lea rdx, [rbp - 0x48]
mov r11, rdi
mov r9, rax
sub r9, rdx
cmp rdx, rax
cmova r9, rdi
test r9, r9
je 0x1400045cf
cmp r9, 0x20
jb 0x1400045cf
lea r10, [r8 - 2]
lea r10, [r10 + r9*2]
lea rcx, [r9 - 1]
add rcx, rdx
cmp r8, rcx
ja 0x140004566
cmp r10, rdx
jae 0x1400045cf
and r9, 0xffffffffffffffe0
nop word [rax + rax]
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 0x140004570
cmp rdx, rax
je 0x1400045f3
nop dword [rax]
nop dword [rax + rax]
movsx ecx, byte [rdx]
mov word [r8], cx
lea r8, [r8 + 2]
inc rdx
cmp rdx, rax
jne 0x1400045e0
mov dword [rbp - 0x78], 0xb
mov byte [rbp - 0x74], 0x7d
mov byte [rbp - 0x73], 0x69
mov byte [rbp - 0x72], 0x64
mov byte [rbp - 0x71], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x70], 0x25
mov byte [rbp - 0x6f], 0x6e
mov byte [rbp - 0x6e], reloc.WS2_32.dll_WSAStartup
mov byte [rbp - 0x6d], 0x6e
xor eax, eax
mov byte [rbp - 0x6c], al
movzx eax, byte [rbp - 0x74]
mov rdx, rdi
nop word [rax + rax]
movzx eax, byte [rbp + rdx - 0x74]
mov ecx, dword [rbp - 0x78]
xor cl, al
mov byte [rbp + rdx - 0x74], cl
inc rdx
cmp rdx, 8
jb 0x140004630
mov byte [rbp - 0x6c], 0
lea rdx, [rbp - 0x74]
lea rcx, [rbp + 0x130]
call fcn.1400036f0
mov rbx, rax
mov dword [rsp + 0x6c], 0x10
mov byte [rsp + 0x70], 0x67
mov byte [rsp + WSACleanup], 0x71
mov byte [rsp + 0x72], 0x62
mov byte [rsp + 0x73], reloc.WS2_32.dll_WSACleanup
mov byte [rsp + 0x74], 0x75
mov byte [rsp + 0x75], 0x7e
xor eax, eax
mov byte [rsp + 0x76], al
movzx ecx, byte [rsp + 0x70]
mov rdx, rdi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rsp + rdx + 0x70]
mov ecx, dword [rsp + 0x6c]
xor cl, al
mov byte [rsp + rdx + 0x70], cl
inc rdx
cmp rdx, 6
jb 0x1400046a0
mov byte [rsp + 0x76], 0
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x150]
call fcn.1400036f0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x60]
call fcn.14000ae50
nop
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.14000cf90
nop
cmp qword [rax + 0x18], 7
jbe 0x1400046f6
mov rax, qword [rax]
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 7
cmova rdx, qword [rbp - 0x68]
mov rcx, rax
call fcn.1400064c0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x140004750
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000474b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000474b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011438
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], 7
mov word [rbp + 0x40], di
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x14000479e
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004799
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004799
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011438
mov qword [rbp + 0x70], rdi
mov qword [rbp + 0x78], 0xf
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 7
jbe 0x1400047f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011438
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], 7
mov word [rbp - 0x68], di
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14000483f
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000483a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000483a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140011438
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], 0
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [rbp + 0xa0], 0x68
xorps xmm0, 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
movups xmmword [rbp + 0xf8], xmm0
mov dword [rsp + 0x50], 7
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 dword [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 0x140004920
mov byte [rsp + 0x5e], 0
lea rax, [rbp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xa0]
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 + 0x54]
call qword [0x14001ded8]
xor edx, edx
mov rcx, qword [rbp + 0x80]
call qword [0x14001df38]
mov ecx, 8
call fcn.1400113fc
lea rcx, [0x140003cd0]
mov qword [rax], rcx
mov qword [rbp + 0x2e0], rax
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400050b0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x10], rax
test rax, rax
je 0x140004a38
cmp dword [rbp - 8], 0
je 0x140004a2c
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140004a2c
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x10], xmm0
psrldq xmm0, 8
movd eax, xmm0
test eax, eax
je 0x1400042c7
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 - 0x18], 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 - 8], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3