Function at 0x14005a980
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 [0x1402257c0]
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.1400607c0
nop
lea rcx, [rbp + 0xb0]
call fcn.140052080
nop
mov r8, rax
cmp qword [rax + 0x18], 7
jbe 0x14005aa20
mov r8, qword [rax]
mov rax, qword [rax + 0x10]
lea r9, [r8 + rax*2]
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x120]
call fcn.140060ec0
nop
lea rcx, [rbp + 0xb0]
call fcn.140003bc0
movdqa xmm0, xmmword [0x140200e80]
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 0x14005aa70
movabs r15, 0x7fffffffffffffff
mov rax, r15
mov rdx, qword [rbp + 0x110]
sub rax, rdx
cmp rax, rcx
jb 0x14005b326
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.140127a80
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, [rbp - 0x40]
call fcn.140005060
nop
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xf0]
call fcn.1400069e0
movsd xmm0, qword [rax]
movsd qword [rsp + 0x60], xmm0
mov ecx, dword [rax + 8]
mov dword [rbp + 0xf0], ecx
lea rax, [0x140225878]
mov qword [rbp + 0xf8], rax
movaps xmm0, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0xf0], xmm0
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14005ac07
cmp eax, 1
setne bl
lea rcx, [rbp - 0x40]
call fcn.140003bc0
nop
lea rcx, [rbp + 0x90]
call fcn.140003c40
test bl, bl
je 0x14005ac16
lea rcx, [rbp + 0x100]
call fcn.140003c40
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.140003bc0
lea rcx, [rbp + 0x140]
call fcn.140003c40
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x14005abd7
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x14005abd7
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140128610
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 0x14005b1d3
jmp 0x14005ab61
mov dword [rsp + 0x40], r12d
mov cl, 0x69
mov word [rsp + 0x70], WSAGetLastError
movsx ebx, cl
movzx eax, bx
xor ax, 0x3f
mov word [rsp + 0x72], ax
movzx eax, bx
xor ax, 0x1c
mov word [rsp + 0x74], ax
movzx r11d, bx
xor r11w, 5
mov word [rsp + 0x76], r11w
movzx r9d, bx
xor r9w, 7
mov word [rsp + 0x78], r9w
movzx r10d, bx
xor r10w, 0xc
mov word [rsp + 0x7a], r10w
movzx ecx, bx
xor cx, 0x1b
mov word [rsp + 0x7c], cx
movzx r8d, bx
xor r8w, 8
mov word [rsp + 0x7e], r8w
movzx edx, bx
xor dx, 0xb
mov word [rbp - 0x80], dx
mov word [rbp - 0x7e], r11w
mov word [rbp - 0x7c], r10w
movzx eax, bx
xor ax, 0x2d
mov word [rbp - 0x7a], ax
mov word [rbp - 0x78], cx
mov word [rbp - 0x76], bx
movzx eax, bx
xor ax, 0x1f
mov word [rbp - 0x74], ax
mov word [rbp - 0x72], r10w
mov word [rbp - 0x70], cx
movzx eax, bx
xor ax, 0x2b
mov word [rbp - 0x6e], ax
mov word [rbp - 0x6c], r11w
movzx eax, bx
xor ax, 6
mov word [rbp - 0x6a], ax
movzx eax, bx
xor ax, 0xa
mov word [rbp - 0x68], ax
movzx eax, bx
xor ax, 2
mov word [rbp - 0x66], ax
mov word [rbp - 0x64], r11w
mov word [rbp - 0x62], bx
movzx eax, bx
xor ax, 0x1a
mov word [rbp - 0x60], ax
movzx eax, bx
xor ax, 0x1d
mov word [rbp - 0x5e], ax
xor bx, 0x2c
mov word [rbp - 0x5c], bx
mov word [rbp - 0x5a], r9w
mov word [rbp - 0x58], r8w
mov word [rbp - 0x56], dx
mov word [rbp - 0x54], r11w
mov word [rbp - 0x52], r10w
mov word [rbp - 0x50], r12w
lea rax, [rsp + 0x72]
mov qword [rbp + 0xf0], rax
mov cl, 0x2b
mov word [rbp - 0x20], 0x2b
movsx esi, cl
movzx edi, si
xor di, 0x78
mov word [rbp - 0x1e], di
movzx eax, si
xor ax, 0x72
mov word [rbp - 0x1c], ax
mov word [rbp - 0x1a], di
movzx eax, si
xor ax, 0x7f
mov word [rbp - 0x18], ax
movzx eax, si
xor ax, 0x6e
mov word [rbp - 0x16], ax
movzx eax, si
xor ax, 0x66
mov word [rbp - 0x14], ax
movzx ebx, si
xor bx, 0x77
mov word [rbp - 0x12], bx
movzx r11d, si
xor r11w, 0x68
mov word [rbp - 0x10], r11w
movzx eax, si
xor ax, 0x5e
mov word [rbp - 0xe], ax
movzx r9d, si
xor r9w, 0x59
mov word [rbp - 0xc], r9w
mov word [rbp - 0xa], r9w
movzx edx, si
xor dx, 0x4e
mov word [rbp - 8], dx
movzx r10d, si
xor r10w, 0x45
mov word [rbp - 6], r10w
movzx ecx, si
xor cx, 0x5f
mov word [rbp - 4], cx
mov word [rbp - 2], r11w
movzx r8d, si
xor r8w, 0x44
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, 0x47
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, 0x62
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, 0x4d
mov word [rbp + 0x30], ax
movzx eax, si
xor ax, 0x42
mov word [rbp + 0x32], ax
xor si, 0x4c
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.140059b80
test al, al
je 0x14005b31b
mov dword [rsp + 0x40], r12d
mov cl, 0x43
mov word [rsp + 0x48], 0x43
movsx ecx, cl
movzx eax, cx
xor ax, 6
mov word [rsp + 0x4a], ax
movzx eax, cx
xor ax, 0x2d
mov word [rsp + 0x4c], ax
movzx eax, cx
xor ax, 0x22
mov word [rsp + 0x4e], ax
movzx eax, cx
xor ax, 0x21
mov word [rsp + 0x50], ax
movzx eax, cx
xor ax, 0x2f
mov word [rsp + 0x52], ax
movzx eax, cx
xor ax, 0x26
mov word [rsp + 0x54], ax
xor cx, 0x27
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.14005b340
lea r9, [rax + 2]
lea rcx, [rax + 4]
mov r8d, 0x2b
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 0x14005af41
mov word [r9 + 0xac], r12w
mov qword [rbp + 0xf0], r9
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xf0]
call fcn.140059b80
nop dword [rax]
test al, al
je 0x14005b31b
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x1a0]
call sub.VCRUNTIME140.dll_memset
movdqa xmm0, xmmword [0x140200ea0]
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 0x14005afb6
mov rax, qword [rbp + 0x110]
sub r15, rax
cmp r15, r14
jb 0x14005b32c
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.140022220
mov rax, qword ds:[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.140003c40
cmp qword [rbp + 0x228], 0
je 0x14005b1eb
lea rdx, [rsp + 0x60]
call fcn.14005b550
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.140003fe0
lea rdx, [0x1400041c0]
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.140022180
mov edx, 5
mov rcx, qword [0x140227e60]
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.14005b570
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.140003fe0
call fcn.140052050
nop
lea r8, [rbp - 0x40]
lea rdx, [rbp + 0xf0]
lea rcx, str.exists
call fcn.140006120
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.14005b4d0
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.140003fe0
lea rdx, [0x1400041c0]
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.140052050
nop
nop dword [rax + rax]
call fcn.140052050
int3
call fcn.140004560
int3
call fcn.140004560
int3