Function at 0x14005c5b0
Capabilities:
Encode data using xor
Encrypt data using speck

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x38
mov rax, qword [rdx]
mov r15, r8
mov r8, qword [rsp + 0x98]
mov r12d, 1
mov r11, r9
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rax
mov ebx, r12d
test r8, r8
je 0x14005c5fb
mov rax, qword [rcx + 0x1b0]
mov qword [r8], rax
mov rax, qword [rsp + 0x70]
cmp dword [rcx + 0x80], 0
jge 0x14005c614
xor eax, eax
add rsp, 0x38
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [rsp + 0x30], r13
xor r13d, r13d
cmp qword [r9], r13
je 0x14005c648
mov r10, qword [rsp + 0x90]
test r10, r10
je 0x14005c633
cmp qword [r10], r13
jne 0x14005c653
sub rax, qword [rdx]
mov edx, 0xffffffec
mov r8, rax
call fcn.140057890
jmp 0x14005d62e
mov r10, r13
mov qword [rsp + 0x90], r13
mov rcx, qword [rcx + 0x50]
mov qword [rsp + 0x80], rbp
test rcx, rcx
jne 0x14005c699
mov rdx, qword [rdx]
mov rcx, qword [r15]
mov qword [rsi + 0x18], rcx
mov rax, rcx
test rdx, rdx
je 0x14005c67a
lea rax, [rcx + rdx]
mov qword [rsi + 0x28], rax
lea rax, [rdx + 1]
cmp rax, 0x1c
jbe 0x14005c693
lea rax, [rcx + rdx - 0x1b]
mov qword [rsi + 0x20], rax
jmp 0x14005c6e9
mov qword [rsi + 0x20], rcx
jmp 0x14005c6e9
lea rdx, [rsi + 0x48]
mov ebx, 2
mov qword [rsi + 0x18], rdx
mov rax, rdx
test rcx, rcx
je 0x14005c6b2
lea rax, [rdx + rcx]
mov qword [rsi + 0x28], rax
lea rax, [rcx + 1]
cmp rax, 0x1c
jbe 0x14005c6cb
lea rax, [rdx + rcx - 0x1b]
mov qword [rsi + 0x20], rax
jmp 0x14005c6e9
mov qword [rsi + 0x20], rdx
jmp 0x14005c6e9
mov r12d, 1
xor r13d, r13d
lea rbp, [0x140000000]
cmp ebx, 1
je 0x14005c80c
cmp ebx, 2
jne 0x14005d680
cmp qword [rsi + 0x88], 0
je 0x14005c73a
mov r9, r8
mov rdx, r11
mov rcx, rsi
mov r8, r10
mov dword [rsp + 0x20], r12d
call fcn.14005a3f0
test eax, eax
js 0x14005d612
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov rdx, qword [rsi + 0x50]
test rdx, rdx
je 0x14005d641
mov rax, qword [rsi + 0x28]
cmp qword [rsi + 0x18], rax
jne 0x14005c79b
mov qword [rsi + 0x50], r13
mov rdx, qword [r14]
mov rcx, qword [r15]
mov ebx, r12d
mov qword [rsi + 0x18], rcx
mov rax, rcx
test rdx, rdx
je 0x14005c76e
lea rax, [rcx + rdx]
mov r10, qword [rsp + 0x90]
mov qword [rsi + 0x28], rax
lea rax, [rdx + 1]
cmp rax, 0x1c
jbe 0x14005c792
lea rax, [rcx + rdx - 0x1b]
mov qword [rsi + 0x20], rax
jmp case.default.0x14005c822
mov qword [rsi + 0x20], rcx
jmp case.default.0x14005c822
cmp qword [r14], 0
je 0x14005d614
mov rax, qword [r15]
mov ebx, r12d
movzx ecx, byte [rax]
mov byte [rdx + rsi + 0x48], cl
inc qword [rsi + 0x50]
mov rdx, qword [rsi + 0x50]
lea rcx, [rsi + 0x48]
mov qword [rsi + 0x18], rcx
mov rax, rcx
je 0x14005c7cb
lea rax, [rcx + rdx]
mov qword [rsi + 0x28], rax
lea rax, [rdx + 1]
cmp rax, 0x1c
jbe 0x14005c7f5
mov r10, qword [rsp + 0x90]
lea rax, [rcx + rdx - 0x1b]
mov qword [rsi + 0x20], rax
inc qword [r15]
dec qword [r14]
jmp case.default.0x14005c822
mov r10, qword [rsp + 0x90]
mov qword [rsi + 0x20], rcx
inc qword [r15]
dec qword [r14]
jmp case.default.0x14005c822
movsxd rax, dword [rsi]
cmp eax, 0x1a
ja case.default.0x14005c822
mov ecx, dword [rbp + rax*4 + 0x5d6f0]
add rcx, rbp
jmp rcx
lea rcx, [rsi + 8]
call fcn.1400975f0
test eax, eax
jne 0x14005c851
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
lea ebx, [rax + 2]
jmp case.default.0x14005c822
lea rdx, [rsi + 8]
mov rcx, rsi
call fcn.1400578e0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
cmp eax, 1
jne case.default.0x14005c822
movzx ecx, byte [rsi + 0x304]
and cl, 0x20
neg cl
sbb ecx, ecx
add ecx, 2
mov dword [rsi], ecx
jmp case.default.0x14005c822
cmp qword [rsi + 0x10], 6
jae 0x14005c8dc
mov r8, qword [rsi + 0x28]
mov rdx, qword [rsi + 0x18]
cmp rdx, r8
je 0x14005c978
movzx eax, byte [rdx]
mov rcx, qword [rsi + 0x10]
shl rax, cl
add rcx, 8
or qword [rsi + 8], rax
lea rax, [rdx + 1]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rax
cmp rcx, 6
jb 0x14005c8a3
mov r8, qword [rsp + 0x98]
mov rax, qword [rsi + 8]
mov rcx, rax
shr rax, 6
and rcx, qword [0x1402c3e80]
add qword [rsi + 0x10], 0xfffffffffffffffa
mov qword [rsi + 8], rax
and dword [rsi + 0x304], 0xfffff03f
and ecx, 0x3f
shl ecx, 6
or dword [rsi + 0x304], ecx
mov eax, dword [rsi + 0x304]
shr eax, 6
and eax, 0x3f
cmp eax, 0xa
jb 0x14005c98a
cmp eax, 0x1e
ja 0x14005c98a
mov dword [rsi], 2
mov ecx, dword [rsi + 0x304]
mov edx, r12d
shr ecx, 6
and ecx, 0x3f
shl edx, cl
mov rcx, qword [rsi + 0x40]
sub edx, 0x10
mov dword [rsi + 0x5c], edx
mov edx, 0x3030
call qword [rsi + 0x30]
mov qword [rsi + 0x100], rax
test rax, rax
jne 0x14005c994
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
lea ebx, [rax - 0x1e]
jmp case.default.0x14005c822
mov r8, qword [rsp + 0x98]
mov ebx, 2
jmp case.default.0x14005c822
mov ebx, 0xfffffff3
jmp case.default.0x14005c822
add rax, 0x1da0
mov dword [rsi], 3
mov qword [rsi + 0x108], rax
mov rcx, rsi
call fcn.140097810
mov dword [rsi], 4
lea rdx, [rsi + 8]
mov rcx, rsi
call fcn.140057bd0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
cmp eax, 1
jne case.default.0x14005c822
mov eax, dword [rsi + 0x304]
test al, 4
jne 0x14005c9f2
test al, 2
je 0x14005ca54
mov rdx, qword [rsi + 0x10]
mov r8, r13
mov rcx, rdx
and ecx, 7
je 0x14005ca1e
mov rax, qword [rsi + 8]
mov r8, qword [rbp + rcx*8 + 0x2c3e50]
sub rdx, rcx
and r8, rax
shr rax, cl
mov qword [rsi + 0x10], rdx
mov qword [rsi + 8], rax
mov rcx, qword [rsi + 0x10]
cmp rcx, 0x40
jae 0x14005ca35
mov rax, r12
shl rax, cl
dec rax
and qword [rsi + 8], rax
test r8, r8
je 0x14005ca54
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, 0xfffffff2
jmp case.default.0x14005c822
test byte [rsi + 0x304], 4
je 0x14005cab0
mov rax, qword [rsi + 0x2d0]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov dword [rsi], reloc.WS2_32.dll_inet_ntoa
test rax, rax
je case.default.0x14005c822
movsxd rdx, dword [rsi + 0x84]
mov rcx, qword [rsi + 0x2e0]
call rax
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
jmp case.default.0x14005c822
cmp dword [rsi + 0x84], 0
jne 0x14005cad5
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov eax, recv
mov dword [rsi], eax
jmp case.default.0x14005c822
mov rcx, rsi
call fcn.14005abf0
test byte [rsi + 0x304], 2
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
je 0x14005cb09
mov r10, qword [rsp + 0x90]
mov dword [rsi], reloc.WS2_32.dll_inet_addr
jmp case.default.0x14005c822
mov dword [rsi], send
mov dword [rsi + 4], r13d
lea rax, [rsi + 0x438]
mov qword [rsi + 0x360], r13
mov dword [rsi + 0x358], r13d
mov qword [rsi + 0x350], 0
mov qword [rsi + 0x410], rax
mov dword [rsi], reloc.WS2_32.dll_select
movsxd rax, dword [rsi + 4]
cmp eax, 3
jl 0x14005cb5c
mov r10, qword [rsp + 0x90]
mov dword [rsi], 5
jmp case.default.0x14005c822
lea r8, [rsi + rax*8 + 0x138]
lea rdx, [rsi + 8]
mov rcx, rsi
call fcn.140057a20
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
cmp eax, 1
jne case.default.0x14005c822
movsxd rax, dword [rsi + 4]
inc qword [rsi + rax*8 + 0x138]
movsxd rcx, dword [rsi + 4]
cmp qword [rsi + rcx*8 + 0x138], 2
jae 0x14005cbb9
lea eax, [rcx + 1]
mov dword [rsi + 4], eax
jmp case.default.0x14005c822
mov dword [rsi], reloc.WS2_32.dll_send
movsxd rdx, dword [rsi + 4]
mov rax, qword [rsi + 0x100]
xor r9d, r9d
mov rcx, qword [rsi + rdx*8 + 0x138]
mov qword [rsp + 0x20], rsi
imul edx, edx, 0x278
movsxd rdx, edx
add rcx, 2
lea r8, [rax + rdx*4]
mov rdx, rcx
call fcn.1400589f0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
cmp eax, 1
jne case.default.0x14005c822
mov dword [rsi], socket
mov eax, dword [rsi + 4]
mov edx, 0x1a
xor r9d, r9d
mov qword [rsp + 0x20], rsi
imul eax, eax, 0x18c
movsxd rcx, eax
mov rax, qword [rsi + 0x108]
lea r8, [rax + rcx*4]
mov ecx, edx
call fcn.1400589f0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
cmp eax, 1
jne case.default.0x14005c822
mov dword [rsi], reloc.WS2_32.dll_setsockopt
movsxd rdx, dword [rsi + 4]
mov eax, edx
mov rbp, rdx
imul eax, eax, 0x18c
cmp dword [rsi + 0x2fc], 0
movsxd rcx, eax
mov rax, qword [rsi + 0x108]
lea r10, [rax + rcx*4]
jne 0x14005cd66
cmp qword [rsi + 0x10], 0xf
jae 0x14005cce1
mov r8, qword [rsi + 0x28]
nop word [rax + rax]
mov rdx, qword [rsi + 0x18]
cmp rdx, r8
je 0x14005cd46
movzx eax, byte [rdx]
mov rcx, qword [rsi + 0x10]
shl rax, cl
add rcx, 8
or qword [rsi + 8], rax
lea rax, [rdx + 1]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rax
cmp rcx, 0xf
jb 0x14005ccb0
mov r9, qword [rsi + 8]
mov r8, r9
and r8, qword [0x1402c3ec8]
movzx eax, r8b
lea rdx, [r10 + rax*4]
movzx eax, byte [r10 + rax*4]
cmp al, 8
jbe 0x14005cd34
add qword [rsi + 0x10], 0xfffffffffffffff8
movzx ecx, al
lea rax, [0x140000000]
add ecx, 0xfffffff8
shr r9, 8
shr r8, 8
mov qword [rsi + 8], r9
mov rcx, qword [rax + rcx*8 + 0x2c3e50]
movzx eax, word [rdx + 2]
and rcx, r8
add rcx, rax
lea rdx, [rdx + rcx*4]
movzx ecx, byte [rdx]
sub qword [rsi + 0x10], rcx
shr qword [rsi + 8], cl
movzx r10d, word [rdx + 2]
jmp 0x14005cd6d
lea r8, [rsp + 0x78]
lea rdx, [rsi + 8]
mov rcx, r10
call fcn.140058180
test eax, eax
je 0x14005ce2b
mov r10, qword [rsp + 0x78]
jmp 0x14005cd72
mov r10, qword [rsi + 0x130]
mov qword [rsp + 0x78], r10
lea rax, [0x140000000]
movzx r9d, byte [rax + r10*4 + 0x2c3f62]
movzx r11d, word [rax + r10*4 + 0x2c3f60]
cmp qword [rsi + 0x10], r9
jae 0x14005cdc8
mov r8, qword [rsi + 0x28]
mov rdx, qword [rsi + 0x18]
cmp rdx, r8
je 0x14005ce1d
movzx eax, byte [rdx]
mov rcx, qword [rsi + 0x10]
shl rax, cl
add rcx, 8
or qword [rsi + 8], rax
lea rax, [rdx + 1]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rax
cmp rcx, r9
jb 0x14005cd95
lea rax, [0x140000000]
mov rax, qword [rax + r9*8 + 0x2c3e50]
mov rdx, qword [rsi + 8]
sub qword [rsi + 0x10], r9
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
and rax, rdx
add rax, r11
mov r11, qword [rsp + 0x88]
mov rcx, r9
shr rdx, cl
mov qword [rsi + 8], rdx
mov qword [rsi + rbp*8 + 0x118], rax
inc dword [rsi + 4]
mov dword [rsi + 0x2fc], r13d
mov dword [rsi], reloc.WS2_32.dll_select
jmp 0x14005c6e9
mov qword [rsi + 0x130], r10
mov dword [rsi + 0x2fc], r12d
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, 2
jmp 0x14005c6e9
mov r9, rsi
mov rdx, r10
mov rcx, r11
call fcn.14005a7e0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
cmp eax, 1
jne case.default.0x14005c822
mov eax, recv
mov dword [rsi], eax
jmp case.default.0x14005c822
mov rcx, rsi
call fcn.14005a650
jmp 0x14005ce5b
cmp qword [rsi + 0x10], 6
jae 0x14005ced1
mov r8, qword [rsi + 0x28]
nop
mov rdx, qword [rsi + 0x18]
cmp rdx, r8
je 0x14005c978
movzx eax, byte [rdx]
mov rcx, qword [rsi + 0x10]
shl rax, cl
add rcx, 8
or qword [rsi + 8], rax
lea rax, [rdx + 1]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rax
cmp rcx, 6
jb 0x14005cea0
mov rax, qword [rsi + 8]
mov rdx, rax
shr rax, 6
and rdx, qword [0x1402c3e80]
add qword [rsi + 0x10], 0xfffffffffffffffa
mov qword [rsi + 8], rax
mov rcx, qword [reloc.WS2_32.dll_closesocket]
and rcx, rdx
shr rdx, 2
shl rdx, cl
mov qword [rsi + 0x180], rcx
mov rcx, qword [rsi + 0x40]
mov qword [rsi + 0x188], rdx
mov rdx, qword [rsi + 0x138]
call qword [rsi + 0x30]
mov qword [rsi + 0x318], rax
test rax, rax
jne 0x14005cf45
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
lea ebx, [rax - 0x15]
jmp case.default.0x14005c822
mov qword [rsi], 6
mov rcx, rsi
call fcn.14005ac70
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
cmp eax, 1
jne case.default.0x14005c822
mov dword [rsi], reloc.WS2_32.dll_shutdown
mov rcx, qword [rsi + 0x138]
lea rdx, [rsi + 0x308]
lea r8, [rsi + 0x310]
shl rcx, 6
mov r9, rsi
call fcn.140058ef0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
cmp eax, 1
jne 0x14005c6e9
mov qword [rsi + 0x330], r13
mov qword [rsi + 0x338], r13
mov qword [rsi + 0x340], r13
mov qword [rsi + 0x348], r13
cmp qword [rsi + 0x138], 0
mov r10, r13
jbe 0x14005d075
nop
mov rdx, qword [rsi + 0x310]
mov rcx, r10
mov r8, r13
shl rcx, 6
add rdx, rcx
mov rcx, r13
movzx r9d, byte [rdx]
nop dword [rax + rax]
movzx eax, byte [rdx]
add rcx, 4
add rdx, 4
xor rax, r9
or r8, rax
movzx eax, byte [rdx - 3]
xor rax, r9
or r8, rax
movzx eax, byte [rdx - 2]
xor rax, r9
or r8, rax
movzx eax, byte [rdx - 1]
xor rax, r9
or r8, rax
cmp rcx, 0x40
jb 0x14005d010
test r8, r8
jne 0x14005d065
movzx ecx, r10b
mov r8, r10
mov edx, r12d
and cl, 0x1f
shr r8, 5
shl edx, cl
or dword [rsi + r8*4 + 0x330], edx
inc r10
cmp r10, qword [rsi + 0x138]
jb 0x14005cff0
mov dword [rsi], reloc.WS2_32.dll_socket
mov r10, qword [rsi + 0x180]
mov r8, qword [rsi + 0x188]
mov eax, 0x18
lea rcx, [r10 + 1]
shl eax, cl
test byte [rsi + 0x304], 0x20
lea rbp, [rax + r8 + 0x10]
mov r13, rbp
je 0x14005d114
cmp r8d, 0x7ffffffc
jb 0x14005d0b5
mov edx, 0x8000000c
jmp 0x14005d101
mov ecx, r10d
mov edx, 0x7ffffffc
mov r9d, r12d
sub edx, r8d
shl r9d, cl
xor eax, eax
shr edx, cl
dec r9d
add edx, 4
mov ecx, edx
shr ecx, 1
je 0x14005d0dc
inc eax
shr ecx, 1
jne 0x14005d0d6
lea ecx, [rax - 1]
lea eax, [rax + rax - 4]
shr edx, cl
and edx, 1
or edx, eax
jne 0x14005d0f2
lea edx, [r8 + 0x10]
jmp 0x14005d101
dec edx
mov ecx, r10d
shl edx, cl
or edx, r9d
lea edx, [rdx + r8 + 0x11]
mov eax, 0x3e
lea rcx, [r10 + 1]
mov r13d, edx
shl eax, cl
lea rbp, [rax + r8 + 0x10]
mov rcx, qword [rsi + 0x148]
lea r8, [rsi + 0x198]
lea rdx, [rsi + 0x190]
shl rcx, 2
mov r9, rsi
call fcn.140058ef0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
cmp eax, 1
jne 0x14005c6e0
mov rax, qword [rsi + 0x308]
mov r9d, 0x100
lea rdx, [rsi + 0xb8]
mov r8d, r9d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.140097a20
mov rcx, qword [rsi + 0x140]
mov r9d, 0x2c0
mov qword [rsp + 0x20], rcx
mov ebx, eax
lea rdx, [rsi + 0xd0]
mov rcx, rsi
mov r8d, r9d
and ebx, 1
call fcn.140097a20
mov rcx, qword [rsi + 0x190]
lea rdx, [rsi + 0xe8]
mov qword [rsp + 0x20], rcx
mov r9, r13
mov r8, rbp
mov rcx, rsi
and ebx, eax
call fcn.140097a20
test ebx, eax
je 0x14005d6db
xor r13d, r13d
mov qword [rsi], 0x18
lea rbp, [0x140000000]
mov ecx, dword [rsi + 4]
test ecx, ecx
je 0x14005d206
dec ecx
je 0x14005d1fd
dec ecx
jne 0x14005d6e5
lea rcx, [rsi + 0xe8]
jmp 0x14005d20d
lea rcx, [rsi + 0xd0]
jmp 0x14005d20d
lea rcx, [rsi + 0xb8]
mov rdx, rsi
call fcn.140058e20
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
mov r12d, 1
cmp eax, 1
jne case.default.0x14005c822
inc dword [rsi + 4]
cmp dword [rsi + 4], 3
jl case.default.0x14005c822
mov dword [rsi], 0x19
mov r9, qword [rsi + 0x158]
movzx ecx, r9b
mov r8, r9
mov rax, r9
shr rax, 5
and cl, 0x1f
shl r8, 6
add r8, qword [rsi + 0x310]
mov qword [rsi + 0xa8], r8
mov edx, dword [rsi + rax*4 + 0x330]
mov rax, qword [rsi + 0xb8]
shr rdx, cl
and edx, 1
mov dword [rsi + 0x110], edx
movzx ecx, byte [r8]
mov rcx, qword [rax + rcx*8]
mov rax, qword [rsi + 0x318]
mov qword [rsi + 0x1a0], rcx
movzx eax, byte [rax + r9]
lea rcx, [0x1402777f0]
and eax, 3
shl eax, 9
cdqe
add rax, rcx
mov qword [rsi + 0xa0], rax
mov rax, qword [rsi + 0x198]
mov qword [rsi + 0xb0], rax
mov rax, qword [rsi + 0xd0]
mov rcx, qword [rax]
mov qword [rsi + 0x98], rcx
mov rcx, rsi
call fcn.14005a580
test eax, eax
jne 0x14005d318
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
lea ebx, [rax - 0x1b]
lea r12d, [rax + 1]
jmp case.default.0x14005c822
mov rcx, rsi
call fcn.14005ad10
mov dword [rsi], 7
mov rcx, rsi
call fcn.14005ae10
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
mov r12d, 1
cmp eax, 2
jne case.default.0x14005c822
mov rcx, rsi
call fcn.14005b920
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
jmp case.default.0x14005c822
mov r9, r8
mov rdx, r11
mov rcx, rsi
mov r8, r10
mov dword [rsp + 0x20], r13d
call fcn.14005a3f0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, eax
cmp eax, 1
jne case.default.0x14005c822
mov rcx, rsi
call fcn.14005a540
mov ecx, dword [rsi + 0x304]
mov eax, r12d
shr ecx, 6
and ecx, 0x3f
shl eax, cl
cmp dword [rsi + 0x64], eax
jne 0x14005d3db
mov eax, dword [rsi + 0x5c]
mov dword [rsi + 0x60], eax
mov eax, dword [rsi]
cmp eax, 0xf
jne 0x14005d45b
mov rcx, qword [rsi + 0x328]
test rcx, rcx
je 0x14005d428
mov eax, dword [rcx + 0x14]
cmp dword [rcx + 0x10], eax
je 0x14005d428
mov edx, dword [rsi + 0x58]
mov rcx, rsi
call fcn.14005ab10
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
add dword [rsi + 0x58], eax
mov eax, dword [rsi + 0x58]
mov r11, qword [rsp + 0x88]
cmp eax, dword [rsi + 0x64]
jge case.default.0x14005c822
mov eax, 7
cmp dword [rsi + 0x84], 0
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ecx, recv
cmove eax, ecx
mov dword [rsi], eax
jmp case.default.0x14005c822
cmp eax, 0x10
jne 0x14005d483
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov dword [rsi], 0xa
jmp case.default.0x14005c822
cmp dword [rsi + 4], 0
jne 0x14005d490
mov eax, 9
jmp 0x14005d42d
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov dword [rsi], 8
jmp case.default.0x14005c822
cmp dword [rsi + 0x84], 0
jge 0x14005d4c6
mov ebx, 0xfffffff6
jmp case.default.0x14005c822
mov rcx, rsi
call fcn.140097900
test byte [rsi + 0x304], 1
jne 0x14005d4fa
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov dword [rsi], 3
jmp case.default.0x14005c822
mov rdx, qword [rsi + 0x10]
mov r8, r13
mov rcx, rdx
and ecx, 7
je 0x14005d526
mov rax, qword [rsi + 8]
mov r8, qword [rbp + rcx*8 + 0x2c3e50]
sub rdx, rcx
and r8, rax
shr rax, cl
mov qword [rsi + 0x10], rdx
mov qword [rsi + 8], rax
mov rcx, qword [rsi + 0x10]
cmp rcx, 0x40
jae 0x14005d53d
mov rax, r12
shl rax, cl
dec rax
and qword [rsi + 8], rax
test r8, r8
je 0x14005d564
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov ebx, 0xfffffff1
jmp case.default.0x14005c822
cmp qword [rsi + 0x50], 0
jne 0x14005d5b3
mov rdx, qword [rsi + 0x18]
shr rcx, 3
lea rax, [rcx*8]
test rcx, rcx
je 0x14005d583
sub rdx, rcx
sub qword [rsi + 0x10], rax
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x18], rdx
cmp rcx, 0x40
jae 0x14005d5a2
mov rax, r12
shl rax, cl
dec rax
and qword [rsi + 8], rax
mov rax, qword [rsi + 0x28]
sub rax, rdx
mov qword [r14], rax
mov rax, qword [rsi + 0x18]
mov qword [r15], rax
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
mov dword [rsi], 0x1a
cmp qword [rsi + 0x88], 0
je 0x14005d614
mov r9, r8
mov r8, qword [rsp + 0x90]
mov rdx, r11
mov rcx, rsi
mov dword [rsp + 0x20], r12d
call fcn.14005a3f0
mov ebx, eax
cmp eax, 1
je 0x14005d614
mov r10, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
mov r11, qword [rsp + 0x88]
jmp case.default.0x14005c822
mov ebx, eax
mov edx, ebx
mov r8, qword [rsp + 0x70]
mov rcx, rsi
sub r8, qword [r14]
call fcn.140057890
mov rbp, qword [rsp + 0x80]
mov r13, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rsi + 0x18]
mov qword [r15], rax
mov rax, qword [rsi + 0x28]
sub rax, qword [rsi + 0x18]
mov qword [r14], rax
je 0x14005d614
nop word [rax + rax]
mov rax, qword [r15]
mov rcx, qword [rsi + 0x50]
movzx eax, byte [rax]
mov byte [rcx + rsi + 0x48], al
inc qword [rsi + 0x50]
inc qword [r15]
dec qword [r14]
cmp qword [r14], 0
jne 0x14005d660
jmp 0x14005d614
cmp qword [rsi + 0x50], 0
je 0x14005d68d
mov qword [rsi + 0x50], r13
jmp 0x14005d614
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
shr rax, 3
lea rcx, [rax*8]
test rax, rax
je 0x14005d6a9
sub rdx, rax
sub qword [rsi + 0x10], rcx
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x18], rdx
cmp rcx, 0x40
jae 0x14005d6c5
shl r12, cl
dec r12
and qword [rsi + 8], r12
mov rax, qword [rsi + 0x28]
sub rax, rdx
mov qword [r14], rax
mov rax, qword [rsi + 0x18]
mov qword [r15], rax
jmp 0x14005d614
mov edx, 0xffffffea
jmp 0x14005d616
mov edx, 0xffffffe1
jmp 0x14005d616