Function at 0x140165980
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x4c0
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x1404c39e8]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov r14, rcx
xor ebx, ebx
mov dword [0x1404dbcd8], 1
cmp dword [0x1404dbcc4], ebx
jne 0x1401665a9
xorps xmm0, xmm0
movups xmmword [rsp + 0x230], xmm0
movups xmmword [rsp + 0x250], xmm0
movups xmmword [rsp + 0x270], xmm0
mov qword [r11 - 0x298], rbx
movdqa xmm0, xmmword [0x1403c0a10]
movdqa xmmword [rsp + 0x240], xmm0
mov byte [rsp + 0x230], bl
mov qword [r11 - 0x278], rbx
movdqa xmmword [rsp + 0x260], xmm0
mov byte [rsp + 0x250], bl
lea rcx, [r11 - 0x258]
call fcn.140156e00
nop
lea ecx, [rbx + 8]
call fcn.140382738
mov qword [rsp + 0xc0], rax
test rax, rax
je 0x140165a4b
xor ecx, ecx
mov qword [rax], rcx
mov rcx, rax
call fcn.1401318e0
nop
call fcn.140166640
mov byte [0x1404dbb50], 0
xor r8d, r8d
lea rdx, [0x1403c0a50]
lea rcx, [0x1404dbb58]
call fcn.140136390
mov ecx, 0x1024
call fcn.1403913fc
mov qword [0x1404dbc98], rax
xor edx, edx
mov r8d, 0x1024
mov rcx, rax
call fcn.1403850b0
mov r8d, 0x20
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x224]
call fcn.1401b2c00
nop
cmp qword [rax + 0x18], 0x10
jb 0x140165ab4
mov rax, qword [rax]
mov rdx, rax
mov rcx, qword [0x1404dbc98]
call fcn.1401309d0
nop
lea rcx, [rsp + 0xc8]
call fcn.140129eb0
mov dword [rsp + 0x68], 0xe9ffeaed
mov dword [rsp + 0x6c], 0xfaf3fcf2
mov word [rsp + 0x70], 0x100
mov rcx, rbx
nop dword [rax + rax]
lea eax, [rcx - 0x68]
xor byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 8
jb 0x140165af0
mov byte [rsp + 0x71], 0
lea rcx, [rsp + 0x68]
call fcn.1403953c8
mov qword [rsp + 0x218], rax
mov ecx, 0x1024
call fcn.1403913fc
mov qword [rsp + 0x210], rax
xor edx, edx
mov r8d, 0x1024
mov rcx, rax
call fcn.1403850b0
mov dword [rsp + 0x38], gethostbyname
mov eax, dword [rsp + 0x38]
xor al, 0x61
mov byte [rsp + 0x3c], al
mov eax, dword [rsp + 0x38]
inc al
xor al, 0x63
mov byte [rsp + 0x3d], al
mov eax, dword [rsp + 0x38]
add al, 2
xor al, 0x74
mov byte [rsp + 0x3e], al
mov eax, dword [rsp + 0x38]
add al, 3
xor al, 0x69
mov byte [rsp + 0x3f], al
mov eax, dword [rsp + 0x38]
add al, 4
xor al, 0x76
mov byte [rsp + 0x40], al
mov eax, dword [rsp + 0x38]
add al, 5
xor al, 0x65
mov byte [rsp + 0x41], al
xor eax, eax
mov byte [rsp + 0x42], al
movzx eax, byte [rsp + 0x3c]
mov rdx, rbx
nop word [rax + rax]
movzx eax, byte [rsp + rdx + 0x3c]
mov ecx, dword [rsp + 0x38]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x3c], cl
inc rdx
cmp rdx, 6
jb 0x140165ba0
mov byte [rsp + 0x42], 0
lea rax, [rsp + 0x3c]
mov qword [rsp + 0xf0], rax
lea rsi, [fcn.1401379a0]
lea rax, [rsi + 0x28c]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], 0x28c
movaps xmm6, xmmword [rsp + 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x2d0], xmm0
movups xmmword [rsp + 0x2e0], xmm0
mov qword [rsp + 0x2d8], rbx
mov qword [rsp + 0x2e8], rbx
mov qword [rsp + 0x2f0], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x2d8], 0
movdqa xmmword [rsp + 0x300], xmm0
mov qword [rsp + 0x310], rbx
mov qword [rsp + 0x318], rbx
mov qword [rsp + 0x320], rbx
mov ecx, reloc.WS2_32.dll_recv
call fcn.140382738
mov qword [rax + 8], rbx
mov qword [rsp + 0x300], rax
lea rcx, [rsp + 0x300]
mov qword [rax], rcx
mov word [rsp + 0x330], 0
mov qword [rsp + 0x33e], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x333], xmm0
mov word [rsp + 0x343], ax
mov byte [rsp + 0x225], al
mov dword [rsp + 0x2f8], ebx
mov dword [rsp + 0x32c], ebx
movdqa xmmword [rsp + 0x110], xmm6
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x2d0]
call fcn.1401a12c0
lea rdx, [rsp + 0x2d8]
lea rcx, [rsp + 0x170]
call fcn.14012bf50
nop
lea rcx, [rsp + 0x300]
call fcn.14016e710
mov rcx, qword [rsp + 0x300]
mov qword [rsp + 0x300], rbx
mov edx, reloc.WS2_32.dll_recv
call fcn.140382774
mov rdx, qword [rsp + 0x2f0]
cmp rdx, 0x10
jb 0x140165d50
inc rdx
mov rcx, qword [rsp + 0x2d8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140165d4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401665dc
call fcn.140382774
mov qword [rsp + 0x2e8], rbx
mov qword [rsp + 0x2f0], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x2d8], 0
mov dword [rsp + 0x50], 0xf2eefaf9
mov dword [rsp + 0x54], 0x100f3f3
mov rcx, rbx
nop
lea eax, [rcx - 0x68]
xor byte [rsp + rcx + 0x50], al
inc rcx
cmp rcx, 6
jb 0x140165d80
mov byte [rsp + 0x57], 0
lea r8, [rsp + 0x170]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x230]
call fcn.14012cc30
lea rdi, [0x1401b0e10]
lea rax, [rdi + 0x24f]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], 0x24f
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x120], xmm0
lea r8, [r14 + 0x40]
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x1d0]
call fcn.14013bcb0
mov r8, rax
mov dword [rsp + 0xa0], 0xf7eae9f9
mov dword [rsp + 0xa4], 0xebfffef5
mov dword [rsp + 0xa8], 0xfccccec9
mov dword [rsp + 0xac], 0x100c1cd
mov rcx, rbx
nop dword [rax]
lea eax, [rcx - 0x68]
xor byte [rsp + rcx + 0xa0], al
inc rcx
cmp rcx, 0xe
jb 0x140165e30
mov byte [rsp + 0xaf], 0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x230]
call fcn.14012cc30
lea rax, [rdi + 0x23c]
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x88], 0x23c
movaps xmm0, xmmword [rsp + 0x80]
movdqa xmmword [rsp + 0x130], xmm0
lea r8, [0x1404dbbd8]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x1f0]
call fcn.14013bcb0
mov r8, rax
mov dword [rsp + 0x30], 0xebedf1f5
mov word [rsp + 0x34], 0xf8
mov byte [rsp + 0x36], 1
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x68]
xor byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 5
jb 0x140165ed0
mov byte [rsp + 0x36], 0
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x230]
call fcn.14012cc30
add rdi, 0x29f
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0x88], 0x29f
movaps xmm6, xmmword [rsp + 0x80]
xorps xmm0, xmm0
movups xmmword [rsp + 0x350], xmm0
movups xmmword [rsp + 0x360], xmm0
mov qword [rsp + 0x358], rbx
mov qword [rsp + 0x368], rbx
mov qword [rsp + 0x370], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x358], 0
movdqa xmmword [rsp + 0x380], xmm0
mov qword [rsp + 0x390], rbx
mov qword [rsp + 0x398], rbx
mov qword [rsp + 0x3a0], rbx
mov ecx, reloc.WS2_32.dll_recv
call fcn.140382738
mov qword [rax + 8], rbx
mov qword [rsp + 0x380], rax
lea rcx, [rsp + 0x380]
mov qword [rax], rcx
mov word [rsp + 0x3b0], 0
mov qword [rsp + 0x3be], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x3b3], xmm0
mov word [rsp + 0x3c3], ax
mov byte [rsp + 0x220], al
mov dword [rsp + 0x378], ebx
mov dword [rsp + 0x3ac], ebx
movdqa xmmword [rsp + 0x140], xmm6
lea r8, [rsp + 0x218]
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x350]
call fcn.1401a1590
lea rdx, [rsp + 0x358]
lea rcx, [rsp + 0x190]
call fcn.14012bf50
nop
lea rcx, [rsp + 0x380]
call fcn.14016e710
mov rcx, qword [rsp + 0x380]
mov qword [rsp + 0x380], rbx
mov edx, reloc.WS2_32.dll_recv
call fcn.140382774
lea rcx, [rsp + 0x358]
call fcn.140129eb0
mov dword [rsp + 0x90], 0xfae3f6ea
mov dword [rsp + 0x94], 0xecebc2f0
mov dword [rsp + 0x98], 0x100d3c5
mov rcx, rbx
lea eax, [rcx - 0x68]
xor byte [rsp + rcx + 0x90], al
inc rcx
cmp rcx, 0xa
jb 0x140166062
mov byte [rsp + 0x9b], 0
lea r8, [rsp + 0x190]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x230]
call fcn.14012cc30
add rsi, 0x26c
mov qword [rsp + 0xb0], rsi
mov dword [rsp + 0xb8], 0x26c
xorps xmm0, xmm0
movups xmmword [rsp + 0x420], xmm0
movups xmmword [rsp + 0x430], xmm0
mov qword [rsp + 0x428], rbx
mov qword [rsp + 0x438], rbx
mov qword [rsp + 0x440], 0xf
mov byte [rsp + 0x428], 0
lea rcx, [rsp + 0x450]
call fcn.140155f80
mov word [rsp + 0x480], 0
mov qword [rsp + 0x48e], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x483], xmm0
mov word [rsp + 0x493], ax
mov byte [rsp + 0x221], al
mov dword [rsp + 0x448], ebx
mov dword [rsp + 0x47c], ebx
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x150], xmm0
lea r8, [0x1404dbc98]
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x420]
call fcn.1401a0ff0
lea rdx, [rsp + 0x428]
lea rcx, [rsp + 0x1b0]
call fcn.14012bf50
nop
lea rcx, [rsp + 0x450]
call fcn.14016e710
mov rcx, qword [rsp + 0x450]
mov qword [rsp + 0x450], rbx
mov edx, reloc.WS2_32.dll_recv
call fcn.140382774
lea rcx, [rsp + 0x420]
call fcn.14015b630
mov dword [rsp + 0x48], 0xfae3f6ea
mov word [rsp + 0x4c], 0xf0
mov byte [rsp + 0x4e], 1
mov rcx, rbx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x68]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 5
jb 0x1401661d0
mov byte [rsp + 0x4e], 0
lea r8, [rsp + 0x1b0]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x230]
call fcn.14012cc30
cmp byte [0x1404dbde2], 0
jne 0x140166224
nop dword [rax + rax]
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [0x1404dbde2], 0
je 0x140166210
lea rdi, [0x1404dc718]
lea rsi, [0x1404dc1a0]
lea rcx, [rsp + 0x230]
call fcn.14012ea80
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rdi
mov qword [rsp + 0xc0], rsi
lea rax, [0x1401a49f0]
add rax, 0x1da
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xb8], 0x1da
movaps xmm6, xmmword [rsp + 0xb0]
xor eax, eax
mov word [rsp + 0x280], ax
mov byte [rsp + 0x282], al
mov qword [rsp + 0x288], rbx
mov qword [rsp + 0x290], rbx
mov qword [rsp + 0x298], rbx
mov qword [rsp + 0x2a0], rbx
mov qword [rsp + 0x2a8], rbx
lea ecx, [rax + 0x10]
call fcn.140382738
mov qword [rax + 8], rbx
mov qword [rsp + 0x288], rax
lea rcx, [rsp + 0x288]
mov qword [rax], rcx
mov word [rsp + 0x2b8], 0
mov qword [rsp + 0x2c6], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x2bb], xmm0
mov word [rsp + 0x2cb], ax
mov byte [rsp + 0x222], al
mov dword [rsp + 0x284], ebx
mov dword [rsp + 0x2b4], ebx
movdqa xmmword [rsp + 0x160], xmm6
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x100]
lea r8, [rsp + 0xc0]
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x280]
call fcn.1401a23d0
nop
lea rcx, [rsp + 0x288]
call fcn.14016e710
mov rcx, qword [rsp + 0x288]
mov qword [rsp + 0x288], rbx
mov edx, reloc.WS2_32.dll_recv
call fcn.140382774
cmp byte [0x1404dbce2], 0
je 0x140166390
mov byte [0x1404dbce2], 0
jmp 0x140166232
mov eax, dword [0x1404dbdf0]
inc eax
mov dword [0x1404dbdf0], eax
cmp eax, 0x64
movzx eax, byte [0x1404dbde1]
jl 0x1401663b2
test al, al
je 0x1401665e2
mov dword [0x1404dbdf0], ebx
test al, al
jne 0x1401663c9
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140166390
lea rcx, [rsp + 0x230]
call fcn.14012ce10
lea rax, [0x140166610]
add rax, 0x28c
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xb8], 0x28c
xor eax, eax
mov word [rsp + 0x3d0], ax
mov byte [rsp + 0x3d2], al
lea rcx, [rsp + 0x3d8]
call fcn.140155f80
mov word [rsp + 0x408], 0
mov qword [rsp + 0x416], rbx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x40b], xmm0
mov word [rsp + 0x41b], ax
mov byte [rsp + 0x223], al
mov dword [rsp + 0x3d4], ebx
mov dword [rsp + 0x404], ebx
movaps xmm0, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0xb0], xmm0
lea r8, [rsp + 0x210]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x3d0]
call fcn.1401a2100
nop
lea rcx, [rsp + 0x3d8]
call fcn.14016e710
mov rcx, qword [rsp + 0x3d8]
mov qword [rsp + 0x3d8], rbx
mov edx, reloc.WS2_32.dll_recv
call fcn.140382774
mov byte [rsp + 0x58], 0x5f
mov byte [rsp + 0x59], WSACleanup
mov byte [rsp + 0x5a], 0x7e
mov byte [rsp + 0x5b], WSAGetLastError
mov byte [rsp + 0x5c], 0x56
mov byte [rsp + 0x5d], 0x51
mov byte [rsp + 0x5e], 0x5b
mov byte [rsp + 0x5f], 0x53
mov byte [rsp + 0x60], 0
movzx eax, byte [rsp + 0x58]
nop dword [rax + rax]
movzx eax, byte [rsp + rbx + 0x58]
sub al, 0xd
mov byte [rsp + rbx + 0x58], al
inc rbx
cmp rbx, 8
jb 0x1401664e0
lea rax, [rsp + 0x58]
mov rdx, qword [rsp + 0x210]
cmp rdx, rax
jne 0x140166540
mov byte [0x1404dbb51], 1
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x270]
call fcn.14013d190
lea rcx, [rsp + 0x250]
call fcn.140129eb0
lea rcx, [rsp + 0x230]
call fcn.140129eb0
xor al, al
jmp 0x1401665ad
mov rcx, qword [0x1404dbca0]
call fcn.1401309d0
mov rdx, qword [rsp + 0x210]
lea rcx, [0x1404de8b0]
call fcn.1401399d0
mov rcx, rax
call fcn.14014bd30
mov rcx, r14
call fcn.140166870
inc dword [0x1404dbcc4]
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x270]
call fcn.14013d190
lea rcx, [rsp + 0x250]
call fcn.140129eb0
lea rcx, [rsp + 0x230]
call fcn.140129eb0
mov al, 1
jmp 0x1401665ad
mov al, 1
jmp 0x1401665ad
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.140382da0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
ret
call fcn.140389824
int3
mov ecx, 0x2b
call fcn.14039170c
int3