Function at 0x140030ed0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push r13
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor r15d, r15d
xor r13d, r13d
mov rbx, rcx
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x28], r13d
cmp dword [rcx + 0xc], r13d
jne 0x14002ebeb
lea edx, [r15 + 5]
call fcn.140016380
test eax, eax
jne 0x14002f943
mov rax, qword [rbx + 0xb0]
mov qword [rsp + 0x138], rsi
mov qword [rsp + 0x140], rdi
mov qword [rsp + 0x148], r12
cmp byte [rax], 0x16
mov qword [rsp + 0x100], r14
jne 0x14002f91e
movzx ecx, byte [rax + 1]
mov esi, 0x101
mov r8, qword [rbx]
mov eax, esi
sub eax, ecx
mov edx, dword [r8 + 0x150]
and edx, 2
cmove eax, ecx
cmp eax, 3
jl 0x14002f91e
test edx, edx
je 0x14002ec79
cmp dword [rbx + 0xc], r13d
jne 0x14002ec79
mov rcx, qword [rbx + 0xa8]
cmp byte [rcx], r13b
jne 0x14002f91e
cmp byte [rcx + 1], r13b
jne 0x14002f91e
mov eax, dword [rcx + 2]
mov dword [rbx + 0x162], eax
movzx eax, word [rcx + 6]
mov word [rbx + 0x166], ax
mov rax, qword [rbx + 0xb8]
movzx edi, byte [rax]
movzx eax, byte [rax + 1]
shl rdi, 8
or rdi, rax
cmp dword [rbx + 0xc], r13d
je 0x14002ec9d
mov rdi, qword [rbx + 0x100]
jmp 0x14002ecfb
cmp rdi, 0x4000
ja 0x14002f91e
mov edx, dword [r8 + 0x150]
mov rcx, rbx
and edx, 2
shl rdx, 2
or rdx, 5
add rdx, rdi
call fcn.140016380
test eax, eax
jne 0x14002f923
mov rax, qword [rbx]
mov ecx, dword [rax + 0x150]
test cl, 2
je 0x14002ecf4
and ecx, 2
shl rcx, 2
or rcx, 5
add rcx, rdi
mov qword [rbx + 0xf8], rcx
jmp 0x14002ecfb
mov qword [rbx + 0xe8], r13
mov r14, qword [rbx + 0xc8]
mov r8, rdi
mov rax, qword [rbx + 0x60]
mov rdx, r14
mov rcx, rbx
call qword [rax + 0x410]
mov rax, qword [rbx]
mov r8d, dword [rax + 0x150]
mov edx, r8d
and edx, 2
or rdx, 1
lea rax, [rdx*4]
cmp rdi, rax
jb 0x14002f91e
cmp byte [r14], 1
jne 0x14002f91e
cmp byte [r14 + 1], r13b
jne 0x14002f91e
movzx eax, byte [r14 + 3]
movzx ecx, byte [r14 + 2]
shl rcx, 8
or rcx, rax
lea rax, [rcx + rdx*4]
cmp rdi, rax
jne 0x14002f91e
test r8b, 2
je 0x14002edfe
mov rax, qword [rbx + 0xc8]
movzx ecx, byte [rax + 4]
movzx r9d, byte [rax + 5]
shl ecx, 8
or ecx, r9d
cmp dword [rbx + 0xc], 1
jne 0x14002edb2
mov rdx, qword [rbx + 0x60]
mov r8d, dword [rdx + 0x13c]
cmp ecx, r8d
jne 0x14002f91e
lea eax, [r8 + 1]
mov dword [rdx + 0x13c], eax
jmp 0x14002edc8
mov rax, qword [rbx + 0x60]
mov dword [rax + 0x138], ecx
inc ecx
mov rax, qword [rbx + 0x60]
mov dword [rax + 0x13c], ecx
mov rcx, qword [rbx + 0xc8]
cmp byte [rcx + 6], r13b
jne 0x14002edf4
cmp byte [rcx + 7], r13b
jne 0x14002edf4
cmp byte [rcx + 8], r13b
jne 0x14002edf4
movzx eax, word [rcx + 1]
cmp ax, word [rcx + 9]
jne 0x14002edf4
movzx eax, byte [rcx + 3]
cmp al, byte [rcx + 0xb]
je 0x14002edfe
mov eax, 0xffff8f80
jmp 0x14002f923
mov rax, qword [rbx]
mov edx, dword [rax + 0x150]
mov eax, edx
and eax, 2
or rax, 1
lea rax, [rax*4]
add r14, rax
sub rdi, rax
cmp rdi, 0x26
jb 0x14002f91e
movzx ecx, byte [r14]
test dl, 2
je 0x14002ee53
sub esi, ecx
mov ecx, 0x100
mov dword [rbx + 0x14], esi
movzx eax, byte [r14 + 1]
sub ecx, eax
mov dword [rbx + 0x18], ecx
cmp ecx, 1
jne 0x14002ee60
mov dword [rbx + 0x18], 2
jmp 0x14002ee60
mov dword [rbx + 0x14], ecx
mov esi, ecx
movzx eax, byte [r14 + 1]
mov dword [rbx + 0x18], eax
mov rax, qword [rbx + 0x60]
mov dword [rax + 0x8a0], esi
mov rcx, qword [rbx + 0x60]
mov eax, dword [rbx + 0x18]
mov dword [rcx + 0x8a4], eax
mov rcx, qword [rbx]
mov r8d, dword [rbx + 0x14]
movzx eax, byte [rcx + 0x14e]
cmp r8d, eax
jl 0x14002f95d
movzx eax, byte [rcx + 0x14f]
mov edx, dword [rbx + 0x18]
cmp edx, eax
jl 0x14002f95d
movzx eax, byte [rcx + 0x14c]
cmp r8d, eax
jle 0x14002eeb8
mov dword [rbx + 0x14], eax
movzx eax, byte [rcx + 0x14d]
jmp 0x14002eec3
movzx eax, byte [rcx + 0x14d]
cmp edx, eax
jle 0x14002eec6
mov dword [rbx + 0x18], eax
mov rax, qword [rbx + 0x60]
movups xmm0, xmmword [r14 + 2]
movups xmmword [rax + 0x438], xmm0
movups xmm1, xmmword [r14 + 0x12]
movups xmmword [rax + 0x448], xmm1
movzx esi, byte [r14 + 0x22]
cmp rsi, 0x20
ja 0x14002f8e5
lea rax, [rsi + 0x24]
cmp rax, rdi
ja 0x14002f8e5
mov rax, qword [rbx + 0x58]
lea rdx, [r14 + 0x23]
xorps xmm0, xmm0
mov qword [rax + 0x10], rsi
mov rax, qword [rbx + 0x58]
movups xmmword [rax + 0x18], xmm0
movups xmmword [rax + 0x28], xmm0
mov r8, qword [rbx + 0x58]
lea rcx, [r8 + 0x18]
mov r8, qword [r8 + 0x10]
call fcn.140065900
mov rdx, qword [rbx]
lea r12, [rsi + 0x23]
test byte [rdx + 0x150], 2
je 0x14002ef91
movzx ecx, byte [r12 + r14]
lea r8, [rcx + r12]
lea rax, [r8 + 3]
cmp rax, rdi
jbe 0x14002ef84
test rdx, rdx
je 0x14002f91e
mov rax, qword [rbx + 0x140]
mov dword [rbx + 0x148], reloc.WS2_32.dll_setsockopt
mov qword [rbx + 0x150], 2
mov byte [rax], 2
mov rax, qword [rbx + 0x140]
mov byte [rax + 1], 0x46
jmp 0x14002f914
test rcx, rcx
jne 0x14002f91e
lea r12, [r8 + 1]
movzx r9d, byte [r12 + r14]
movzx eax, byte [r12 + r14 + 1]
shl r9, 8
or r9, rax
mov qword [rsp + 0x38], r9
cmp r9, 2
jb 0x14002f8e0
lea r8, [r9 + r12]
lea rax, [r8 + 3]
cmp rax, rdi
ja 0x14002f8e0
test r9b, 1
jne 0x14002f8e0
movzx ecx, byte [r8 + r14 + 2]
lea rax, [rcx - 1]
cmp rax, 0xf
ja 0x14002f8e0
add rcx, 3
add rcx, r8
cmp rcx, rdi
ja 0x14002f8e0
mov rax, qword [rbx + 0x58]
mov dword [rax + 0xc], r13d
mov rax, qword [rbx]
test byte [rax + 0x150], 2
je 0x14002f00d
mov rax, qword [rbx + 0x58]
mov dword [rax + 0xc], r13d
cmp rdi, rcx
jbe 0x14002f4b2
lea rax, [rcx + 2]
cmp rdi, rax
jb 0x14002f8e5
movzx eax, byte [rcx + r14]
movzx r15d, byte [rcx + r14 + 1]
shl rax, 8
or r15, rax
lea rax, [r15 - 1]
cmp rax, 2
jbe 0x14002f8e5
lea rax, [rcx + 2]
add rax, r15
cmp rdi, rax
jne 0x14002f8e5
lea rsi, [r14 + 2]
add rsi, rcx
test r15, r15
je 0x14002f5b4
cmp r15, 4
jb 0x14002f5ab
movzx edi, byte [rsi + 3]
movzx r13d, byte [rsi + 2]
mov edx, r13d
mov dword [rsp + 0x30], edi
shl edx, 8
or edx, edi
lea ecx, [rdx + 4]
cmp rcx, r15
ja 0x14002f5ab
movzx ecx, byte [rsi]
movzx eax, byte [rsi + 1]
shl ecx, 8
or ecx, eax
cmp ecx, 0x10
ja 0x14002f181
je 0x14002f165
test ecx, ecx
je 0x14002f13b
sub ecx, 1
je 0x14002f116
sub ecx, 3
je 0x14002f0e8
cmp ecx, 9
jne 0x14002f46a
mov r8d, edx
mov rcx, rbx
lea rdx, [rsi + 4]
call fcn.14002e580
test eax, eax
jne 0x14002f923
mov dword [rsp + 0x28], 1
jmp 0x14002f46a
test edx, edx
jne 0x14002f5ab
mov rax, qword [rbx]
test dword [rax + 0x150], 0x2000
je 0x14002f46a
mov rax, qword [rbx + 0x58]
mov dword [rax + 0x90], 1
jmp 0x14002f46a
cmp edx, 1
jne 0x14002f572
movzx ecx, byte [rsi + 4]
cmp cl, 5
jae 0x14002f572
mov rax, qword [rbx + 0x58]
mov byte [rax + 0x8c], cl
jmp 0x14002f46a
mov rax, qword [rbx]
cmp qword [rax + 0x58], 0
je 0x14002f46a
mov r8d, edx
mov rcx, rbx
lea rdx, [rsi + 4]
call fcn.14002e3d0
test eax, eax
jne 0x14002f923
jmp 0x14002f46a
mov r8d, edx
mov rcx, rbx
lea rdx, [rsi + 4]
call fcn.14002e740
test eax, eax
jne 0x14002f923
jmp 0x14002f46a
sub ecx, 0x16
je 0x14002f440
sub ecx, 1
je 0x14002f414
sub ecx, 0xc
je 0x14002f258
cmp ecx, 0xfede
jne 0x14002f46a
cmp dword [rbx + 0xc], 0
mov dword [rsp + 0x24], 1
mov ecx, edx
je 0x14002f239
mov rdx, qword [rbx + 0x188]
lea rax, [rdx + 1]
cmp rcx, rax
jne 0x14002f65b
movzx eax, byte [rsi + 4]
cmp rax, rdx
jne 0x14002f65b
cmp qword [rbx + 0x188], 0
lea r8, [rsi + 5]
lea r9, [rbx + 0x19c]
mov byte [rsp + 0x20], 0
jbe 0x14002f227
mov rdx, r9
sub r8, r9
nop dword [rax]
movzx eax, byte [r8 + rdx]
movzx ecx, byte [rdx]
inc rdx
xor cl, al
movzx eax, byte [rsp + 0x20]
or cl, al
mov rax, rdx
sub rax, r9
mov byte [rsp + 0x20], cl
cmp rax, qword [rbx + 0x188]
jb 0x14002f200
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x14002f65b
jmp 0x14002f46a
cmp rcx, 1
jne 0x14002f65b
cmp byte [rsi + 4], 0
jne 0x14002f65b
mov dword [rbx + 0x180], ecx
jmp 0x14002f46a
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x20], rax
mov r9, r13
mov rax, qword [rbx]
shl r9, 8
or r9, rdi
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
cmp qword [rax + 0x90], 0
je 0x14002f46a
cmp qword [rax + 0x88], 0
je 0x14002f46a
mov rax, qword [rbx + 0x60]
mov dword [rax + 0x8ac], 1
test r9, r9
je 0x14002f46a
cmp dword [rbx + 0xc], 0
jne 0x14002f46a
mov rax, qword [rbx]
lea r8, [rsi + 4]
lea rdx, [rsp + 0x50]
mov rcx, qword [rax + 0x98]
call qword [rax + 0x90]
test eax, eax
je 0x14002f32a
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x14002f306
call fcn.14001e8a0
mov rcx, qword [rbp - 0x48]
call fcn.14004f190
mov rcx, qword [rbp - 0x38]
call fcn.14004f190
mov rax, qword [fcn.140065540]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x98
call rax
jmp 0x14002f46a
mov rdi, qword [rbx + 0x58]
lea rcx, [rsp + 0x68]
mov r8, qword [rdi + 0x10]
lea rdx, [rdi + 0x18]
mov qword [rsp + 0x60], r8
call fcn.140065900
test rdi, rdi
je 0x14002f37e
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x14002f361
call fcn.14001e8a0
mov rcx, qword [rdi + 0x68]
call fcn.14004f190
mov rcx, qword [rdi + 0x78]
call fcn.14004f190
mov rax, qword [fcn.140065540]
xor edx, edx
mov r8d, 0x98
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x58]
lea rcx, [rsp + 0x50]
movaps xmm0, xmmword [rsp + 0x50]
xor edx, edx
mov r8d, 0x98
movups xmmword [rax], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [rsp + 0x70]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x80]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [rbp - 0x70]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [rbp - 0x60]
movups xmmword [rax + 0x50], xmm1
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rax + 0x60], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [rax + 0x70], xmm1
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rax + 0x80], xmm0
movsd xmm1, qword [rbp - 0x20]
movsd qword [rax + 0x90], xmm1
mov rax, qword [fcn.140065540]
call rax
mov rax, qword [rbx + 0x60]
mov edi, dword [rsp + 0x30]
mov dword [rax + 0x89c], 1
mov rax, qword [rbx + 0x60]
mov dword [rax + 0x8ac], 0
jmp 0x14002f46a
test edx, edx
jne 0x14002f5ab
mov rax, qword [rbx]
test dword [rax + 0x150], 0x400
je 0x14002f46a
cmp dword [rbx + 0x18], edx
je 0x14002f46a
mov rax, qword [rbx + 0x60]
mov dword [rax + 0x8b0], 1
jmp 0x14002f46a
test edx, edx
jne 0x14002f5ab
mov rax, qword [rbx]
test dword [rax + 0x150], 0x200
je 0x14002f46a
cmp dword [rbx + 0x18], edx
je 0x14002f46a
mov rax, qword [rbx + 0x58]
mov dword [rax + 0x94], 1
movzx eax, dil
add rsi, 4
mov rcx, r13
shl rcx, 8
or rcx, rax
mov rax, 0xfffffffffffffffc
sub rax, rcx
add rsi, rcx
add r15, rax
lea rax, [r15 - 1]
cmp rax, 2
jbe 0x14002f5ab
test r15, r15
jne 0x14002f063
mov r15d, dword [rsp + 0x24]
mov r13d, dword [rsp + 0x28]
mov r9, qword [rsp + 0x38]
lea rcx, [r14 + 2]
add rcx, r12
mov rax, rcx
lea rdx, [r12 + r14]
sub rax, r12
sub rax, r14
sub rax, 2
nop word [rax + rax]
cmp byte [rcx], 0x56
jne 0x14002f4e0
cmp byte [rdx + rax + 3], 0
je 0x14002f5c3
add rcx, 2
add rax, 2
cmp rax, r9
jb 0x14002f4d0
test r13d, r13d
jne 0x14002f535
mov rax, qword [rbx]
mov rcx, qword [rax + 0xd0]
test rcx, rcx
je 0x14002f51b
mov eax, dword [rcx]
test eax, eax
je 0x14002f51b
cmp eax, 4
je 0x14002f60e
mov eax, dword [rcx + 4]
add rcx, 4
test eax, eax
jne 0x14002f507
mov eax, 0xffffffff
xor ecx, ecx
mov edx, 4
test eax, eax
mov rax, qword [rbx + 0x60]
cmove ecx, edx
mov dword [rax], ecx
mov dword [rax + 4], ecx
lea rcx, [r14 + 2]
add rcx, r12
lea rdx, [r12 + r14]
mov rax, rcx
sub rax, r12
sub rax, r14
sub rax, 2
nop dword [rax]
cmp byte [rcx], 0
jne 0x14002f560
cmp byte [rax + rdx + 3], 0xff
je 0x14002f615
add rcx, 2
add rax, 2
cmp rax, r9
jb 0x14002f550
jmp 0x14002f625
cmp qword [rbx], 0
je 0x14002f91e
mov rax, qword [rbx + 0x140]
mov dword [rbx + 0x148], reloc.WS2_32.dll_setsockopt
mov qword [rbx + 0x150], 2
mov byte [rax], 2
mov rax, qword [rbx + 0x140]
mov byte [rax + 1], 0x2f
jmp 0x14002f914
cmp qword [rbx], 0
jmp 0x14002f8e8
lea rcx, [r14 + 2]
add rcx, r12
xor r15d, r15d
jmp 0x14002f4b9
mov rcx, qword [rbx]
movzx eax, byte [rcx + 0x14d]
cmp dword [rbx + 0x18], eax
jge 0x14002f4ed
test rcx, rcx
je 0x14002f91e
mov rax, qword [rbx + 0x140]
mov dword [rbx + 0x148], reloc.WS2_32.dll_setsockopt
mov qword [rbx + 0x150], 2
mov byte [rax], 2
mov rax, qword [rbx + 0x140]
mov byte [rax + 1], 0x56
jmp 0x14002f914
xor eax, eax
jmp 0x14002f520
cmp dword [rbx + 0xc], 1
je 0x14002f65b
mov dword [rbx + 0x180], 1
mov edx, dword [rbx + 0x180]
cmp edx, 1
je 0x14002f641
mov rax, qword [rbx]
mov ecx, dword [rax + 0x150]
and cl, 0x30
cmp cl, 0x20
je 0x14002f65b
cmp dword [rbx + 0xc], 1
jne 0x14002f6a6
cmp edx, 1
jne 0x14002f694
test r15d, r15d
je 0x14002f65b
test edx, edx
jne 0x14002f6a6
cmp r15d, 1
jne 0x14002f6a6
cmp qword [rbx], 0
je 0x14002f91e
mov rax, qword [rbx + 0x140]
mov dword [rbx + 0x148], reloc.WS2_32.dll_setsockopt
mov qword [rbx + 0x150], 2
mov byte [rax], 2
mov rax, qword [rbx + 0x140]
mov byte [rax + 1], 0x28
jmp 0x14002f914
test edx, edx
jne 0x14002f6a6
mov rax, qword [rbx]
test byte [rax + 0x150], 0x30
jne 0x14002f655
jmp 0x14002f65b
movsxd rcx, dword [rbx + 0x18]
mov rax, qword [rbx]
mov rcx, qword [rax + rcx*8]
mov qword [rsp + 0x40], rcx
cmp dword [rcx], 0
je 0x14002f89f
lea rax, [r14 + 2]
mov rsi, rcx
add rax, r12
xor r14d, r14d
mov qword [rsp + 0x28], rax
mov r15, rax
xor eax, eax
xor r12d, r12d
xor r13d, r13d
mov dword [rsp + 0x24], eax
mov rax, rsi
mov qword [rsp + 0x30], rax
nop dword [rax + rax]
mov ecx, dword [rax]
mov eax, ecx
sar eax, 8
cmp byte [r15], al
jne 0x14002f7ea
cmp byte [r15 + 1], cl
jne 0x14002f7ea
mov dword [rsp + 0x24], 1
lea rdi, [0x140077490]
mov eax, 0x9f
nop
cmp eax, ecx
je 0x14002f739
mov eax, dword [rdi + 0x30]
add rdi, 0x30
test eax, eax
jne 0x14002f720
mov eax, 0xffff9400
jmp 0x14002f923
test rdi, rdi
je 0x14002f72f
mov eax, dword [rbx + 0x18]
cmp dword [rdi + 0x20], eax
jg 0x14002f7e5
cmp dword [rdi + 0x28], eax
jl 0x14002f7e5
mov r8, qword [rbx]
test byte [r8 + 0x150], 2
je 0x14002f766
test byte [rdi + 0x2c], 4
jne 0x14002f7e5
mov ecx, dword [rdi + 0x18]
mov edx, ecx
sub edx, 5
je 0x14002f77f
sub edx, 1
je 0x14002f77f
sub edx, 1
je 0x14002f77f
cmp edx, 1
jne 0x14002f7a9
cmp qword [r8 + 0x78], r13
jne 0x14002f7a9
cmp qword [r8 + 0x108], r13
je 0x14002f7e5
cmp qword [r8 + 0x118], r13
je 0x14002f7e5
cmp qword [r8 + 0x120], r13
je 0x14002f7e5
cmp qword [r8 + 0x110], r13
je 0x14002f7e5
cmp dword [rbx + 0x18], 3
jne 0x14002f7d6
sub ecx, 1
je 0x14002f7cd
sub ecx, 1
je 0x14002f7cd
sub ecx, 1
je 0x14002f7cd
cmp ecx, 1
jne 0x14002f7d6
mov rax, qword [rbx + 0x60]
add rax, 4
jmp 0x14002f7d1
mov rax, qword [rbx + 0x60]
cmp dword [rax], r13d
je 0x14002f7e5
mov rdx, rdi
mov rcx, rbx
call fcn.14002e960
test eax, eax
je 0x14002f81d
mov r9, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
add r12, 2
add r15, 2
cmp r12, r9
jb 0x14002f6f0
add rsi, 4
inc r14
cmp dword [rsi], r13d
je 0x14002f855
mov r15, qword [rsp + 0x28]
xor r12d, r12d
mov eax, dword [rsp + 0x24]
jmp 0x14002f6dc
mov rax, qword [rsp + 0x40]
mov rcx, qword [rbx + 0x58]
mov eax, dword [rax + r14*4]
mov dword [rcx + 8], eax
mov rax, qword [rbx + 0x80]
mov qword [rax], rdi
mov rax, qword [rbx]
inc dword [rbx + 8]
test byte [rax + 0x150], 2
je 0x14002f84e
mov rcx, rbx
call fcn.140016be0
xor eax, eax
jmp 0x14002f923
cmp dword [rsp + 0x24], r13d
je 0x14002f89f
cmp qword [rbx], r13
je 0x14002f895
mov rax, qword [rbx + 0x140]
mov dl, 1
mov dword [rbx + 0x148], reloc.WS2_32.dll_setsockopt
mov rcx, rbx
mov qword [rbx + 0x150], 2
mov byte [rax], 2
mov rax, qword [rbx + 0x140]
mov byte [rax + 1], 0x28
call fcn.140016fe0
mov eax, 0xffff9680
jmp 0x14002f923
cmp qword [rbx], 0
je 0x14002f8d9
mov rax, qword [rbx + 0x140]
mov dl, 1
mov dword [rbx + 0x148], reloc.WS2_32.dll_setsockopt
mov rcx, rbx
mov qword [rbx + 0x150], 2
mov byte [rax], 2
mov rax, qword [rbx + 0x140]
mov byte [rax + 1], 0x28
call fcn.140016fe0
mov eax, 0xffff8c80
jmp 0x14002f923
test rdx, rdx
jmp 0x14002f8e8
cmp qword [rbx], r13
je 0x14002f91e
mov rax, qword [rbx + 0x140]
mov dword [rbx + 0x148], reloc.WS2_32.dll_setsockopt
mov qword [rbx + 0x150], 2
mov byte [rax], 2
mov rax, qword [rbx + 0x140]
mov byte [rax + 1], 0x32
mov dl, 1
mov rcx, rbx
call fcn.140016fe0
mov eax, 0xffff8700
mov r12, qword [rsp + 0x148]
mov rdi, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x138]
mov r14, qword [rsp + 0x100]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140042de0
add rsp, 0x108
pop r15
pop r13
pop rbx
pop rbp
ret
test rcx, rcx
je 0x14002f996
mov rax, qword [rbx + 0x140]
mov dl, 1
mov dword [rbx + 0x148], reloc.WS2_32.dll_setsockopt
mov rcx, rbx
mov qword [rbx + 0x150], 2
mov byte [rax], 2
mov rax, qword [rbx + 0x140]
mov byte [rax + 1], 0x46
call fcn.140016fe0
mov eax, 0xffff9180
jmp 0x14002f923
push rdi
sub rsp, 0x40
mov rax, qword [rcx]
mov rdi, rcx
cmp qword [rax + 0x30], 0
jne 0x14002f9be
mov eax, 0xffff8c00
add rsp, 0x40
pop rdi
ret
test byte [rax + 0x150], 2
mov edx, dword [rcx + 0x18]
mov r8d, dword [rcx + 0x14]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x38], r12
mov r12d, 5
mov qword [rsp + 0x30], r13
mov r13, qword [rcx + 0x140]
je 0x14002fa04
cmp edx, 2
movzx eax, dl
mov ecx, 1
cmovne ecx, eax
mov eax, 1
neg cl
sub al, r8b
jmp 0x14002fa0b
movzx ecx, dl
movzx eax, r8b
mov rdx, r13
mov byte [r13 + 4], al
mov r8, r12
mov byte [r12 + rdx], cl
xor ecx, ecx
call fcn.140052fb8
lea rsi, [r13 + 7]
mov rcx, rax
sar rcx, 0x18
lea rdx, [rsi + 3]
mov byte [r13 + 6], cl
mov r8d, 0x1c
mov rcx, rax
mov byte [rsi + 2], al
sar rcx, 0x10
mov byte [rsi], cl
mov rcx, rax
sar rcx, 8
mov byte [rsi + 1], cl
mov rax, qword [rdi]
mov rcx, qword [rax + 0x38]
call qword [rax + 0x30]
test eax, eax
jne 0x14002fe0a
mov rax, qword [rdi + 0x60]
movups xmm0, xmmword [r13 + 6]
mov qword [rsp + 0x58], rbp
movups xmmword [rax + 0x458], xmm0
movups xmm1, xmmword [r13 + 0x16]
movups xmmword [rax + 0x468], xmm1
mov rax, qword [rdi + 0x60]
cmp dword [rax + 0x89c], 0
jne 0x14002fac4
cmp dword [rdi + 0xc], 0
jne 0x14002fac4
mov rdx, qword [rdi + 0x58]
cmp qword [rdx + 0x10], 0
je 0x14002fac4
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x14002fac4
mov rcx, qword [rcx + 0x50]
call rax
test eax, eax
jne 0x14002fac4
mov rax, qword [rdi + 0x60]
mov dword [rax + 0x89c], 1
mov rax, qword [rdi + 0x60]
xor ebp, ebp
mov qword [rsp + 0x28], r14
cmp dword [rax + 0x89c], ebp
jne 0x14002fb37
inc dword [rdi + 8]
xor ecx, ecx
call fcn.140052fb8
mov rcx, qword [rdi + 0x58]
lea r14, [rdi + 0x58]
mov qword [rcx], rax
mov rax, qword [rdi + 0x60]
mov rcx, qword [r14]
cmp dword [rax + 0x8ac], ebp
je 0x14002fb0f
mov qword [rcx + 0x10], rbp
xorps xmm0, xmm0
mov rax, qword [r14]
movups xmmword [rax + 0x18], xmm0
movups xmmword [rax + 0x28], xmm0
jmp 0x14002fb52
mov qword [rcx + 0x10], 0x20
mov r8d, 0x20
mov rax, qword [rdi]
mov rdx, qword [r14]
add rdx, 0x18
mov rcx, qword [rax + 0x38]
call qword [rax + 0x30]
test eax, eax
je 0x14002fb52
jmp 0x14002fe00
mov rcx, rdi
mov dword [rdi + 8], select
call fcn.1400145c0
test eax, eax
jne 0x14002fe00
lea r14, [rdi + 0x58]
mov rax, qword [r14]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x20], r15
movzx ecx, byte [rax + 0x10]
mov byte [rsi + 0x1f], cl
add rsi, 0x20
mov r8, qword [r14]
mov rcx, rsi
lea rdx, [r8 + 0x18]
mov r8, qword [r8 + 0x10]
call fcn.140065900
mov rax, qword [r14]
add rsi, qword [rax + 0x10]
mov ecx, dword [rax + 8]
sar ecx, 8
mov byte [rsi], cl
mov rax, qword [r14]
movzx ecx, byte [rax + 8]
mov byte [rsi + 1], cl
mov rax, qword [r14]
movzx ecx, byte [rax + 0xc]
mov byte [rsi + 2], cl
add rsi, 3
cmp dword [rdi + 0x180], 1
lea r15, [rsi + 2]
je 0x14002fbb9
mov rbx, rbp
mov r8, r14
jmp 0x14002fc33
mov word [r15], 0x1ff
lea rbx, [r15 + 3]
mov eax, dword [rdi + 0xc]
mov byte [r15 + 2], bpl
test eax, eax
je 0x14002fc23
movzx eax, byte [rdi + 0x188]
lea rdx, [rdi + 0x19c]
add al, al
inc al
mov byte [rbx], al
movzx eax, byte [rdi + 0x188]
add al, al
mov byte [rbx + 1], al
add rbx, 2
mov r8, qword [rdi + 0x188]
mov rcx, rbx
call fcn.140065900
mov r8, qword [rdi + 0x188]
lea rdx, [rdi + 0x190]
add rbx, r8
mov rcx, rbx
call fcn.140065900
add rbx, qword [rdi + 0x188]
jmp 0x14002fc2c
mov word [rbx], 1
add rbx, 2
sub rbx, r15
lea r8, [rdi + 0x58]
mov rax, qword [r14]
lea rdx, [rbx + rsi]
mov r15, qword [rsp + 0x20]
cmp byte [rax + 0x8c], bpl
jne 0x14002fc4d
mov r12, rbp
jmp 0x14002fc61
mov dword [rdx + 2], 0x1000100
mov rax, qword [r14]
movzx ecx, byte [rax + 0x8c]
mov byte [rdx + 6], cl
mov rax, qword [r14]
add rbx, r12
mov r9d, 4
lea rcx, [rsi + rbx]
cmp dword [rax + 0x90], ebp
jne 0x14002fc7e
mov rax, rbp
jmp 0x14002fc88
mov dword [rcx + 2], 0x400
mov rax, r9
mov r8, qword [r8]
add rbx, rax
lea rdx, [rsi + rbx]
cmp dword [r8 + 0x94], ebp
je 0x14002fcc0
cmp dword [rdi + 0x18], ebp
je 0x14002fcc0
mov r8d, dword [r8 + 8]
lea rcx, [0x140077490]
mov eax, 0x9f
cmp eax, r8d
je 0x14002fce7
mov eax, dword [rcx + 0x30]
add rcx, 0x30
test eax, eax
jne 0x14002fcb0
mov rax, rbp
add rbx, rax
mov rax, qword [rdi + 0x60]
lea rcx, [rsi + rbx]
cmp dword [rax + 0x8b0], ebp
je 0x14002fd2c
cmp dword [rdi + 0x18], ebp
je 0x14002fd2c
mov dword [rcx + 2], 0x1700
mov rax, r9
jmp 0x14002fd2f
test rcx, rcx
je 0x14002fcc0
cmp qword [0x140078b58], rbp
lea rax, reloc.WS2_32.dll_bind
je 0x14002fcc0
mov r8d, dword [rcx + 0x10]
cmp dword [rax], r8d
je 0x14002fd11
add rax, 0x10
cmp qword [rax + 8], rbp
jne 0x14002fd00
jmp 0x14002fcc0
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14002fcc0
cmp dword [rcx + 4], 2
jne 0x14002fcc0
mov dword [rdx + 2], 0x1600
mov rax, r9
jmp 0x14002fcc3
mov rax, rbp
add rbx, rax
mov rax, qword [rdi + 0x60]
lea rcx, [rsi + rbx]
cmp dword [rax + 0x8ac], ebp
jne 0x14002fd47
mov r9, rbp
jmp 0x14002fd4e
mov dword [rcx + 2], 0x2300
add rbx, r9
cmp qword [rdi + 0x178], rbp
je 0x14002fdbd
mov word [rsi + rbx + 2], 0x1000
mov r8, 0xffffffffffffffff
mov rax, qword [rdi + 0x178]
nop
inc r8
cmp byte [rax + r8], bpl
jne 0x14002fd70
lea rbp, [r8 + 7]
lea rax, [rbp - 4]
shr rax, 8
lea rcx, [rsi + 9]
mov byte [rsi + rbx + 4], al
add rcx, rbx
lea eax, [rbp - 4]
mov byte [rsi + rbx + 5], al
lea rax, [rbp - 6]
shr rax, 8
mov byte [rsi + rbx + 6], al
lea eax, [rbp - 6]
mov byte [rsi + rbx + 7], al
lea eax, [rbp - 7]
mov byte [rsi + rbx + 8], al
mov rdx, qword [rdi + 0x178]
call fcn.140065900
add rbx, rbp
je 0x14002fdd5
mov rax, rbx
shr rax, 8
mov byte [rsi], al
mov byte [rsi + 1], bl
add rsi, 2
add rsi, rbx
mov rax, qword [rdi + 0x140]
sub rsi, r13
mov qword [rdi + 0x150], rsi
mov rcx, rdi
mov dword [rdi + 0x148], reloc.WS2_32.dll_shutdown
mov byte [rax], 2
call fcn.140016d40
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x28]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov r12, qword [rsp + 0x38]
mov r13, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
push r12
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx + 0x80]
mov r14, rcx
mov r12, qword [rcx + 0x140]
mov rdx, qword [rax]
inc dword [rcx + 8]
lea r15, [r12 + 0x4000]
mov rax, qword [rcx + 0x60]
mov ecx, dword [rax + 0x118]
cmp ecx, 3
jne 0x14002fe67
mov rax, qword [r14]
mov ecx, dword [rax + 0x150]
shr ecx, 2
and ecx, 3
mov edx, dword [rdx + 0x18]
lea eax, [rdx - 5]
cmp eax, 3
jbe 0x140030098
cmp edx, 0xb
je 0x140030098
test ecx, ecx
je 0x140030098
mov qword [rsp + 0x50], rbx
lea rbx, [r12 + 4]
mov qword [rsp + 0x58], rbp
xor ebp, ebp
mov qword [rsp + 0x20], r13
mov r13d, ebp
mov word [rbx], 0x101
add rbx, 2
cmp dword [r14 + 0x18], 3
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x28], rdi
jne 0x14002ffa0
mov rax, qword [r14]
mov rdx, qword [rax + 0xd0]
mov eax, dword [rdx]
test eax, eax
je 0x14002ff8c
lea r9, [rbx + 2]
lea r10, [0x140000000]
lea r11, [0x140015060]
lea rdi, [fcn.140014f70]
lea rsi, [0x140014e20]
add eax, 0xfffffffd
cmp eax, 5
ja case.default.0x14002ff0b
cdqe
mov ecx, dword [r10 + rax*4 + 0x300a8]
add rcx, r10
jmp rcx
mov r8b, 1
jmp 0x14002ff29
mov r8b, 2
jmp 0x14002ff29
mov r8b, 3
jmp 0x14002ff29
mov r8b, 4
jmp 0x14002ff29
mov r8b, 5
jmp 0x14002ff29
mov r8b, 6
cmp dword [r14 + 0x18], 3
jne case.default.0x14002ff0b
movzx ecx, r8b
sub ecx, 1
je case.default.0x14002ff0b
sub ecx, 1
je 0x14002ff62
sub ecx, 2
je 0x14002ff55
cmp ecx, 1
jne case.default.0x14002ff0b
mov rax, qword [r14 + 0x60]
mov qword [rax + 0x418], r11
jmp 0x14002ff6d
mov rax, qword [r14 + 0x60]
mov qword [rax + 0x418], rdi
jmp 0x14002ff6d
mov rax, qword [r14 + 0x60]
mov qword [rax + 0x418], rsi
mov byte [r9], r8b
add r13, 2
mov byte [r9 + 1], 1
add r9, 2
mov eax, dword [rdx + 4]
add rdx, 4
test eax, eax
jne 0x14002fef2
mov rax, r13
mov byte [rbx + 1], r13b
shr rax, 8
add r13, 2
mov byte [rbx], al
add rbx, r13
mov rcx, qword [r14]
add rbx, 2
test dword [rcx + 0x150], 0x10000
je 0x14003002f
mov rax, qword [r14 + 0x60]
mov rsi, qword [rax + 0x128]
test rsi, rsi
jne 0x14002ffd0
mov rsi, qword [rcx + 0xc0]
test rsi, rsi
je 0x14003002f
nop
cmp dword [rsi + 0x30], 0
je 0x14003002f
cmp r15, rbx
jb 0x14003002f
mov rdi, qword [rsi + 0x88]
mov rcx, r15
sub rcx, rbx
cmp rcx, rdi
jb 0x14003002f
lea rax, [rdi + 2]
cmp rcx, rax
jb 0x14003002f
mov rax, rdi
mov r8, rdi
shr rax, 8
mov byte [rbx], al
mov byte [rbx + 1], dil
add rbx, 2
mov rdx, qword [rsi + 0x90]
mov rcx, rbx
call fcn.140065900
mov rsi, qword [rsi + 0x220]
add rbp, 2
add rbp, rdi
add rbx, rdi
test rsi, rsi
jne 0x14002ffd0
mov rax, qword [r14 + 0x140]
sub rbx, r12
mov qword [r14 + 0x150], rbx
mov rcx, rbp
mov dword [r14 + 0x148], reloc.WS2_32.dll_shutdown
shr rcx, 8
mov byte [rax], reloc.WS2_32.dll_listen
mov rax, qword [r14 + 0x140]
mov byte [rax + r13 + 6], cl
mov rcx, r14
mov rax, qword [r14 + 0x140]
mov byte [rax + r13 + 7], bpl
mov r13, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r15
pop r14
pop r12
jmp fcn.140016d40
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop r12
ret
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x30
mov rax, qword [rcx + 0x80]
mov edx, 1
mov rbx, rcx
mov rsi, qword [rax]
call fcn.1400176a0
test eax, eax
jne 0x140030bc5
mov r8, qword [rbx + 0xc8]
mov rax, qword [rbx]
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rdi
mov rdi, qword [rbx + 0x100]
mov ecx, dword [rax + 0x150]
add rdi, r8
and ecx, 2
or rcx, 1
cmp dword [rbx + 0xd8], 0x16
lea rdx, [r8 + rcx*4]
mov qword [rsp + 0x40], rdx
jne 0x140030bb6
cmp byte [r8], 0x10
jne 0x140030bb6
mov eax, dword [rsi + 0x18]
cmp eax, 2
jne 0x140030a95
lea rax, [rdx + 2]
lea r9, [rdx + 2]
cmp rax, rdi
ja 0x140030bb6
movzx eax, byte [rdx + 1]
movzx r8d, byte [rdx]
shl r8, 8
or r8, rax
lea rax, [r9 + r8]
lea rsi, [r9 + r8]
cmp rax, rdi
ja 0x140030bb6
mov rcx, qword [rbx + 0x60]
cmp r8, 1
jb 0x140030b80
cmp r8, qword [rcx + 8]
ja 0x140030b80
add rcx, 0x70
mov rdx, r9
call fcn.1400243d0
test eax, eax
je 0x140030a44
add eax, 0xffffce00
jne 0x140030b80
cmp rsi, rdi
jne 0x140030bb6
mov r8, qword [rbx]
mov rcx, qword [rbx + 0x60]
mov rax, qword [r8 + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rcx + 0x430]
mov rax, qword [r8 + 0x30]
lea rdx, [rcx + 0x478]
mov r8d, 0x424
mov qword [rsp + 0x20], rax
add rcx, 8
call fcn.140031d70
test eax, eax
je 0x140030b9e
mov eax, 0xffff8300
jmp 0x140030bbb
cmp eax, 5
jne 0x140030abc
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400307e0
test eax, eax
jne 0x140030bbb
cmp qword [rsp + 0x40], rdi
jmp 0x140030b6d
cmp eax, 7
jne 0x140030af7
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400307e0
test eax, eax
jne 0x140030bbb
mov rdx, qword [rsp + 0x40]
lea r9d, [rax + 2]
mov r8, rdi
mov rcx, rbx
call fcn.140030670
test eax, eax
jne 0x140030bbb
jmp 0x140030b6f
cmp eax, 6
jne 0x140030b87
mov r8, rdi
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400307e0
test eax, eax
jne 0x140030bbb
mov rax, qword [rsp + 0x40]
lea rdx, [rax + 2]
cmp rdx, rdi
ja 0x140030bb6
movzx r8d, byte [rax]
movzx eax, byte [rax + 1]
shl r8, 8
or r8, rax
lea rax, [rdx + r8]
lea rbp, [rdx + r8]
cmp rax, rdi
ja 0x140030bb6
mov rcx, qword [rbx + 0x60]
cmp r8, 1
jb 0x140030b80
cmp r8, qword [rcx + 8]
ja 0x140030b80
add rcx, 0x70
call fcn.1400243d0
test eax, eax
je 0x140030b6a
add eax, 0xffffce00
jne 0x140030b80
cmp rbp, rdi
jne 0x140030bb6
mov edx, dword [rsi + 0x18]
mov rcx, rbx
call fcn.140015170
test eax, eax
je 0x140030b9e
jmp 0x140030bbb
mov eax, 0xffff8380
jmp 0x140030bbb
cmp eax, 1
jne 0x140030baf
xor r9d, r9d
mov r8, rdi
mov rcx, rbx
call fcn.140030670
test eax, eax
jne 0x140030bbb
mov rcx, rbx
call fcn.1400145c0
test eax, eax
jne 0x140030bbb
inc dword [rbx + 8]
jmp 0x140030bbb
mov eax, 0xffff9400
jmp 0x140030bbb
mov eax, 0xffff8400
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
push rbx
push rbp
sub rsp, 0x88
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rax, qword [rcx + 0x80]
lea rbp, [rsp + 0x30]
mov rbx, rcx
mov rcx, qword [rax]
mov edx, dword [rcx + 0x18]
lea eax, [rdx - 5]
cmp eax, 3
jbe 0x140030ea7
cmp edx, 0xb
je 0x140030ea7
mov rax, qword [rbx + 0x58]
cmp qword [rax + 0x68], 0
je 0x140030ea7
xor edx, edx
mov rcx, rbx
call fcn.1400176a0
test eax, eax
jne 0x140030e57
inc dword [rbx + 8]
cmp dword [rbx + 0xd8], 0x16
mov qword [rsp + 0xa8], rsi
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
jne case.0x140030d1b.1
mov rdx, qword [rbx + 0xc8]
cmp byte [rdx], 0xf
jne case.0x140030d1b.1
mov rax, qword [rbx]
mov ecx, dword [rax + 0x150]
and ecx, 2
or rcx, 1
cmp dword [rbx + 0x18], 3
lea rsi, [rcx*4]
je 0x140030ce8
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + 0x68]
add rcx, 0x148
je 0x140030cb9
mov rax, qword [rcx]
test rax, rax
je 0x140030cb9
mov ecx, 4
call qword [rax + 0x18]
mov ecx, eax
jmp 0x140030cbb
xor ecx, ecx
test ecx, ecx
lea rax, [rsp + 0x40]
lea r15, [rsp + 0x30]
mov ebp, shutdown
cmovne r15, rax
mov eax, ecx
neg eax
mov eax, 0x24
sbb edi, edi
and edi, 4
test ecx, ecx
cmove ebp, eax
jmp 0x140030da5
lea rax, [rsi + 2]
cmp rax, qword [rbx + 0x100]
ja case.0x140030d1b.1
movzx eax, byte [rsi + rdx]
dec eax
cmp eax, 5
ja case.0x140030d1b.1
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x30eb0]
add rcx, rdx
jmp rcx
mov edi, 4
lea rcx, [0x140014e20]
jmp 0x140030d45
mov edi, 6
lea rcx, [fcn.140014f70]
jmp 0x140030d45
mov edi, 7
lea rcx, [0x140015060]
mov rax, qword [rbx + 0x60]
lea r15, [rsp + 0x40]
cmp edi, 4
cmovne r15, rbp
mov qword [rax + 0x418], rcx
xor ecx, ecx
mov rax, qword [rbx + 0xc8]
mov ebp, ecx
cmp byte [rax + rsi + 1], 1
jne case.0x140030d1b.1
mov rax, qword [rbx + 0x58]
mov rcx, qword [rax + 0x68]
add rcx, 0x148
je case.0x140030d1b.1
mov rax, qword [rcx]
test rax, rax
je case.0x140030d1b.1
lea ecx, [rbp + 1]
call qword [rax + 0x18]
test eax, eax
je case.0x140030d1b.1
add rsi, 2
mov rdx, qword [rbx + 0x100]
lea r14, [rsi + 2]
cmp r14, rdx
ja case.0x140030d1b.1
mov rax, qword [rbx + 0xc8]
movzx ecx, byte [rax + rsi]
movzx r12d, byte [rax + rsi + 1]
shl rcx, 8
or r12, rcx
lea rax, [r12 + r14]
cmp rax, rdx
jne case.0x140030d1b.1
mov rax, qword [rbx + 0x60]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + 0x418]
mov rax, qword [rbx + 0x58]
mov r9, qword [rbx + 0xc8]
add r9, r14
mov r10, qword [rax + 0x68]
mov r8, qword [r10 + 0x148]
test r8, r8
je 0x140030e99
test rbp, rbp
jne 0x140030e27
mov ecx, edi
call fcn.140023c20
test rax, rax
je 0x140030e99
movzx ebp, byte [rax + 0x10]
mov rax, qword [r8 + 0x20]
test rax, rax
jne 0x140030e6e
mov eax, 0xffffc100
mov r14, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rdi, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140042de0
add rsp, 0x88
pop rbp
pop rbx
ret
mov rcx, qword [r10 + 0x150]
mov r8, r15
mov qword [rsp + 0x28], r12
mov edx, edi
mov qword [rsp + 0x20], r9
mov r9, rbp
call rax
test eax, eax
jne 0x140030e35
mov rcx, rbx
call fcn.1400173f0
xor eax, eax
jmp 0x140030e35
mov eax, 0xffffc180
jmp 0x140030e35
mov eax, 0xffff8280
jmp 0x140030e35
inc dword [rbx + 8]
xor eax, eax
jmp 0x140030e57
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
cmp dword [rcx + 8], 0x10
mov rbx, rcx
je case.0x140030f4c.16
cmp qword [rcx + 0x60], 0
je case.0x140030f4c.16
call fcn.1400166b0
mov edi, eax
test eax, eax
jne 0x1400312f9
mov rax, qword [rbx]
test byte [rax + 0x150], 2
je 0x140030f2c
mov rax, qword [rbx + 0x60]
cmp byte [rax + 0x150], 1
jne 0x140030f2c
mov rcx, rbx
call fcn.1400168d0
mov edi, eax
test eax, eax
jne 0x1400312f9
movsxd r8, dword [rbx + 8]
cmp r8d, 0x12
ja case.0x140030f4c.16
lea rdx, [0x140000000]
mov ecx, dword [rdx + r8*4 + 0x31304]
add rcx, rdx
jmp rcx
mov dword [rbx + 8], 1
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x14002eba0
mov eax, 0xffff9580
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x14002f9a0
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x140018200
mov rax, qword [rbx + 0x80]
mov qword [rsp + 0x40], 0
mov rcx, qword [rax]
mov edx, dword [rcx + 0x18]
sub edx, 1
je 0x140031094
sub edx, 4
je 0x140031094
sub edx, 2
je 0x140031094
sub edx, 2
je 0x140031094
cmp edx, 1
je 0x140031094
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.1400300c0
mov edi, eax
test eax, eax
je 0x14003101f
cmp eax, 0xffff9b00
je 0x1400312e7
mov qword [rbx + 0x150], 0
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14003106a
mov rcx, qword [rbx + 0x150]
mov rax, qword [rbx + 0x140]
shr rdx, 8
mov byte [rcx + rax], dl
inc qword [rbx + 0x150]
mov rdx, qword [rbx + 0x150]
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rbx + 0x140]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x40]
inc rax
add qword [rbx + 0x150], rax
mov rax, qword [rbx + 0x140]
mov rcx, rbx
mov dword [rbx + 0x148], reloc.WS2_32.dll_shutdown
mov byte [rax], listen
inc dword [rbx + 8]
call fcn.140016d40
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
lea eax, [r8 + 1]
xor edi, edi
mov dword [rbx + 8], eax
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x14002fe20
mov rax, qword [rbx + 0x140]
mov qword [rbx + 0x150], 4
mov dword [rbx + 0x148], reloc.WS2_32.dll_shutdown
mov byte [rax], recv
mov rax, qword [rbx]
inc dword [rbx + 8]
test byte [rax + 0x150], 2
je 0x1400310f2
mov rcx, rbx
call fcn.140016cc0
mov rcx, rbx
call fcn.140016d40
mov edi, eax
test eax, eax
jne 0x1400312e7
mov rax, qword [rbx]
test byte [rax + 0x150], 2
je 0x140031122
mov rcx, rbx
call fcn.1400168d0
mov edi, eax
test eax, eax
jne 0x1400312e7
xor edi, edi
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x140018790
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x140030960
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x140030bd0
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x140018a00
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x140019520
mov rax, qword [rbx + 0x60]
mov rcx, qword [rbx + 0x140]
cmp dword [rax + 0x8ac], 0
je 0x14003128c
mov dword [rbx + 0x148], reloc.WS2_32.dll_shutdown
mov byte [rcx], 4
lea rcx, [rsp + 0x40]
mov r8, qword [rbx + 0x140]
mov rax, qword [rbx]
mov rdx, qword [rbx + 0x58]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x48]
lea r9, [r8 + 0x4000]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax + 0x98]
add r8, 0xa
call qword [rax + 0x88]
test eax, eax
je 0x1400311f7
mov qword [rsp + 0x48], 0
mov ecx, dword [rsp + 0x40]
mov rax, qword [rbx + 0x140]
shr ecx, 0x18
mov byte [rax + 4], cl
mov ecx, dword [rsp + 0x40]
mov rax, qword [rbx + 0x140]
shr ecx, 0x10
mov byte [rax + 5], cl
mov rax, qword [rbx + 0x140]
mov ecx, dword [rsp + 0x40]
shr ecx, 8
mov byte [rax + 6], cl
mov rcx, qword [rbx + 0x140]
movzx eax, byte [rsp + 0x40]
mov byte [rcx + 7], al
mov rax, qword [rbx + 0x140]
mov rcx, qword [rsp + 0x48]
shr rcx, 8
mov byte [rax + 8], cl
mov rcx, qword [rbx + 0x140]
movzx eax, byte [rsp + 0x48]
mov byte [rcx + 9], al
mov rcx, rbx
mov rax, qword [rsp + 0x48]
add rax, 0xa
mov qword [rbx + 0x150], rax
mov rax, qword [rbx + 0x60]
mov dword [rax + 0x8ac], 0
call fcn.140016d40
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rbx + shutdown8], 0x14
mov qword [rbx + 0x150], 1
mov byte [rcx], 1
mov rcx, rbx
inc dword [rbx + 8]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.140016d40
mov rcx, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x140019290
mov dword [rbx + 8], select
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
call fcn.140019120
mov eax, edi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, 0xffff8f00
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret