Function at 0x1400068d8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push rbp
push r13
push r14
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
xor r14d, r14d
movaps xmmword [rax - 0x28], xmm6
cmp qword [0x1400d50e0], r14
movaps xmmword [rax - 0x38], xmm7
je 0x140007151
cmp qword [0x1400d50e8], r14
je 0x140007151
mov rax, qword gs:[0x58]
mov r13d, 4
mov dword [rsp + 0x30], 0xb5cedc53
mov dword [rsp + 0x34], 0x807ddbd2
mov rsi, qword [rax]
mov dword [rsp + 0x38], 0xb5d9d25b
mov eax, dword [rsi + r13]
cmp dword [0x1400d5174], eax
jg 0x14000715a
cmp byte [reloc.WS2_32.dll_accept], r14b
lea r9, [0x1400d26c0]
mov r12b, 7
je 0x1400069a2
mov r8, r14
movabs r13, 0xf00dbabed4adb33f
mov cl, r8b
mov rdx, r13
and cl, r12b
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xd
jb 0x140006979
mov byte [reloc.WS2_32.dll_accept], r14b
mov r13d, 4
mov rcx, r9
call fcn.14007a44c
mov rdi, rax
mov dword [rsp + 0x30], 0xa0f1c01a
mov eax, dword [rsi + r13]
cmp dword [0x1400d5160], eax
mov dword [rsp + 0x34], 0x9565d9c7
mov dword [rsp + 0x38], 0xbac4d15e
mov word [rsp + 0x3c], 0xbacd
jg 0x1400071b1
cmp byte [reloc.WS2_32.dll_accept], r14b
lea rdx, [0x1400d2740]
je 0x140006a1c
mov r9, r14
movabs r10, 0xf00dbabed4adb33f
mov cl, r9b
mov r8, r10
and cl, r12b
shl cl, 3
shr r8, cl
xor byte [r9 + rdx], r8b
inc r9
cmp r9, 0xe
jb 0x1400069f9
mov byte [reloc.WS2_32.dll_accept], r14b
mov r8, rdi
lea rcx, [rsp + 0x70]
call fcn.140001ee4
lea rcx, [rsp + 0x70]
call fcn.140008880
test eax, eax
jne 0x140006a44
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [0x1400d50e8]
mov eax, dword [rsi + r13]
cmp dword [0x1400d5164], eax
mov dword [rsp + 0x30], 0xb0f1c01a
mov dword [rsp + 0x34], 0x9f60dfdf
mov dword [rsp + 0x38], 0xacc89d51
mov word [rsp + 0x3c], 0xbadb
jg 0x140007212
cmp byte [reloc.WS2_32.dll_accept], r14b
lea rdx, [0x1400d2638]
movabs rdi, 0xf00dbabed4adb33f
je 0x140006ab3
mov r9, r14
mov cl, r9b
mov r8, rdi
and cl, r12b
shl cl, 3
shr r8, cl
xor byte [r9 + rdx], r8b
inc r9
cmp r9, 0xe
jb 0x140006a90
mov byte [reloc.WS2_32.dll_accept], r14b
lea r8, [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.140001ee4
mov eax, dword [rsi + r13]
cmp dword [0x1400d516c], eax
mov dword [rsp + 0x30], 0xb9c8d25b
mov dword [rsp + 0x34], 0x9523d4d1
mov word [rsp + 0x38], 0xd647
jg 0x140007273
cmp byte [reloc.WS2_32.dll_accept], r14b
lea r9, [0x1400d2710]
je 0x140006b1f
mov r8, r14
mov cl, r8b
mov rdx, rdi
and cl, r12b
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xb
jb 0x140006afc
mov byte [reloc.WS2_32.dll_accept], r14b
mov rcx, r9
call fcn.1400088cc
test eax, eax
je 0x140006b90
mov eax, dword [rsi + r13]
cmp dword [0x1400d514c], eax
mov dword [rsp + 0x30], 0xb9c8d25b
mov dword [rsp + 0x34], 0x9523d4d1
mov word [rsp + 0x38], 0xd647
jg 0x1400072cc
cmp byte [reloc.WS2_32.dll_accept], r14b
lea r9, [0x1400d2620]
je 0x140006b88
mov r8, r14
mov cl, r8b
mov rdx, rdi
and cl, r12b
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xb
jb 0x140006b65
mov byte [reloc.WS2_32.dll_accept], r14b
mov rcx, r9
call fcn.140008960
mov eax, dword [rsi + r13]
cmp dword [0x1400d5138], eax
movdqa xmm6, xmmword [0x1400c3dc0]
movdqa xmm7, xmmword [0x1400c3d10]
mov dword [rsp + 0x50], 0xbac2de5a
mov dword [rsp + 0x54], 0x9575df90
jg 0x140007325
cmp byte [reloc.WS2_32.dll_accept], r14b
lea rdx, [0x1400d26d0]
je 0x140006bf6
mov r9, r14
mov cl, r9b
mov r8, rdi
and cl, r12b
shl cl, 3
shr r8, cl
xor byte [r9 + rdx], r8b
inc r9
cmp r9, 0x29
jb 0x140006bd3
mov byte [reloc.WS2_32.dll_accept], r14b
lea rcx, [rsp + 0x70]
call fcn.140007eb8
mov eax, dword [rsi + r13]
cmp dword [0x1400d5170], eax
mov rdi, qword [0x1400d50e0]
mov dword [rsp + 0x60], 0xbac8c350
jg 0x140007380
cmp byte [reloc.WS2_32.dll_accept], r14b
lea rdx, [0x1400d2604]
je 0x140006c5f
mov r9, r14
movabs r10, 0xf00dbabed4adb33f
mov cl, r9b
mov r8, r10
and cl, r12b
shl cl, 3
shr r8, cl
xor byte [r9 + rdx], r8b
inc r9
cmp r9, 5
jb 0x140006c3c
mov byte [reloc.WS2_32.dll_accept], r14b
mov dword [rsp + 0x28], r14d
lea r8, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x20], r14
xor ecx, ecx
call rdi
call fcn.140003470
mov eax, dword [rsi + r13]
cmp dword [0x1400d5154], eax
mov dword [rsp + 0x30], 0xb5cedc53
mov dword [rsp + 0x34], 0x807ddbd2
mov dword [rsp + 0x38], 0xb5d9d25b
jg 0x1400073c9
cmp byte [reloc.WS2_32.dll_accept], r14b
lea r9, [0x1400d2700]
je 0x140006ce8
mov r8, r14
movabs r13, 0xf00dbabed4adb33f
mov cl, r8b
mov rdx, r13
and cl, r12b
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xd
jb 0x140006cbf
mov byte [reloc.WS2_32.dll_accept], r14b
mov r13d, 4
mov rcx, r9
call fcn.14007a44c
mov ecx, dword [rsi + r13]
mov rdi, rax
cmp dword [0x1400d5148], ecx
movdqa xmm6, xmmword [0x1400c3d00]
mov dword [rsp + 0x40], 0xacc89d5a
mov word [rsp + 0x44], 0xbadb
jg 0x140007420
cmp byte [reloc.WS2_32.dll_accept], r14b
lea rdx, [0x1400d2760]
je 0x140006d60
mov r9, r14
movabs r13, 0xf00dbabed4adb33f
mov cl, r9b
mov r8, r13
and cl, r12b
shl cl, 3
shr r8, cl
xor byte [r9 + rdx], r8b
inc r9
cmp r9, 0x16
jb 0x140006d37
mov byte [reloc.WS2_32.dll_accept], r14b
mov r13d, 4
mov r8, rdi
lea rcx, [rbp + 0x80]
call fcn.140001ee4
mov eax, dword [rsi + r13]
cmp dword [0x1400d5168], eax
mov dword [rsp + 0x30], 0xb7deda7b
mov dword [rsp + 0x34], 0xde69c8d1
mov dword [rsp + 0x38], 0xd4c8cb5a
jg 0x14000747a
cmp byte [reloc.WS2_32.dll_accept], r14b
lea r9, [0x1400d2610]
je 0x140006ddd
mov r8, r14
movabs r13, 0xf00dbabed4adb33f
mov cl, r8b
mov rdx, r13
and cl, r12b
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xc
jb 0x140006db4
mov byte [reloc.WS2_32.dll_accept], r14b
mov r13d, 4
mov rcx, r9
call fcn.1400088cc
test eax, eax
jne 0x140006ef9
lea rcx, [rbp + 0x80]
call fcn.140008880
test eax, eax
je 0x140006ef9
mov eax, dword [rsi + r13]
cmp dword [0x1400d5158], eax
mov rdi, qword [0x1400d50e0]
movdqa xmm6, xmmword [0x1400c3db0]
mov dword [rsp + 0x40], 0xbbcec056
mov dword [rsp + 0x44], 0x9523decc
mov word [rsp + 0x48], 0xd647
jg 0x1400074cf
cmp byte [reloc.WS2_32.dll_accept], r14b
lea r12, [0x1400d2720]
je 0x140006e7d
mov r8, r14
movabs r13, 0xf00dbabed4adb33f
mov cl, r8b
mov rdx, r13
and cl, 7
shl cl, 3
shr rdx, cl
xor byte [r8 + r12], dl
inc r8
cmp r8, 0x1b
jb 0x140006e54
mov byte [reloc.WS2_32.dll_accept], r14b
mov r13d, 4
mov eax, dword [rsi + r13]
cmp dword [0x1400d5134], eax
mov dword [rsp + 0x60], 0xbac8c350
jg 0x14000752f
cmp byte [reloc.WS2_32.dll_accept], r14b
lea rdx, [0x1400d262c]
je 0x140006edb
mov r10, r14
movabs r13, 0xf00dbabed4adb33f
mov cl, r10b
mov r8, r13
and cl, 7
shl cl, 3
shr r8, cl
xor byte [r10 + rdx], r8b
inc r10
cmp r10, 5
jb 0x140006eb2
mov byte [reloc.WS2_32.dll_accept], r14b
mov r13d, 4
mov dword [rsp + 0x28], 5
lea r8, [rbp + 0x80]
mov r9, r12
mov qword [rsp + 0x20], r14
xor ecx, ecx
call rdi
mov r12b, 7
mov eax, dword [rsi + r13]
cmp dword [0x1400d5144], eax
mov dword [rsp + 0x30], 0x86c3da68
mov dword [rsp + 0x34], 0x9523e8ff
mov word [rsp + 0x38], 0xd647
jg 0x140007578
cmp byte [reloc.WS2_32.dll_accept], r14b
lea r9, [0x1400d2648]
movabs rdi, 0xf00dbabed4adb33f
je 0x140006f60
mov r8, r14
mov cl, r8b
mov rdx, rdi
and cl, r12b
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0xb
jb 0x140006f3d
mov byte [reloc.WS2_32.dll_accept], r14b
mov rcx, r9
call fcn.140008960
mov eax, dword [rsi + r13]
cmp dword [0x1400d512c], eax
movdqa xmm6, xmmword [0x1400c3cf0]
movdqa xmm7, xmmword [0x1400c3d50]
mov word [rsp + 0x50], 0xd647
jg 0x1400075d1
cmp byte [reloc.WS2_32.dll_accept], r14b
lea r9, [0x1400d27a0]
je 0x140006fc5
mov r8, r14
mov cl, r8b
mov rdx, rdi
and cl, r12b
shl cl, 3
shr rdx, cl
xor byte [r8 + r9], dl
inc r8
cmp r8, 0x23
jb 0x140006fa2
mov byte [reloc.WS2_32.dll_accept], r14b
mov rcx, r9
call fcn.140008880
test eax, eax
je 0x1400070cf
mov eax, dword [rsi + r13]
cmp dword [0x1400d5150], eax
movdqa xmm6, xmmword [0x1400c3d60]
movdqa xmm7, xmmword [0x1400c3d20]
mov dword [rsp + 0x50], 0xe2d59e4d
mov dword [rsp + 0x54], 0xc23b978a
mov dword [rsp + 0x58], 0xacc89d0d
mov word [rsp + 0x5c], 0xbadb
jg 0x14000762a
cmp byte [reloc.WS2_32.dll_accept], r14b
lea rdi, [0x1400d2690]
je 0x14000705a
mov r8, r14
movabs r13, 0xf00dbabed4adb33f
mov cl, r8b
mov rdx, r13
and cl, r12b
shl cl, 3
shr rdx, cl
xor byte [r8 + rdi], dl
inc r8
cmp r8, 0x2e
jb 0x140007031
mov byte [reloc.WS2_32.dll_accept], r14b
mov r13d, 4
mov eax, dword [rsi + r13]
cmp dword [0x1400d5140], eax
movdqa xmm6, xmmword [0x1400c3cf0]
movdqa xmm7, xmmword [0x1400c3d50]
mov word [rsp + 0x50], 0xd647
jg 0x1400070f8
cmp byte [reloc.WS2_32.dll_accept], r14b
lea r10, [0x1400d2660]
je 0x1400070c4
mov r9, r14
movabs rdi, 0xf00dbabed4adb33f
mov cl, r9b
mov r8, rdi
and cl, r12b
shl cl, 3
shr r8, cl
xor byte [r9 + r10], r8b
inc r9
cmp r9, 0x23
jb 0x14000709a
mov byte [reloc.WS2_32.dll_accept], r14b
lea rdi, [0x1400d2690]
mov rdx, rdi
mov rcx, r10
call fcn.140007eb8
lea r11, [rsp + 0x2b0]
xor eax, eax
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop r13
pop rbp
ret
lea rcx, [0x1400d5140]
call fcn.140070f64
cmp dword [0x1400d5140], 0xffffffff
jne 0x14000707d
movzx eax, word [rsp + 0x50]
lea rcx, [0x1400a4150]
mov word [0x1400d2680], ax
mov word [0x1400d2682], 0x1ad
movaps xmmword [0x1400d2660], xmm6
movaps xmmword [0x1400d2670], xmm7
call fcn.140071310
lea rcx, [0x1400d5140]
call fcn.140070ef8
jmp 0x14000707d
or ecx, 0xffffffff
call fcn.14007a75c
int3
lea rcx, [0x1400d5174]
call fcn.140070f64
cmp dword [0x1400d5174], 0xffffffff
jne 0x140006959
movsd xmm0, qword [rsp + 0x30]
lea rcx, [0x1400a42a4]
mov eax, dword [rsp + 0x38]
movsd qword [0x1400d26c0], xmm0
mov word [0x1400d26cc], 0x1be
mov dword [0x1400d26c8], eax
call fcn.140071310
lea rcx, [0x1400d5174]
call fcn.140070ef8
jmp 0x140006959
lea rcx, [0x1400d5160]
call fcn.140070f64
cmp dword [0x1400d5160], 0xffffffff
jne 0x1400069dc
mov eax, dword [rsp + 0x38]
lea rcx, [0x1400a42bc]
movsd xmm0, qword [rsp + 0x30]
mov dword [0x1400d2748], eax
movzx eax, word [rsp + 0x3c]
mov word [0x1400d274c], ax
mov byte [reloc.WS2_32.dll_accept], 1
movsd qword [0x1400d2740], xmm0
call fcn.140071310
lea rcx, [0x1400d5160]
call fcn.140070ef8
jmp 0x1400069dc
lea rcx, [0x1400d5164]
call fcn.140070f64
cmp dword [0x1400d5164], 0xffffffff
jne 0x140006a73
mov eax, dword [rsp + 0x38]
lea rcx, [0x1400a428c]
movsd xmm0, qword [rsp + 0x30]
mov dword [0x1400d2640], eax
movzx eax, word [rsp + 0x3c]
mov word [0x1400d2644], ax
mov byte [reloc.WS2_32.dll_accept], 1
movsd qword [0x1400d2638], xmm0
call fcn.140071310
lea rcx, [0x1400d5164]
call fcn.140070ef8
jmp 0x140006a73
lea rcx, [0x1400d516c]
call fcn.140070f64
cmp dword [0x1400d516c], 0xffffffff
jne 0x140006ae9
movsd xmm0, qword [rsp + 0x30]
lea rcx, [0x1400a4274]
movzx eax, word [rsp + 0x38]
movsd qword [0x1400d2710], xmm0
mov word [0x1400d2718], ax
mov word [0x1400d271a], 0x1ad
call fcn.140071310
lea rcx, [0x1400d516c]
call fcn.140070ef8
jmp 0x140006ae9
lea rcx, [0x1400d514c]
call fcn.140070f64
cmp dword [0x1400d514c], 0xffffffff
jne 0x140006b52
movsd xmm0, qword [rsp + 0x30]
lea rcx, [0x1400a425c]
movzx eax, word [rsp + 0x38]
movsd qword [0x1400d2620], xmm0
mov word [0x1400d2628], ax
mov word [0x1400d262a], 0x1ad
call fcn.140071310
lea rcx, [0x1400d514c]
call fcn.140070ef8
jmp 0x140006b52
lea rcx, [0x1400d5138]
call fcn.140070f64
cmp dword [0x1400d5138], 0xffffffff
jne 0x140006bc0
movsd xmm0, qword [rsp + 0x50]
lea rcx, [0x1400a4238]
movsd qword [0x1400d26f0], xmm0
mov word [0x1400d26f8], 0x13f
movaps xmmword [0x1400d26d0], xmm6
movaps xmmword [0x1400d26e0], xmm7
call fcn.140071310
lea rcx, [0x1400d5138]
call fcn.140070ef8
jmp 0x140006bc0
lea rcx, [0x1400d5170]
call fcn.140070f64
cmp dword [0x1400d5170], 0xffffffff
jne 0x140006c1f
mov eax, dword [rsp + 0x60]
lea rcx, [0x1400a4228]
mov dword [0x1400d2604], eax
mov word [0x1400d2608], 0x1be
call fcn.140071310
lea rcx, [0x1400d5170]
call fcn.140070ef8
jmp 0x140006c1f
lea rcx, [0x1400d5154]
call fcn.140070f64
cmp dword [0x1400d5154], 0xffffffff
jne 0x140006ca2
movsd xmm0, qword [rsp + 0x30]
lea rcx, [0x1400a41f4]
mov eax, dword [rsp + 0x38]
movsd qword [0x1400d2700], xmm0
mov word [0x1400d270c], 0x1be
mov dword [0x1400d2708], eax
call fcn.140071310
lea rcx, [0x1400d5154]
call fcn.140070ef8
jmp 0x140006ca2
lea rcx, [0x1400d5148]
call fcn.140070f64
cmp dword [0x1400d5148], 0xffffffff
jne 0x140006d1a
mov eax, dword [rsp + 0x40]
lea rcx, [0x1400a420c]
mov dword [0x1400d2770], eax
movzx eax, word [rsp + 0x44]
mov word [0x1400d2774], ax
mov byte [reloc.WS2_32.dll_accept], 1
movaps xmmword [0x1400d2760], xmm6
call fcn.140071310
lea rcx, [0x1400d5148]
call fcn.140070ef8
jmp 0x140006d1a
lea rcx, [0x1400d5168]
call fcn.140070f64
cmp dword [0x1400d5168], 0xffffffff
jne 0x140006d97
movsd xmm0, qword [rsp + 0x30]
lea rcx, [0x1400a41e4]
mov eax, dword [rsp + 0x38]
movsd qword [0x1400d2610], xmm0
mov byte [reloc.WS2_32.dll_accept], 1
mov dword [0x1400d2618], eax
call fcn.140071310
lea rcx, [0x1400d5168]
call fcn.140070ef8
jmp 0x140006d97
lea rcx, [0x1400d5158]
call fcn.140070f64
cmp dword [0x1400d5158], 0xffffffff
jne 0x140006e37
movsd xmm0, qword [rsp + 0x40]
lea rcx, [0x1400a41b0]
movzx eax, word [rsp + 0x48]
movsd qword [0x1400d2730], xmm0
mov word [0x1400d2738], ax
mov word [0x1400d273a], 0x1ad
movaps xmmword [0x1400d2720], xmm6
call fcn.140071310
lea rcx, [0x1400d5158]
call fcn.140070ef8
jmp 0x140006e37
lea rcx, [0x1400d5134]
call fcn.140070f64
cmp dword [0x1400d5134], 0xffffffff
jne 0x140006e95
mov eax, dword [rsp + 0x60]
lea rcx, [0x1400a41d4]
mov dword [0x1400d262c], eax
mov word [0x1400d2630], 0x1be
call fcn.140071310
lea rcx, [0x1400d5134]
call fcn.140070ef8
jmp 0x140006e95
lea rcx, [0x1400d5144]
call fcn.140070f64
cmp dword [0x1400d5144], 0xffffffff
jne 0x140006f20
movsd xmm0, qword [rsp + 0x30]
lea rcx, [0x1400a4198]
movzx eax, word [rsp + 0x38]
movsd qword [0x1400d2648], xmm0
mov word [0x1400d2650], ax
mov word [0x1400d2652], 0x1ad
call fcn.140071310
lea rcx, [0x1400d5144]
call fcn.140070ef8
jmp 0x140006f20
lea rcx, [0x1400d512c]
call fcn.140070f64
cmp dword [0x1400d512c], 0xffffffff
jne 0x140006f8f
movzx eax, word [rsp + 0x50]
lea rcx, [0x1400a4174]
mov word [0x1400d27c0], ax
mov word [0x1400d27c2], 0x1ad
movaps xmmword [0x1400d27a0], xmm6
movaps xmmword [0x1400d27b0], xmm7
call fcn.140071310
lea rcx, [0x1400d512c]
call fcn.140070ef8
jmp 0x140006f8f
lea rcx, [0x1400d5150]
call fcn.140070f64
cmp dword [0x1400d5150], 0xffffffff
jne 0x140007014
mov eax, dword [rsp + 0x58]
lea rcx, [0x1400a4128]
movsd xmm0, qword [rsp + 0x50]
mov dword [0x1400d26b8], eax
movzx eax, word [rsp + 0x5c]
mov word [0x1400d26bc], ax
mov byte [reloc.WS2_32.dll_accept], 1
movaps xmmword [0x1400d2690], xmm6
movaps xmmword [0x1400d26a0], xmm7
movsd qword [0x1400d26b0], xmm0
call fcn.140071310
lea rcx, [0x1400d5150]
call fcn.140070ef8
jmp 0x140007014