Function at 0x140407a58
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
sub r14, r13
btr ax, 0x23
push r13
setbe r14b
push r12
bsr r14, rdi
push rsi
cmp r11b, 0x9b
not r14d
movsx rax, si
push rdi
sal r14b, 0x2e
push rbp
neg r14b
rol ah, 0x4e
push rbx
sub rsp, 0x2f8
movzx r13, di
mov r12, r9
lahf
mov r14, r8
setae r13b
movsx rsi, r14w
mov r13, rcx
bswap esi
movzx si, bl
movzx eax, r10w
mov rsi, qword [rcx + 0x78]
not ax
mov rax, qword [rcx + 0x80]
jmp 0x140407ac3
jmp 0x140407ad3
add rsi, 0x40
cmp ah, 0xdd
test ax, 0x6ad3
cmp rsi, rax
jmp 0x140407adb
je 0x140407b6e
cmp qword [rsi], r14
jne 0x140407ac8
cmp qword [rsi + 8], rdx
jmp 0x140407af3
jne 0x140407ac8
cmp rsi, rax
jmp 0x140407b01
je 0x140407b6e
mov rdi, qword [rsi + 0x30]
cmp dil, r13b
test edx, 0x202e5f5b
cmp rdi, qword [rsi + 0x38]
jmp 0x140407b1d
je 0x140408548
mov qword [rdi + 0x38], 0
movsx rcx, di
mov rcx, qword [r12 + 0x38]
cmp dil, cl
test rcx, rcx
jmp 0x140407b3f
je 0x140407b5f
mov rax, qword [rcx]
mov rdx, rdi
jmp 0x140407b50
call qword [rax]
mov qword [rdi + 0x38], rax
test spl, 0xc8
jmp 0x140407b5f
add qword [rsi + 0x30], 0x40
jmp 0x140407b69
jmp 0x1404084cf
pxor xmm0, xmm0
movdqu xmmword [rsp + 0xb0], xmm0
movdqu xmmword [rsp + 0xa0], xmm0
movdqu xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0x80], r14
shr cx, 0xb6
add r8b, sil
mov qword [rsp + 0x88], rdx
lea r15, [rsp + 0xa8]
ror cx, cl
cmovs cx, bp
cmp dh, 0xba
mov rcx, r15
shr r8, cl
cmp edx, 0x5f9e2dac
sar r8b, cl
xor edx, edx
mov r8, r12
jmp 0x140407bcf
call fcn.1404309bf
mov rsi, qword [r13 + 0x80]
test bpl, 0x46
cmp rsi, qword [r13 + 0x88]
je 0x140407cdf
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rsi], xmm0
add cl, 0x4c
ror rcx, 0xfb
mov rcx, qword [rsp + 0x90]
mov qword [rsi + 0x10], rcx
jmp 0x140407c13
test rcx, rcx
jmp 0x140407c1b
je 0x140407c2c
mov rax, qword [rcx]
jmp 0x140407c29
call qword [rax + ioctlsocket]
movdqu xmm0, xmmword [rsp + 0x98]
movdqu xmmword [rsi + 0x18], xmm0
jmp 0x140407c3f
pxor xmm0, xmm0
movdqu xmmword [rsi + 0x28], xmm0
adc eax, 0x561950c7
movzx ax, dl
and al, r15b
mov qword [rsi + 0x38], 0
dec bh
shr cx, cl
rcr al, 0xe8
mov rcx, qword [rsp + 0xb0]
ror bh, 0xa0
rcr al, cl
cdqe
mov rax, qword [rsp + 0xa8]
movzx rbx, ax
mov rbx, rcx
sub rbx, rax
test r14b, spl
sub rcx, rax
jmp 0x140407c90
je 0x140407dcc
js 0x140408576
sar rbx, 6
cmc
clc
cmp rcx, 0xfc1
jmp 0x140407cae
jb 0x140407d0b
or rcx, 0x27
jmp 0x140407cbd
call fcn.1404444b1
lea rdi, [rax + 0x27]
clc
cmc
and rdi, 0xffffffffffffffe0
jmp 0x140407cd1
mov qword [rdi - 8], rax
jmp 0x140407cda
jmp 0x140407d13
lea rcx, [r13 + 0x78]
movzx edx, bp
movsxd rdx, r11d
lea r8, [rsp + 0x80]
movsx rdx, r10w
mov dx, 0x5897
mov rdx, rsi
jmp 0x140407d01
call fcn.140430fab
jmp 0x140407ddf
call fcn.1404444b1
mov rdi, rax
mov qword [rsi + 0x28], rdi
adc bpl, 0xdc
mov qword [rsi + 0x30], rdi
shl rbx, 6
cmp si, r14w
add bpl, r11b
add rbx, rdi
mov qword [rsi + 0x38], rbx
movzx bp, dl
movsx ebp, r12w
mov rbx, qword [rsp + 0xa8]
setl bpl
mov rbp, qword [rsp + 0xb0]
jmp 0x140407d52
jmp 0x140407d6f
add rdi, 0x40
test r9b, 0xff
clc
add rbx, 0x40
cmp spl, r14b
cmp r14d, 0x74744662
cmc
cmp rbx, rbp
jmp 0x140407d77
je 0x140407dbe
mov qword [rdi + 0x38], 0
btc cx, 0xa3
sar cx, cl
bt ecx, r15d
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x140407d57
mov rax, qword [rcx]
jmp 0x140407da6
mov rdx, rdi
jmp 0x140407dae
call qword [rax]
mov qword [rdi + 0x38], rax
jmp 0x140407db9
jmp 0x140407d57
mov qword [rsi + 0x30], rdi
movsx dx, sil
add si, 0x20cb
add qword [r13 + 0x80], 0x40
mov cx, 0x6766
jmp 0x140407ddf
lea rsi, [rsp + 0xc0]
mov rcx, r13
mov rdx, rsi
mov r8, rdx
movzx r8d, r13w
mov r8w, 0x7e54
mov r8, r14
jmp 0x140407e01
call fcn.140407075
cmp qword [rsp + 0xd8], 8
jmp 0x140407e14
jb 0x140407e22
mov rsi, qword [rsp + 0xc0]
mov rcx, rsi
call qword [0x1400de2d8]
cmp eax, 0xffffffff
je 0x14040826f
mov rbx, r15
mov rsi, qword [rsp + 0xc0]
movsxd rdi, r10d
cmovnp edi, edi
jmp 0x140407e4a
mov rdi, qword [rsp + 0xd8]
jmp 0x140407e57
mov qword [rsp + 0x48], 0
jmp 0x140407e65
pxor xmm0, xmm0
movdqa xmmword [rsp + 0xe0], xmm0
lea r15, [rsp + 0xf0]
bsf r8, r12
bt rcx, rbp
sbb rcx, r13
mov r8d, 0x208
btr rcx, 0xe3
mov rcx, r15
cmp spl, bpl
test r15, r15
xor edx, edx
call fcn.1404a051f
movabs rax, 0x8900fff655adeed1
movsxd rcx, r13d
mov ch, 0xb6
mov qword [rsp + 0x30], rax
movabs rax, 0x7948a97c69c4a64a
movzx cx, al
mov rcx, 0x7dd763c1
not rcx
mov qword [rsp + 0x38], rax
movsx ecx, dx
not cl
movabs rcx, 0x895cffc95592ee8d
jmp 0x140407ee6
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], rax
lahf
lea rax, [rsp + 0x50]
jmp 0x140407efb
movdqa xmm0, xmmword [rsp + 0x30]
pxor xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0xee]
clc
nop word cs:[rax + rax]
test bpl, 0x57
cmp r15w, 0x5b6e
jmp 0x140407f30
cmp word [rcx + 2], 0
jmp 0x140407f3a
lea rcx, [rcx + 2]
jmp 0x140407f43
jne 0x140407f30
cmp rdi, 8
xchg ah, al
setbe al
mov eax, edi
lea rax, [rsp + 0xc0]
jmp 0x140407f61
cmovae rax, rsi
movd edx, xmm0
test dx, dx
jmp 0x140407f71
je 0x140407fba
lea rbp, [rsp + 0x32]
jmp 0x140407f81
nop dword [rax]
mov word [rcx], dx
and dl, 0x9c
cmp si, 0x7686
add rcx, 2
xor dx, 0x4253
shr rdx, 0xee
shrd edx, edi, 0xad
movzx edx, word [rbp]
add rbp, 2
cmp bpl, 0x85
stc
test dx, dx
jne 0x140407f88
mov word [rcx], 0
xadd cl, cl
ror cx, 0x5a
mov cl, 2
lea rcx, [rsp + 0xee]
nop word cs:[rax + rax]
clc
test spl, r14b
stc
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jmp 0x140407ff2
jne 0x140407fe4
movzx edx, word [rax]
test dx, dx
jmp 0x140408003
je 0x140408049
add rax, 2
jmp 0x140408012
nop word [rax + rax]
mov word [rcx], dx
add rcx, 2
bsf dx, r14w
adc dl, 0xc2
movzx edx, word [rax]
cmp r11b, 0x95
test r10w, 0xc19
add rax, 2
test dx, dx
jmp 0x140408043
jne 0x14040801b
mov word [rcx], 0
stc
mov qword [rsp + 0x30], 0
cmp ebx, 0xeae3288
xor eax, eax
clc
test ah, 0
nop word cs:[rax + rax]
cmp word [rsp + rax + 0xf0], 0
jmp 0x14040807f
lea rax, [rax + 2]
jmp 0x140408088
jne 0x140408071
lea ecx, [rax - 2]
mov word [rsp + 0x30], cx
jmp 0x14040809b
mov word [rsp + 0x32], ax
mov qword [rsp + 0x38], r15
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 0x30
mov dword [rsp + 0x68], 0x40
mov ah, 2
lea rax, [rsp + 0x30]
jmp 0x1404080d2
mov qword [rsp + 0x60], rax
jmp 0x1404080dc
movdqa xmmword [rsp + 0x70], xmm0
mov eax, dword [0x1400dd018]
lea r10, [rsp + 0x48]
bsr r9w, cx
neg dl
shld r8w, sp, 3
lea r8, [rsp + 0x50]
sar dh, 0xee
lea r9, [rsp + 0xe0]
cqo
cmp r11b, r11b
mov edx, 0x120089
clc
cmc
sub rsp, 0x60
jmp 0x14040811f
mov qword [rsp + 0x28], 0
jmp 0x14040812d
mov qword [rsp + 0x30], 0x80
jmp 0x14040813b
mov qword [rsp + 0x38], 1
mov qword [rsp + 0x40], 1
jmp 0x140408152
mov qword [rsp + 0x48], 0x60
mov qword [rsp + 0x50], 0
jmp 0x140408169
mov qword [rsp + 0x58], 0
jmp 0x140408177
syscall
add rsp, 0x60
test eax, eax
setg r15b
mov r15, rbx
jmp 0x14040818b
jne 0x14040826f
mov rsi, qword [rsp + 0x48]
jmp 0x1404081a0
test rsi, rsi
jmp 0x1404081a8
je 0x14040826f
mov ecx, 0x20
jmp 0x1404081b8
call fcn.1404444b1
mov qword [rax], r14
mov qword [rax + 8], rsi
btc r9d, r13d
cmp ah, 0x7c
sal r9b, 0x93
mov qword [rax + 0x10], r13
lea rcx, [rsp + 0x58]
add r9b, 0x5d
shld r9d, r9d, 0x9f
btc r9w, sp
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
bts r8d, ecx
lea r8, [0x1400562e0]
sbb r9, rbx
sub ecx, ecx
xor edx, edx
mov r9, rax
call fcn.1404acfcd
mov qword [rsp + 0x50], rax
jmp 0x140408217
test rax, rax
jmp 0x14040821f
je 0x14040857b
cmp dword [rsp + 0x58], 0
jmp 0x14040822f
je 0x14040859b
movdqu xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xf0], xmm0
lea rcx, [rsp + 0xf0]
jmp 0x140408251
call fcn.140456a30
test eax, eax
jmp 0x14040825d
je 0x1404082d9
mov ecx, eax
jmp 0x14040826a
call fcn.140454aff
mov rcx, qword [r13]
movzx r8d, r15w
xchg dl, al
movsx r8, r10w
lea rax, [0x1400bf6e0]
cdq
movzx rdx, di
movsxd rdx, esp
mov qword [rsp + 0xf0], rax
cmovo dx, bx
jmp 0x14040829f
mov dword [rsp + 0xf8], 2
movzx r8d, bx
mov dx, 0x77d2
mov qword [rsp + 0x100], r14
xchg edx, edx
mov dl, 0xf8
bswap r8w
lea r8, [rsp + 0xf0]
mov edx, 0x7d0
jmp 0x1404082d4
call fcn.1403dbaef
mov rax, qword [rsp + 0xd8]
cmp rax, 8
jmp 0x1404082ea
jb 0x140408370
mov rcx, qword [rsp + 0xc0]
adc dh, ch
lea rdx, [rax + rax]
test rsi, r14
add rdx, 2
cmc
jmp 0x14040830c
cmp rdx, 0x1000
jmp 0x140408318
jb 0x14040836b
mov rbp, qword [rcx - 8]
clc
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp dil, 0xa0
jmp 0x140408336
cmp rcx, 0x20
jmp 0x14040833f
jae 0x140408571
add rax, rax
movsx edx, r10w
sbb edx, 0xf7f00ee
movzx ecx, r14w
add rax, 0x29
bswap edx
movsxd rdx, esp
xchg dx, cx
mov rdx, rax
not cx
mov rcx, rbp
call fcn.1401fd7f8
mov rsi, qword [rsp + 0xa8]
test dil, 0xd6
jmp 0x140408385
test rsi, rsi
je 0x1404084a4
mov rdi, qword [rsp + 0xb0]
cmp ch, 0x71
jmp 0x14040839e
cmp rsi, rdi
jmp 0x1404083a6
jne 0x1404083cb
jmp 0x14040841d
add rsi, 0x40
jmp 0x1404083bd
cmp rsi, rdi
jmp 0x1404083c5
je 0x140408410
mov rcx, qword [rsi + 0x38]
cmp cx, r13w
jmp 0x1404083dc
test rcx, rcx
jmp 0x1404083e4
je 0x1404083b1
cmp rsi, rcx
movzx eax, cx
movzx ax, r13b
setne dl
mov rax, qword [rcx]
jmp 0x140408400
call qword [rax + 0x20]
mov qword [rsi + 0x38], 0
jmp 0x1404083b1
mov rsi, qword [rsp + 0xa8]
btr rdx, 0x2c
mov rdx, qword [rsp + 0xb8]
cmc
sub rdx, rsi
cmp rdx, 0x1000
jmp 0x140408435
jb 0x140408477
mov rax, qword [rsi - 8]
cmc
add rsi, 0xfffffffffffffff8
test ax, 0x13e6
cmc
sub rsi, rax
cmp rsi, 0x20
jmp 0x140408455
jae 0x140408571
or rdx, 0x27
movsx ecx, r9w
mov ch, 0xe5
not sil
mov rsi, rax
cmovnp rcx, rsp
xchg cl, ch
jmp 0x140408477
mov rcx, rsi
call fcn.1401fd7f8
pxor xmm0, xmm0
movdqu xmmword [r15], xmm0
movzx cx, r8b
bts cx, r12w
mov qword [r15 + 0x10], 0
rol cl, cl
movsx cx, r13b
or cl, 0x5d
mov rcx, qword [rsp + 0x90]
cmc
test r12w, 0x19ee
cmp bp, ax
test rcx, rcx
jmp 0x1404084be
je 0x1404084cf
mov rax, qword [rcx]
jmp 0x1404084cc
call qword [rax + 0x10]
mov rcx, qword [r12 + 0x38]
test bx, 0x130a
cmc
test rcx, rcx
jmp 0x1404084e2
je 0x140408509
cmp rcx, r12
cdqe
jmp 0x1404084f2
setne dl
mov rax, qword [rcx]
jmp 0x1404084fd
call qword [rax + 0x20]
mov qword [r12 + 0x38], 0
add rsp, 0x2f8
xchg rbp, rsi
pop rbx
not dil
pop rbp
mov r12b, 0xb
pop rdi
cmovo rsi, r11
jmp 0x140408529
pop rsi
pop r12
movzx r14d, bx
pop r13
pop r14
bswap r15w
movsxd r15, eax
movzx r15w, bpl
pop r15
jmp 0x140408547
ret
add rsi, 0x28
mov rcx, rsi
movsx r8w, r8b
mov rdx, rdi
movsx r8, r15w
mov r8w, dx
mov r8, r12
jmp 0x140408567
call fcn.1404309bf
jmp 0x1404084cf
call fcn.1404b256e
call fcn.1403b8273
mov dword [rsp + 0x58], 0
movsx ecx, r10w
movsx cx, r14b
mov ecx, 6
jmp 0x140408596
call fcn.140454b7d
mov ecx, 1
jmp 0x1404085a5
call fcn.140454b7d
int3