Function at 0x140034c70
Capabilities:
Encode data using xor
Hash data using sha1
Hash data using sha256
Hash data using sha384

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x80]
mov rbx, rcx
mov rdx, qword [rax]
mov eax, dword [rdx + 0x18]
cmp eax, 0xb
ja 0x140018225
mov ecx, 0x960
bt ecx, eax
jb 0x14001823a
mov rcx, qword [rbx]
test byte [rcx + 0x150], 1
jne 0x140018245
cmp dword [rbx + 0x16c], 0
jne 0x140018274
inc dword [rbx + 8]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x14001825a
mov rax, qword [rax + 0x110]
test rax, rax
jne 0x14001826a
mov rax, qword [rcx + 0xb8]
test rax, rax
je 0x14001839f
cmp qword [rax], 0
je 0x14001839f
mov qword [rsp + 0x30], rbp
mov rbp, qword [rbx + 0x60]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rdi
mov edi, 7
test rbp, rbp
je 0x14001829d
mov rbp, qword [rbp + 0x110]
test rbp, rbp
jne 0x1400182ad
mov rbp, qword [rcx + 0xb8]
test rbp, rbp
je 0x14001832d
mov rbp, qword [rbp]
test rbp, rbp
je 0x14001832d
nop word [rax + rax]
mov rsi, qword [rbp + 8]
mov eax, 0x3ffd
sub rax, rdi
cmp rsi, rax
ja 0x140018398
mov rax, qword [rbx + 0x140]
mov rcx, rsi
shr rcx, 0x10
mov r8, rsi
mov byte [rdi + rax], cl
mov rcx, rsi
mov rax, qword [rbx + 0x140]
shr rcx, 8
mov byte [rdi + rax + 1], cl
mov rax, qword [rbx + 0x140]
mov byte [rdi + rax + 2], sil
add rdi, 3
mov rcx, qword [rbx + 0x140]
mov rdx, qword [rbp + 0x10]
add rcx, rdi
call fcn.140065900
mov rbp, qword [rbp + 0x220]
add rdi, rsi
test rbp, rbp
jne 0x1400182c0
mov rax, qword [rbx + 0x140]
lea rdx, [rdi - 7]
mov rcx, rdx
shr rdx, 8
shr rcx, 0x10
mov byte [rax + 4], cl
lea ecx, [rdi - 7]
mov rax, qword [rbx + 0x140]
mov byte [rax + 5], dl
mov rax, qword [rbx + 0x140]
mov byte [rax + 6], cl
mov rcx, rbx
mov rax, qword [rbx + 0x140]
mov qword [rbx + 0x150], rdi
mov dword [rbx + 0x148], reloc.WS2_32.dll_shutdown
mov byte [rax], listen
inc dword [rbx + 8]
call fcn.140016d40
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
mov eax, 0xffff8b00
jmp 0x140018383
mov eax, 0xffff8a80
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x50
mov rax, qword [rcx + 0x80]
mov rbx, rcx
mov r14, qword [rax]
mov rax, qword [rcx + 0x60]
mov esi, dword [rax + 0x118]
cmp esi, 3
jne 0x1400187cb
mov rax, qword [rcx]
mov esi, dword [rax + 0x150]
shr esi, 2
and esi, 3
mov ecx, dword [r14 + 0x18]
cmp ecx, 0xb
ja 0x1400187de
mov eax, 0x960
bt eax, ecx
jb 0x1400187fe
mov rax, qword [rbx]
test byte [rax + 0x150], 1
je 0x140018814
cmp ecx, 7
je 0x1400187fe
test esi, esi
jne 0x140018814
mov rax, qword [rbx + 0x58]
mov dword [rax + 0x70], 0x80
inc dword [rbx + 8]
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
mov edx, 1
mov rcx, rbx
call fcn.1400176a0
test eax, eax
jne 0x1400189e5
mov rcx, rbx
mov qword [rsp + 0x68], rdi
call fcn.1400183b0
mov edi, eax
test eax, eax
je 0x140018854
cmp eax, 0xffff8b80
jne 0x1400189db
xor eax, eax
cmp esi, 1
cmove edi, eax
jmp 0x1400189db
test esi, esi
je 0x1400189db
mov rax, qword [rbx + 0x60]
mov qword [rsp + 0x60], rbp
mov rbp, qword [rax + 0x128]
test rbp, rbp
je 0x14001887a
mov r8, qword [rax + 0x130]
jmp 0x14001888b
mov rax, qword [rbx]
mov rbp, qword [rax + 0xc0]
mov r8, qword [rax + 0xc8]
mov r9, qword [rbx]
mov rcx, qword [rbx + 0x58]
mov rax, qword [r9 + 0x70]
mov qword [rsp + 0x38], rax
lea rdx, [rcx + 0x70]
mov rax, qword [r9 + 0x68]
mov r9, qword [r9 + 0xb0]
mov rcx, qword [rcx + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rbx + 0x170]
mov qword [rsp + 0x28], rdx
mov rdx, rbp
mov qword [rsp + 0x20], rax
call fcn.14001e5d0
mov rcx, qword [rbx + 0x58]
mov edi, eax
mov rax, qword [rbx]
mov rdx, r14
lea r9, [rcx + 0x70]
mov rcx, qword [rcx + 0x68]
mov r8d, dword [rax + 0x150]
not r8d
and r8d, 1
call fcn.14001b520
mov ecx, 0xffff8600
test eax, eax
je 0x140018901
test edi, edi
cmove edi, ecx
cmp esi, 1
jne 0x140018916
cmp edi, 0xffffd900
je 0x140018912
cmp edi, ecx
jne 0x140018916
xor eax, eax
mov edi, eax
test rbp, rbp
mov rbp, qword [rsp + 0x60]
jne 0x14001892c
cmp esi, 2
jne 0x14001892c
mov edi, 0xffff8980
jmp 0x140018934
test edi, edi
je 0x1400189db
mov rax, qword [rbx + 0x58]
mov ecx, dword [rax + 0x70]
bt ecx, 8
jae 0x140018945
mov cl, 0x31
jmp 0x1400189a2
test cl, 4
je 0x14001894e
mov cl, 0x2a
jmp 0x1400189a2
bt ecx, 0xb
jae 0x140018958
mov cl, 0x2b
jmp 0x1400189a2
bt ecx, 0xc
jae 0x140018962
mov cl, 0x2b
jmp 0x1400189a2
bt ecx, 0xd
jae 0x14001896c
mov cl, 0x2b
jmp 0x1400189a2
bt ecx, 0xf
jae 0x140018976
mov cl, 0x2b
jmp 0x1400189a2
bt ecx, 0x10
jae 0x140018980
mov cl, 0x2b
jmp 0x1400189a2
test cl, 1
je 0x140018989
mov cl, 0x2d
jmp 0x1400189a2
test cl, 2
je 0x140018992
mov cl, 0x2c
jmp 0x1400189a2
test cl, 8
mov eax, 0x30
mov ecx, 0x2e
cmovne ecx, eax
cmp qword [rbx], 0
je 0x1400189db
mov rax, qword [rbx + 0x140]
mov dl, 1
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], cl
mov rcx, rbx
call fcn.140016fe0
inc dword [rbx + 8]
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
push rbx
sub rsp, 0x20
mov edx, 1
mov rbx, rcx
call fcn.1400176a0
test eax, eax
jne 0x140018b48
cmp dword [rbx + 0xd8], 0x14
je 0x140018a69
cmp qword [rbx], 0
je 0x140018a5e
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], 0xa
call fcn.140016fe0
mov eax, 0xffff8900
add rsp, 0x20
pop rbx
ret
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x68], rax
mov rax, qword [rbx + 0x58]
mov qword [rbx + 0x40], rax
mov rax, qword [rbx]
test byte [rax + 0x150], 2
je 0x140018a9d
add word [rbx + 0xf0], 1
jne 0x140018aa9
mov eax, 0xffff9480
add rsp, 0x20
pop rbx
ret
mov rax, qword [rbx + 0xa8]
xor ecx, ecx
mov qword [rax], rcx
mov rdx, qword [rbx + 0xb0]
mov r11d, 3
mov rax, qword [rbx]
mov r8d, reloc.WS2_32.dll_listen
mov r9, qword [rbx + 0x80]
mov r10, 0xfffffffffffffff8
mov ecx, dword [rax + 0x150]
mov eax, 5
and ecx, 2
cmove r8d, eax
mov eax, r11d
add r8, rdx
test ecx, ecx
cmove rax, r10
add rax, rdx
mov qword [rbx + 0xa8], rax
test ecx, ecx
mov eax, listen
cmove eax, r11d
add rax, rdx
mov qword [rbx + 0xb8], rax
mov qword [rbx + 0xc0], r8
test r9, r9
je 0x140018b39
cmp dword [rbx + 0x18], 2
jl 0x140018b39
mov rax, qword [r9 + 0x18]
sub rax, qword [r9 + 0x20]
add rax, r8
mov qword [rbx + 0xc8], rax
inc dword [rbx + 8]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rax, r8
mov qword [rbx + 0xc8], rax
inc dword [rbx + 8]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r9, qword [rcx + 0x80]
mov rbx, rcx
mov r10, qword [rcx]
mov eax, 5
mov edi, 3
mov r8d, reloc.WS2_32.dll_listen
mov r11, 0xfffffffffffffff8
mov rdx, qword [rbx + 0x128]
mov ecx, dword [r10 + 0x150]
and ecx, 2
cmove r8d, eax
mov eax, edi
add r8, rdx
test ecx, ecx
cmove rax, r11
add rax, rdx
mov qword [rbx + 0x120], rax
test ecx, ecx
mov eax, listen
cmove eax, edi
add rax, rdx
mov qword [rbx + 0x130], rax
mov qword [rbx + 0x138], r8
test r9, r9
je 0x140019320
cmp dword [rbx + 0x18], 2
jl 0x140019320
mov rdx, qword [r9 + 0x18]
sub rdx, qword [r9 + 0x20]
add rdx, r8
jmp 0x140019323
mov rdx, r8
mov qword [rbx + 0x140], rdx
lea rsi, [rbx + 0x60]
mov r8d, dword [r10 + 0x150]
add rdx, 4
mov rax, qword [rsi]
and r8d, 1
mov rcx, rbx
call qword [rax + 0x420]
mov edi, dword [rbx + 0x18]
lea rcx, [rbx + 0x190]
mov rdx, qword [rbx + 0x140]
mov eax, 0x24
test edi, edi
mov r8d, recv
cmove r8d, eax
add rdx, 4
mov qword [rbx + 0x188], r8
call fcn.140065900
test edi, edi
mov dword [rbx + 0x148], reloc.WS2_32.dll_shutdown
mov ecx, 0x28
mov eax, reloc.WS2_32.dll_recv
cmove eax, ecx
mov qword [rbx + 0x150], rax
mov rax, qword [rbx + 0x140]
mov byte [rax], shutdown
mov rcx, qword [rsi]
cmp dword [rcx + 0x89c], 0
je 0x1400193da
mov rax, qword [rbx]
test byte [rax + 0x150], 1
jne 0x1400193d1
mov dword [rbx + 8], select
lea rsi, [rbx + 0x60]
test byte [rax + 0x150], 1
je 0x1400193dd
mov dword [rbx + 8], 0xa
jmp 0x1400193dd
inc dword [rbx + 8]
mov rax, qword [rbx]
test byte [rax + 0x150], 2
je 0x14001944d
mov rax, qword [rbx + 0x70]
mov qword [rcx + 0x178], rax
mov rcx, qword [rsi]
mov rax, qword [rbx + 0x160]
mov qword [rcx + 0x180], rax
xor eax, eax
mov dword [rbx + 0x162], eax
mov cl, 2
mov word [rbx + 0x166], ax
nop word [rax + rax]
movzx eax, cl
add byte [rax + rbx + 0x15f], 1
jne 0x140019447
add cl, 0xff
jne 0x140019420
mov eax, 0xffff9480
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
lea rsi, [rbx + 0x60]
jmp 0x140019456
xor eax, eax
mov qword [rbx + 0x160], rax
mov rax, qword [rbx + 0x80]
mov qword [rbx + 0x70], rax
mov rax, qword [rbx + 0x58]
mov qword [rbx + 0x48], rax
mov rax, qword [rbx]
test byte [rax + 0x150], 2
je 0x1400194d4
mov eax, dword [rax + 0x134]
mov rcx, qword [rsi]
mov dword [rcx + 0x14c], eax
mov rax, qword [rsi]
mov r8d, dword [rax + 0x14c]
mov rax, qword [rbx + 0x90]
test rax, rax
je 0x1400194a9
mov rcx, qword [rbx + 0x88]
mov edx, r8d
shr edx, 2
call rax
cmp dword [rbx + 0xd8], 0x16
jne 0x1400194ca
mov rax, qword [rbx + 0xc8]
cmp byte [rax], 0x14
jne 0x1400194ca
mov rax, qword [rsi]
mov byte [rax + 0x150], 3
jmp 0x1400194d4
mov rax, qword [rsi]
mov byte [rax + 0x150], 2
mov rcx, rbx
call fcn.140016d40
test eax, eax
jne 0x140019505
mov rax, qword [rbx]
test byte [rax + 0x150], 2
je 0x140019503
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.1400168d0
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
push rbx
sub rsp, 0x40
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rax, qword [rcx]
lea rdx, [rsp + 0x28]
mov r9, qword [rcx + 0x60]
mov rbx, rcx
mov r8d, dword [rax + 0x150]
not r8d
and r8d, 1
call qword [r9 + 0x420]
mov edx, 1
mov rcx, rbx
call fcn.1400176a0
test eax, eax
jne 0x1400196fd
cmp dword [rbx + 0xd8], 0x16
je 0x1400195c9
cmp qword [rbx], 0
je 0x1400195b1
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], 0xa
call fcn.140016fe0
mov eax, 0xffff8900
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140042de0
add rsp, 0x40
pop rbx
ret
mov rdx, qword [rbx + 0xc8]
cmp byte [rdx], 0x14
jne 0x1400196be
mov rax, qword [rbx]
mov ecx, dword [rax + 0x150]
and ecx, 2
mov eax, ecx
or rax, 4
shl rax, 2
cmp qword [rbx + 0x100], rax
jne 0x1400196be
or rcx, 1
mov byte [rsp + 0x20], 0
lea r8, [rdx + rcx*4]
xor edx, edx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
movzx ecx, byte [rsp + rdx + 0x28]
inc rdx
xor cl, al
movzx eax, byte [rsp + 0x20]
or cl, al
mov byte [rsp + 0x20], cl
cmp rdx, 0xc
jb 0x140019610
movzx eax, byte [rsp + 0x20]
test al, al
jne 0x1400196be
mov eax, dword [rsp + 0x30]
movsd xmm0, qword [rsp + 0x28]
mov qword [rbx + 0x188], select
movsd qword [rbx + 0x19c], xmm0
mov dword [rbx + 0x1a4], eax
mov rax, qword [rbx + 0x60]
cmp dword [rax + 0x89c], 0
je 0x140019692
mov rax, qword [rbx]
test byte [rax + 0x150], 1
jne 0x140019689
mov dword [rbx + 8], 0xa
test byte [rax + 0x150], 1
je 0x140019695
mov dword [rbx + 8], select
jmp 0x140019695
inc dword [rbx + 8]
mov rax, qword [rbx]
test byte [rax + 0x150], 2
je 0x1400196a9
mov rcx, rbx
call fcn.140016be0
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140042de0
add rsp, 0x40
pop rbx
ret
cmp qword [rbx], 0
je 0x1400196f8
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], 0x32
call fcn.140016fe0
mov eax, 0xffff8180
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140042de0
add rsp, 0x40
pop rbx
ret
push rdi
sub rsp, 0x40
mov rdi, rcx
mov rcx, qword [rcx]
cmp qword [rcx + 0x30], 0
jne 0x1400322de
mov eax, 0xffff8c00
add rsp, 0x40
pop rdi
ret
cmp dword [rdi + 0xc], 0
jne 0x1400322f8
movzx eax, byte [rcx + 0x14e]
mov dword [rdi + 0x14], eax
movzx eax, byte [rcx + 0x14f]
mov dword [rdi + 0x18], eax
movzx edx, byte [rcx + 0x14c]
test dl, dl
jne 0x14003230e
mov eax, 0xffff8f00
add rsp, 0x40
pop rdi
ret
test byte [rcx + 0x150], 2
movzx r9d, byte [rcx + 0x14d]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x30], r13
mov r13, qword [rdi + 0x140]
mov rax, r13
je 0x14003234b
mov r8d, 1
cmp r9d, 2
mov ecx, r8d
cmovne ecx, r9d
neg cl
sub r8b, dl
jmp 0x140032353
movzx ecx, r9b
movzx r8d, dl
mov byte [r13 + 4], r8b
mov edx, 5
mov byte [rdx + rax], cl
mov rax, qword [rdi]
mov rcx, qword [rdi + 0x60]
test byte [rax + 0x150], 2
lea rbx, [rcx + 0x438]
je 0x140032380
cmp qword [rcx + 0x140], 0
jne 0x1400323c3
xor ecx, ecx
call fcn.140052fb8
mov rcx, rax
lea rdx, [rbx + 4]
sar rcx, 0x18
mov r8d, 0x1c
mov byte [rbx], cl
mov rcx, rax
sar rcx, 0x10
mov byte [rbx + 1], cl
mov rcx, rax
sar rcx, 8
mov byte [rbx + 2], cl
mov byte [rbx + 3], al
mov rax, qword [rdi]
mov rcx, qword [rax + 0x38]
call qword [rax + 0x30]
test eax, eax
jne 0x140032b6f
mov rax, qword [rdi + 0x60]
lea rbx, [r13 + 0x26]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x38], r12
xor r12d, r12d
movups xmm0, xmmword [rax + 0x438]
movups xmmword [r13 + 6], xmm0
movups xmm1, xmmword [rax + 0x448]
movups xmmword [r13 + 0x16], xmm1
mov rdx, qword [rdi + 0x58]
mov rsi, qword [rdx + 0x10]
lea rax, [rsi - 0x10]
cmp rax, 0x10
ja 0x140032415
cmp dword [rdi + 0xc], r12d
jne 0x140032415
mov rax, qword [rdi + 0x60]
cmp dword [rax + 0x89c], r12d
jne 0x14003241e
mov rsi, r12
cmp dword [rdi + 0xc], r12d
jne 0x14003245e
cmp qword [rdx + 0x78], r12
je 0x14003245e
cmp qword [rdx + 0x80], r12
je 0x14003245e
mov rax, qword [rdi]
mov esi, 0x20
add rdx, 0x18
mov r8d, esi
mov rcx, qword [rax + 0x38]
call qword [rax + 0x30]
test eax, eax
jne 0x140032b65
mov rax, qword [rdi + 0x58]
mov rdx, r12
mov qword [rax + 0x10], rsi
mov byte [rbx], sil
inc rbx
jmp 0x140032470
mov byte [rbx], sil
mov rdx, r12
inc rbx
test rsi, rsi
je 0x140032486
nop dword [rax]
mov rax, qword [rdi + 0x58]
movzx ecx, byte [rax + rdx + 0x18]
inc rdx
mov byte [rbx], cl
inc rbx
cmp rdx, rsi
jb 0x140032470
mov rax, qword [rdi]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x20], r15
test byte [rax + 0x150], 2
je 0x1400324e7
mov rax, qword [rdi + 0x60]
lea rcx, [rbx + 1]
cmp qword [rax + 0x140], r12
jne 0x1400324b5
mov byte [rbx], r12b
mov rbx, rcx
jmp 0x1400324e7
movzx eax, byte [rax + 0x148]
mov byte [rbx], al
mov rbx, rcx
mov rdx, qword [rdi + 0x60]
movzx r8d, byte [rdx + 0x148]
mov rdx, qword [rdx + 0x140]
call fcn.140065900
mov rax, qword [rdi + 0x60]
movzx ecx, byte [rax + 0x148]
add rbx, rcx
movsxd rcx, dword [rdi + 0x18]
mov rsi, rbx
mov rax, qword [rdi]
add rbx, 2
mov r9, r12
mov r10, r12
mov r11, qword [rax + rcx*8]
mov edx, dword [r11]
test edx, edx
je 0x14003257d
mov r8, r11
lea rbp, [0x140077490]
mov rcx, rbp
mov eax, 0x9f
cmp eax, edx
je 0x140032529
mov eax, dword [rcx + 0x30]
add rcx, 0x30
test eax, eax
jne 0x140032518
jmp 0x14003256e
test rcx, rcx
je 0x14003256e
mov rdx, qword [rdi]
movzx eax, byte [rdx + 0x14d]
cmp dword [rcx + 0x20], eax
jg 0x14003256e
movzx eax, byte [rdx + 0x14f]
cmp dword [rcx + 0x28], eax
jl 0x14003256e
test byte [rdx + 0x150], 2
je 0x140032558
test byte [rcx + 0x2c], 4
jne 0x14003256e
mov eax, dword [r8]
inc r9
sar eax, 8
mov byte [rbx], al
movzx eax, byte [r8]
mov byte [rbx + 1], al
add rbx, 2
inc r10
mov edx, dword [r11 + r10*4]
lea r8, [r11 + r10*4]
test edx, edx
jne 0x140032510
cmp dword [rdi + 0xc], r12d
jne 0x14003258f
mov word [rbx], 0xff00
add rbx, 2
inc r9
mov rax, qword [rdi]
test dword [rax + 0x150], 0x8000
je 0x1400325aa
mov word [rbx], 0x56
add rbx, 2
inc r9
mov rax, r9
mov rbp, r12
shr rax, 7
add r9b, r9b
mov byte [rsi], al
mov rax, rbx
mov byte [rsi + 1], r9b
mov byte [rbx], 1
add rbx, 2
mov byte [rax + 1], r12b
mov rax, qword [rdi + 0x170]
lea rcx, [rbx + 2]
test rax, rax
je 0x140032655
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bpl
jne 0x1400325e2
mov rax, qword [rdi + 0x140]
add rax, 0x4000
cmp rax, rcx
jb 0x140032655
lea rsi, [r8 + 9]
sub rax, rcx
cmp rax, rsi
jb 0x140032655
mov word [rcx], bp
lea rax, [r8 + 5]
shr rax, 8
mov byte [rcx + 2], al
lea eax, [r8 + 5]
mov byte [rcx + 3], al
lea rax, [r8 + 3]
shr rax, 8
mov byte [rcx + 4], al
lea eax, [r8 + 3]
mov byte [rcx + 5], al
mov rax, r8
shr rax, 8
mov byte [rcx + 7], al
mov byte [rcx + 6], bpl
mov byte [rcx + 8], r8b
add rcx, 9
mov rdx, qword [rdi + 0x170]
call fcn.140065900
mov rbp, rsi
lea rcx, [rbp + 2]
mov r8, r12
add rcx, rbx
cmp dword [rdi + 0xc], 1
jne 0x1400326cc
mov rdx, qword [rdi + 0x140]
add rdx, 0x4000
cmp rdx, rcx
jb 0x1400326cc
mov rax, qword [rdi + 0x188]
sub rdx, rcx
add rax, 5
cmp rdx, rax
jb 0x1400326cc
mov word [rcx], 0x1ff
lea rdx, [rdi + 0x190]
mov byte [rcx + 2], r8b
movzx eax, byte [rdi + 0x188]
inc al
mov byte [rcx + 3], al
movzx eax, byte [rdi + 0x188]
mov byte [rcx + 4], al
add rcx, 5
mov r8, qword [rdi + 0x188]
call fcn.140065900
mov r8, qword [rdi + 0x188]
add r8, 5
mov rdx, qword [rdi + 0x140]
add rbp, r8
mov r8, qword [rdi]
add rdx, 0x4000
mov rcx, r12
mov r9, r12
lea r10, [rbp + 2]
add r10, rbx
cmp byte [r8 + 0x14d], 3
jne 0x1400327c8
mov rax, qword [r8 + 0xd0]
cmp dword [rax], ecx
je 0x140032720
nop word [rax + rax]
add rcx, 2
lea rax, [rax + 4]
cmp dword [rax], r12d
jne 0x140032710
mov r8, qword [rdi]
cmp rdx, r10
jb 0x1400327c8
sub rdx, r10
lea rax, [rcx + 6]
cmp rdx, rax
jb 0x1400327c8
mov r8, qword [r8 + 0xd0]
mov rdx, r12
mov eax, dword [r8]
test eax, eax
je 0x14003279c
lea r9, [0x140000000]
add eax, 0xfffffffd
cmp eax, 5
ja case.default.0x140032766
cdqe
mov ecx, dword [r9 + rax*4 + 0x32b80]
add rcx, r9
jmp rcx
mov al, 1
jmp 0x140032782
mov al, 2
jmp 0x140032782
mov al, 3
jmp 0x140032782
mov al, 4
jmp 0x140032782
mov al, 5
jmp 0x140032782
mov al, 6
jmp 0x140032782
xor al, al
mov byte [r10 + rdx + 6], al
add r8, 4
mov byte [r10 + rdx + 7], 1
add rdx, 2
mov eax, dword [r8]
test eax, eax
jne 0x140032751
mov word [r10], 0xd00
lea rax, [rdx + 2]
shr rax, 8
lea r9, [rdx + 6]
mov byte [r10 + 2], al
lea eax, [rdx + 2]
mov byte [r10 + 3], al
mov rax, rdx
shr rax, 8
mov byte [r10 + 4], al
mov byte [r10 + 5], dl
mov rax, qword [rdi]
add rbp, r9
mov rcx, r12
lea rdx, [rbp + 2]
add rdx, rbx
test dword [rax + 0x150], 0x1c0
je 0x14003281c
mov rax, qword [rdi + 0x140]
add rax, 0x4000
cmp rax, rdx
jb 0x14003281c
sub rax, rdx
cmp rax, 5
jb 0x14003281c
mov dword [rdx], 0x1000100
mov rax, qword [rdi]
mov ecx, dword [rax + 0x150]
shr ecx, 6
and cl, 7
mov byte [rdx + 4], cl
mov ecx, 5
mov rax, qword [rdi]
add rbp, rcx
mov rdx, r12
lea rcx, [rbp + 2]
add rcx, rbx
test dword [rax + 0x150], 0x2000
je 0x14003285e
mov rax, qword [rdi + 0x140]
add rax, 0x4000
cmp rax, rcx
jb 0x14003285e
sub rax, rcx
cmp rax, 4
jb 0x14003285e
mov dword [rcx], 0x400
mov edx, 4
mov rcx, qword [rdi + 0x140]
add rbp, rdx
mov rdx, qword [rdi]
add rcx, 0x4000
mov r8, r12
lea rax, [rbp + 2]
add rax, rbx
test dword [rdx + 0x150], 0x200
je 0x1400328ab
cmp byte [rdx + 0x14d], r8b
je 0x1400328ab
cmp rcx, rax
jb 0x1400328ab
sub rcx, rax
cmp rcx, 4
jb 0x1400328ab
mov dword [rax], 0x1600
mov r8d, 4
mov rdx, qword [rdi]
add rbp, r8
mov rcx, qword [rdi + 0x140]
mov r8, r12
add rcx, 0x4000
lea rax, [rbp + 2]
add rax, rbx
test dword [rdx + 0x150], 0x400
je 0x1400328f8
cmp byte [rdx + 0x14d], r8b
je 0x1400328f8
cmp rcx, rax
jb 0x1400328f8
sub rcx, rax
cmp rcx, 4
jb 0x1400328f8
mov dword [rax], 0x1700
mov r8d, 4
mov rax, qword [rdi]
add rbp, r8
mov rdx, qword [rdi + 0x140]
mov r9, r12
mov rsi, r12
mov r8, qword [rax + 0x128]
lea r15, [rbp + 2]
add r15, rbx
lea r10, [rdx + 0x4000]
test r8, r8
je 0x140032a1c
mov rcx, qword [r8]
test rcx, rcx
je 0x14003296d
nop dword [rax]
nop word [rax + rax]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], sil
jne 0x140032947
mov rcx, qword [r8 + 8]
add r8, 8
inc r9
movzx eax, al
add r9, rax
test rcx, rcx
jne 0x140032940
mov rdx, qword [rdi + 0x140]
cmp r10, r15
jb 0x140032a1c
sub r10, r15
lea rax, [r9 + 6]
cmp r10, rax
jb 0x140032a1c
mov byte [r15], sil
lea rsi, [r15 + 1]
mov byte [rsi], reloc.WS2_32.dll_recv
add rsi, 5
mov rax, qword [rdi]
mov qword [rsp + 0x28], r14
mov r14, qword [rax + 0x128]
mov rcx, qword [r14]
test rcx, rcx
je 0x1400329e7
nop dword [rax + rax]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r12b
jne 0x1400329b7
mov byte [rsi], al
lea rcx, [rsi + 1]
mov rdx, qword [r14]
movzx r8d, al
call fcn.140065900
movzx eax, byte [rsi]
add r14, 8
inc rsi
add rsi, rax
mov rcx, qword [r14]
test rcx, rcx
jne 0x1400329b0
mov r14, qword [rsp + 0x28]
sub rsi, r15
lea rax, [rsi - 6]
shr rax, 8
mov byte [r15 + 4], al
lea eax, [rsi - 6]
mov byte [r15 + 5], al
lea rax, [rsi - 4]
shr rax, 8
mov byte [r15 + 2], al
lea eax, [rsi - 4]
mov byte [r15 + 3], al
mov rdx, qword [rdi + 0x140]
mov rax, qword [rdi + 0x58]
add rbp, rsi
mov r15, qword [rsp + 0x20]
mov r8, qword [rax + 0x80]
lea rcx, [rbp + 2]
mov rax, qword [rdi]
add rcx, rbx
test dword [rax + 0x150], 0x4000
je 0x140032a93
add rdx, 0x4000
cmp rdx, rcx
jb 0x140032a93
lea rsi, [r8 + 4]
sub rdx, rcx
cmp rdx, rsi
jb 0x140032a93
mov word [rcx], 0x2300
mov rax, r8
shr rax, 8
mov r12d, 4
mov byte [rcx + 2], al
mov byte [rcx + 3], r8b
mov rax, qword [rdi + 0x58]
mov rdx, qword [rax + 0x78]
test rdx, rdx
je 0x140032a93
test r8, r8
je 0x140032a93
add rcx, r12
call fcn.140065900
mov r12, rsi
add rbp, r12
je 0x140032aac
mov rax, rbp
shr rax, 8
mov byte [rbx], al
mov byte [rbx + 1], bpl
add rbx, 2
add rbx, rbp
mov rax, qword [rdi + 0x140]
sub rbx, r13
mov rbp, qword [rsp + 0x60]
mov qword [rdi + 0x150], rbx
mov dword [rdi + 0x148], reloc.WS2_32.dll_shutdown
mov byte [rax], 1
mov rax, qword [rdi]
inc dword [rdi + 8]
test byte [rax + 0x150], 2
je 0x140032b41
mov eax, dword [rax + 0x134]
mov rcx, qword [rdi + 0x60]
mov dword [rcx + 0x14c], eax
mov rax, qword [rdi + 0x60]
mov r8d, dword [rax + 0x14c]
mov rax, qword [rdi + 0x90]
test rax, rax
je 0x140032b14
mov rcx, qword [rdi + 0x88]
mov edx, r8d
shr edx, 2
call rax
cmp dword [rdi + 0xd8], 0x16
jne 0x140032b36
mov rax, qword [rdi + 0xc8]
cmp byte [rax], 0x14
jne 0x140032b36
mov rax, qword [rdi + 0x60]
mov byte [rax + 0x150], 3
jmp 0x140032b41
mov rax, qword [rdi + 0x60]
mov byte [rax + 0x150], 2
mov rcx, rdi
call fcn.140016d40
test eax, eax
jne 0x140032b65
mov rax, qword [rdi]
test byte [rax + 0x150], 2
je 0x140032b63
mov rcx, rdi
call fcn.1400168d0
jmp 0x140032b65
xor eax, eax
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x58]
mov r13, qword [rsp + 0x30]
add rsp, 0x40
pop rdi
ret
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
mov edx, dword [rcx + 0x150]
mov eax, edx
mov r10, qword [rbx + 0xc8]
and eax, 2
or rax, 1
movzx r9d, byte [r10 + rax*4 + 1]
lea rdi, [r10 + rax*4]
movzx eax, byte [r10 + rax*4]
test dl, 2
je 0x140032daa
mov r8d, 0x101
sub r8d, eax
mov eax, 0x100
sub eax, r9d
cmp r9d, 0xff
lea edx, [rax + 1]
cmovne edx, eax
jmp 0x140032db0
mov r8d, eax
mov edx, r9d
cmp r8d, 3
jl 0x140032ffc
cmp edx, 2
jl 0x140032ffc
movzx eax, byte [rcx + 0x14c]
cmp r8d, eax
jg 0x140032ffc
movzx eax, byte [rcx + 0x14d]
cmp edx, eax
jg 0x140032ffc
mov rax, qword [rbx + 0xe0]
mov qword [rsp + 0x30], rbp
movzx ebp, byte [rdi + 2]
add rdi, 3
sub rax, rdi
mov qword [rsp + 0x38], rsi
add rax, r10
cmp rax, rbp
jge 0x140032e59
test rcx, rcx
je 0x140032e3f
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], 0x32
call fcn.140016fe0
mov eax, 0xffff8680
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx + 0x60]
mov rcx, qword [rcx + 0x140]
call fcn.14004f190
mov rdx, rbp
mov ecx, 1
call fcn.14004fbcc
mov rcx, qword [rbx + 0x60]
mov qword [rcx + 0x140], rax
mov rax, qword [rbx + 0x60]
mov rcx, qword [rax + 0x140]
test rcx, rcx
jne 0x140032e98
mov eax, 0xffff8100
jmp 0x140032e44
mov r8, rbp
mov rdx, rdi
call fcn.140065900
mov rax, qword [rbx + 0x60]
xor ecx, ecx
mov byte [rax + 0x148], bpl
mov rax, qword [rbx + 0x60]
mov dword [rbx + 8], 1
mov qword [rax + 0x214], rcx
mov dword [rax + 0x21c], 0x67452301
mov dword [rax + 0x220], 0xefcdab89
mov dword [rax + 0x224], 0x98badcfe
mov dword [rax + 0x228], 0x10325476
mov rax, qword [rbx + 0x60]
add rax, 0x26c
mov qword [rax], rcx
mov dword [rax + 8], 0x67452301
mov dword [rax + 0xc], 0xefcdab89
mov dword [rax + 0x10], 0x98badcfe
mov dword [rax + 0x14], 0x10325476
mov dword [rax + 0x18], 0xc3d2e1f0
mov rax, qword [rbx + 0x60]
add rax, 0x2c8
mov qword [rax], rcx
mov dword [rax + 0x68], ecx
mov dword [rax + 8], 0x6a09e667
mov dword [rax + 0xc], 0xbb67ae85
mov dword [rax + 0x10], 0x3c6ef372
mov dword [rax + 0x14], 0xa54ff53a
mov dword [rax + 0x18], 0x510e527f
mov dword [rax + 0x1c], 0x9b05688c
mov dword [rax + 0x20], 0x1f83d9ab
mov dword [rax + 0x24], 0x5be0cd19
mov rax, qword [rbx + 0x60]
add rax, 0x338
mov qword [rax], rcx
mov qword [rax + 8], rcx
movabs rcx, 0xcbbb9d5dc1059ed8
mov qword [rax + 0x10], rcx
movabs rcx, 0x629a292a367cd507
mov qword [rax + 0x18], rcx
movabs rcx, 0x9159015a3070dd17
mov qword [rax + 0x20], rcx
movabs rcx, 0x152fecd8f70e5939
mov qword [rax + 0x28], rcx
movabs rcx, 0x67332667ffc00b31
mov qword [rax + 0x30], rcx
movabs rcx, 0x8eb44a8768581511
mov qword [rax + 0x38], rcx
movabs rcx, 0xdb0c2e0d64f98fa7
mov qword [rax + 0x40], rcx
movabs rcx, 0x47b5481dbefa4fa4
mov qword [rax + 0x48], rcx
mov rcx, rbx
mov dword [rax + 0xd0], 1
call fcn.140016be0
xor eax, eax
jmp 0x140032e44
test rcx, rcx
je 0x140033035
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 rbx, qword [rsp + 0x40]
mov eax, 0xffff9180
add rsp, 0x20
pop rdi
ret
push rbx
push rdi
push r13
sub rsp, 0x30
mov rdi, qword [rcx + 0xc8]
xor r13d, r13d
mov rbx, rcx
lea edx, [r13 + 1]
call fcn.1400176a0
test eax, eax
jne 0x1400339df
cmp dword [rbx + 0xd8], 0x16
je 0x1400330fe
cmp dword [rbx + 0xc], 1
jne 0x1400330b7
mov ecx, dword [rbx + 0x10]
mov rax, qword [rbx]
inc ecx
mov dword [rbx + 0x10], ecx
mov edx, dword [rax + 0x13c]
test edx, edx
js 0x14003309f
cmp ecx, edx
jg 0x1400330f0
mov dword [rbx + 0x10c], 1
mov eax, 0xffff9500
add rsp, 0x30
pop r13
pop rdi
pop rbx
ret
cmp qword [rbx], r13
je 0x1400330f0
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], 0xa
call fcn.140016fe0
mov eax, 0xffff8900
add rsp, 0x30
pop r13
pop rdi
pop rbx
ret
mov rax, qword [rbx]
test byte [rax + 0x150], 2
je 0x140033145
cmp byte [rdi], 3
jne 0x14003311f
mov rcx, rbx
add rsp, 0x30
pop r13
pop rdi
pop rbx
jmp 0x140032d50
mov rcx, qword [rbx + 0x60]
mov rcx, qword [rcx + 0x140]
call fcn.14004f190
mov rax, qword [rbx + 0x60]
mov qword [rax + 0x140], r13
mov rax, qword [rbx + 0x60]
mov byte [rax + 0x148], r13b
mov rcx, qword [rbx]
mov r9d, 0x32
mov qword [rsp + 0x58], rbp
mov eax, r9d
mov qword [rsp + 0x60], rsi
mov r11d, 0x2a
mov qword [rsp + 0x68], r12
mov edx, dword [rcx + 0x150]
mov r8d, edx
and r8d, 2
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmove eax, r11d
cmp qword [rbx + 0x100], rax
jb 0x140033988
cmp byte [rdi], 2
jne 0x140033988
and edx, 2
or rdx, 1
movzx eax, byte [rdi + rdx*4]
lea r15, [rdi + rdx*4]
test r8d, r8d
je 0x1400331d9
mov r8d, 0x101
mov edx, 0x100
sub r8d, eax
mov dword [rbx + 0x14], r8d
movzx eax, byte [r15 + 1]
sub edx, eax
mov dword [rbx + 0x18], edx
cmp edx, 1
jne 0x1400331e7
mov dword [rbx + 0x18], 2
lea edx, [r9 - 0x30]
jmp 0x1400331e7
mov dword [rbx + 0x14], eax
mov r8d, eax
movzx edx, byte [r15 + 1]
mov dword [rbx + 0x18], edx
movzx eax, byte [rcx + 0x14e]
cmp r8d, eax
jl 0x140033948
movzx eax, byte [rcx + 0x14f]
cmp edx, eax
jl 0x140033948
movzx eax, byte [rcx + 0x14c]
cmp r8d, eax
jg 0x140033948
movzx eax, byte [rcx + 0x14d]
cmp edx, eax
jg 0x140033948
mov rax, qword [rbx + 0x60]
movups xmm0, xmmword [r15 + 2]
movups xmmword [rax + 0x458], xmm0
movups xmm1, xmmword [r15 + 0x12]
movups xmmword [rax + 0x468], xmm1
movzx r14d, byte [r15 + 0x22]
cmp r14, 0x20
jbe 0x140033254
cmp qword [rbx], r13
jmp 0x14003398b
mov rcx, qword [rbx]
mov eax, 0x33
mov r8, qword [rbx + 0x100]
mov r10d, 0x2b
mov edx, dword [rcx + 0x150]
and edx, 2
cmove eax, r10d
add rax, r14
cmp r8, rax
jbe 0x1400332f8
movzx eax, byte [r14 + r15 + 0x27]
lea r12, [r14 + r15]
movzx r9d, byte [r12 + 0x26]
shl r9, 8
or r9, rax
mov qword [rsp + 0x50], r9
lea rax, [r9 - 1]
cmp rax, 2
jbe 0x1400332c0
test edx, edx
mov eax, 0x34
mov r10d, 0x2c
cmove eax, r10d
add rax, r9
add rax, r14
cmp r8, rax
je 0x14003330f
test rcx, rcx
je 0x1400339c1
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
jmp 0x1400339b7
test edx, edx
cmove r9, r11
add r9, r14
cmp r8, r9
jne 0x1400332c0
mov qword [rsp + 0x50], r13
lea r12, [r14 + r15]
movzx ebp, byte [r12 + 0x23]
movzx eax, byte [r12 + 0x24]
shl ebp, 8
or ebp, eax
cmp byte [r12 + 0x25], r13b
je 0x14003336a
test rcx, rcx
je 0x140033360
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], 0x2f
call fcn.140016fe0
mov eax, 0xffff8f80
jmp 0x1400339c6
lea rdi, [0x140077490]
mov esi, 0x9f
mov rcx, rdi
mov eax, esi
nop dword [rax + rax]
cmp eax, ebp
je 0x140033392
mov eax, dword [rcx + 0x30]
add rcx, 0x30
test eax, eax
jne 0x140033380
mov rcx, r13
mov rax, qword [rbx + 0x80]
mov qword [rax], rcx
mov rax, qword [rbx + 0x80]
mov rdx, qword [rax]
test rdx, rdx
jne 0x1400333ee
cmp qword [rbx], r13
je 0x1400333e4
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], 0x50
call fcn.140016fe0
mov eax, 0xffff8f00
jmp 0x1400339c6
cmp dword [rbx + 0x18], 3
jge 0x140033408
mov rax, qword [rbx + 0x60]
lea rcx, [0x140018bd0]
mov qword [rax + 0x410], rcx
jmp 0x140033429
cmp dword [rdx + 0x14], 7
lea rax, [0x140018c20]
mov rcx, qword [rbx + 0x60]
lea r8, [0x140018c30]
cmove rax, r8
mov qword [rcx + 0x410], rax
mov r13, qword [rbx + 0x60]
cmp dword [r13 + 0x89c], 0
je 0x1400334d1
test r14, r14
je 0x1400334d1
cmp dword [rbx + 0xc], 0
jne 0x1400334d1
mov rcx, qword [rbx + 0x58]
cmp dword [rcx + 8], ebp
jne 0x1400334d1
cmp dword [rcx + 0xc], 0
jne 0x1400334d1
cmp qword [rcx + 0x10], r14
jne 0x1400334d1
lea rdx, [r15 + 0x23]
add rcx, 0x18
mov r8, r14
call fcn.140065f80
test eax, eax
jne 0x1400334d1
mov rcx, rbx
mov dword [rbx + 8], select
call fcn.1400145c0
mov ebp, eax
test eax, eax
je 0x14003351b
cmp qword [rbx], 0
je 0x1400334ca
mov rcx, qword [rbx + 0x140]
mov dl, 1
mov dword [rbx + 0x148], reloc.WS2_32.dll_setsockopt
mov qword [rbx + 0x150], 2
mov byte [rcx], 2
mov rcx, qword [rbx + 0x140]
mov byte [rcx + 1], 0x50
mov rcx, rbx
call fcn.140016fe0
mov eax, ebp
jmp 0x1400339c6
inc dword [rbx + 8]
xor ecx, ecx
mov dword [r13 + 0x89c], 0
call fcn.140052fb8
mov rcx, qword [rbx + 0x58]
lea rdx, [r15 + 0x23]
mov r8, r14
mov qword [rcx], rax
mov rax, qword [rbx + 0x58]
mov dword [rax + 8], ebp
xor ebp, ebp
mov rax, qword [rbx + 0x58]
mov dword [rax + 0xc], ebp
mov rax, qword [rbx + 0x58]
mov qword [rax + 0x10], r14
mov rcx, qword [rbx + 0x58]
add rcx, 0x18
call fcn.140065900
jmp 0x14003351d
xor ebp, ebp
movsxd r10, dword [rbx + 0x18]
mov r9, qword [rbx]
mov rdx, qword [r9 + r10*8]
cmp dword [rdx], 0
je 0x140033552
mov r11, qword [rbx + 0x58]
mov rcx, rbp
mov r8d, dword [r11 + 8]
nop dword [rax + rax]
mov eax, dword [rcx + rdx]
lea rcx, [rcx + 4]
cmp eax, r8d
je 0x140033590
cmp dword [rdx + rcx], 0
jne 0x140033540
test r9, r9
je 0x1400339c1
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 0x1400339b7
cmp esi, r8d
je 0x1400335a2
mov esi, dword [rdi + 0x30]
add rdi, 0x30
test esi, esi
jne 0x140033590
jmp 0x140033552
test rdi, rdi
je 0x140033552
cmp dword [rdi + 0x20], r10d
jg 0x140033552
cmp dword [rdi + 0x28], r10d
jl 0x140033552
test byte [r9 + 0x150], 2
je 0x1400335c3
test byte [rdi + 0x2c], 4
jne 0x140033552
mov rdi, qword [rsp + 0x50]
add r12, 0x28
mov dword [r11 + 0xc], ebp
test rdi, rdi
je 0x1400338b5
nop dword [rax]
movzx edx, byte [r12 + 2]
movzx eax, byte [r12 + 3]
shl edx, 8
or edx, eax
lea esi, [rdx + 4]
cmp rsi, rdi
ja 0x140033926
movzx ecx, byte [r12]
movzx eax, byte [r12 + 1]
shl ecx, 8
or ecx, eax
cmp ecx, 0x16
ja 0x1400336df
je 0x1400336a7
sub ecx, 1
je 0x14003367a
sub ecx, 3
je 0x14003364c
cmp ecx, 0xc
jne 0x140033898
mov r8d, edx
mov rcx, rbx
lea rdx, [r12 + 4]
call fcn.140032ba0
test eax, eax
jne 0x1400339c6
jmp 0x140033898
mov rax, qword [rbx]
test dword [rax + 0x150], 0x2000
je 0x1400338ee
test edx, edx
jne 0x1400338ee
mov rax, qword [rbx + 0x58]
mov dword [rax + 0x90], 1
jmp 0x140033898
mov r8, qword [rbx]
mov ecx, dword [r8 + 0x150]
shr ecx, 6
and ecx, 7
je 0x14003369f
cmp edx, 1
jne 0x14003369f
movzx eax, byte [r12 + 4]
cmp eax, ecx
je 0x140033898
test r8, r8
jmp 0x1400338f1
mov rax, qword [rbx]
test dword [rax + 0x150], 0x200
je 0x1400338ee
cmp dword [rbx + 0x18], 0
je 0x1400338ee
test edx, edx
jne 0x1400338ee
mov rax, qword [rbx + 0x58]
mov dword [rax + 0x94], 1
jmp 0x140033898
cmp ecx, 0x17
je 0x140033871
cmp ecx, 0x23
je 0x140033846
cmp ecx, 0xff01
jne 0x140033898
cmp dword [rbx + 0xc], 0
mov ebp, 1
mov ecx, edx
je 0x140033831
mov rax, qword [rbx + 0x188]
lea rdx, [rax + rax]
lea rax, [rdx + 1]
cmp rcx, rax
jne 0x1400337f4
movzx eax, byte [r12 + 4]
cmp rax, rdx
jne 0x1400337f4
cmp qword [rbx + 0x188], 0
lea r8, [r12 + 5]
lea r9, [rbx + 0x190]
mov byte [rsp + 0x50], 0
jbe 0x140033787
mov rdx, r9
sub r8, r9
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
movzx ecx, byte [rdx]
inc rdx
xor cl, al
movzx eax, byte [rsp + 0x50]
or cl, al
mov rax, rdx
sub rax, r9
mov byte [rsp + 0x50], cl
cmp rax, qword [rbx + 0x188]
jb 0x140033760
movzx eax, byte [rsp + 0x50]
test al, al
jne 0x1400337f4
mov r8, qword [rbx + 0x188]
lea r9, [rbx + 0x19c]
add r8, 5
mov byte [rsp + 0x50], al
add r8, r12
cmp qword [rbx + 0x188], 0
jbe 0x1400337e7
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 + 0x50]
or cl, al
mov rax, rdx
sub rax, r9
mov byte [rsp + 0x50], cl
cmp rax, qword [rbx + 0x188]
jb 0x1400337c0
movzx eax, byte [rsp + 0x50]
test al, al
je 0x140033898
cmp qword [rbx], 0
je 0x1400339c1
mov rax, qword [rbx + 0x140]
movzx edx, bpl
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 0x1400339b9
cmp rcx, rbp
jne 0x1400337f4
cmp byte [r12 + 4], 0
jne 0x1400337f4
mov dword [rbx + 0x180], ebp
jmp 0x140033898
mov rax, qword [rbx]
test dword [rax + 0x150], 0x4000
je 0x1400338ee
test edx, edx
jne 0x1400338ee
mov rax, qword [rbx + 0x60]
mov dword [rax + 0x8ac], 1
jmp 0x140033898
mov rax, qword [rbx]
test dword [rax + 0x150], 0x400
je 0x1400338ee
cmp dword [rbx + 0x18], 0
je 0x1400338ee
test edx, edx
jne 0x1400338ee
mov rax, qword [rbx + 0x60]
mov dword [rax + 0x8b0], 1
sub rdi, rsi
add r12, rsi
lea rax, [rdi - 1]
cmp rax, 2
jbe 0x1400339c1
test rdi, rdi
jne 0x1400335e0
mov edx, dword [rbx + 0x180]
test edx, edx
jne 0x1400338d0
mov rax, qword [rbx]
mov ecx, dword [rax + 0x150]
and cl, 0x30
cmp cl, 0x20
je 0x1400338e8
cmp dword [rbx + 0xc], 1
jne 0x140033944
cmp edx, 1
jne 0x14003392f
test ebp, ebp
je 0x1400338e8
test edx, edx
jne 0x140033944
cmp ebp, 1
jne 0x140033944
cmp qword [rbx], 0
jmp 0x1400338f1
test rax, rax
je 0x1400339c1
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 0x1400339b7
cmp qword [rbx], 0
jmp 0x1400332c3
test edx, edx
jne 0x140033944
mov rax, qword [rbx]
test byte [rax + 0x150], 0x30
jne 0x1400338e3
test rax, rax
jmp 0x1400338f1
xor eax, eax
jmp 0x1400339c6
test rcx, rcx
je 0x140033981
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 0x1400339c6
test rcx, rcx
je 0x1400339c1
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], r9b
mov dl, 1
mov rcx, rbx
call fcn.140016fe0
mov eax, 0xffff8680
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
add rsp, 0x30
pop r13
pop rdi
pop rbx
ret
push rbx
push rdi
sub rsp, 0xa8
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [rcx + 0x80]
mov rbx, rcx
mov rdi, qword [rax]
cmp dword [rdi + 0x18], 1
jne 0x140033c09
inc dword [rcx + 8]
xor eax, eax
jmp 0x140034161
mov qword [rsp + 0xc8], rbp
mov ebp, 1
mov edx, ebp
call fcn.1400176a0
test eax, eax
jne 0x140034159
cmp dword [rbx + 0xd8], 0x16
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xd8], r12
mov qword [rsp + 0xa0], r13
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x90], r15
je 0x140033ca0
cmp qword [rbx], 0
je 0x140033fd0
mov rax, qword [rbx + 0x140]
movzx edx, bpl
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], 0xa
call fcn.140016fe0
mov eax, 0xffff8900
jmp 0x140034131
mov rcx, qword [rbx + 0xc8]
cmp byte [rcx], 0xc
je 0x140033cc9
mov eax, dword [rdi + 0x18]
sub eax, 5
test eax, 0xfffffffd
jne 0x140033c56
mov dword [rbx + 0x10c], ebp
inc dword [rbx + 8]
xor eax, eax
jmp 0x140034131
mov r9, qword [rbx]
mov r8d, dword [rdi + 0x18]
mov r14, qword [rbx + 0x100]
add r14, rcx
mov eax, dword [r9 + 0x150]
and eax, 2
or rax, rbp
lea rdx, [rcx + rax*4]
lea eax, [r8 - 5]
mov qword [rsp + 0x30], rdx
cmp eax, 3
ja 0x140033d3e
mov rax, r14
sub rax, rdx
cmp rax, 2
jl case.0x140033e82.5
movzx eax, byte [rdx + 1]
movzx ecx, byte [rdx]
add rdx, 2
shl rcx, 8
or rcx, rax
mov rax, r14
sub rax, rdx
cmp rax, rcx
jl case.0x140033e82.5
lea eax, [r8 - 5]
lea rsi, [rcx + rdx]
mov qword [rsp + 0x30], rsi
test eax, 0xfffffffd
je 0x140033d8d
lea eax, [r8 - 2]
test eax, 0xfffffffb
jne 0x14003412c
mov rcx, qword [rbx + 0x60]
lea rdx, [rsp + 0x30]
add rcx, 8
mov r8, r14
call fcn.140031660
test eax, eax
jne 0x1400340e9
mov rax, qword [rbx + 0x60]
mov rdx, qword [rax + 8]
mov rax, qword [rbx]
shl rdx, 3
mov ecx, dword [rax + 0x148]
cmp rdx, rcx
jb 0x1400340e9
mov rsi, qword [rsp + 0x30]
mov r11d, dword [rdi + 0x18]
mov ecx, r11d
xor edi, edi
sub ecx, 2
je 0x140033da5
sub ecx, ebp
je 0x140033da5
mov eax, edi
cmp ecx, ebp
jne 0x140033da7
mov eax, ebp
test eax, eax
je 0x140033cbf
mov r9, qword [rbx]
mov r12, rsi
mov rax, qword [rbx + 0xc8]
mov ecx, dword [r9 + 0x150]
and ecx, 2
or rcx, rbp
lea r13, [rax + rcx*4]
sub r12, r13
cmp dword [rbx + 0x18], 3
jne 0x140033e9c
lea r15, [rsi + 2]
cmp r15, r14
ja case.0x140033e82.5
movzx eax, byte [rsi]
dec eax
cmp eax, 5
ja case.0x140033e82.5
lea r10, [0x140000000]
cdqe
mov r8d, 4
mov ecx, dword [r10 + rax*4 + 0x3417c]
add rcx, r10
jmp rcx
mov edi, 3
jmp 0x140033e3a
mov edx, r8d
mov edi, r8d
jmp 0x140033e3c
mov edi, 5
jmp 0x140033e3a
mov edi, 6
jmp 0x140033e3a
mov edi, 7
jmp 0x140033e3a
mov edi, 8
mov edx, edi
cmp byte [rsi + 1], bpl
jne case.0x140033e82.5
mov rcx, qword [r9 + 0xd0]
test rcx, rcx
je case.0x140033e82.5
mov eax, dword [rcx]
test eax, eax
je case.0x140033e82.5
cmp eax, edx
je 0x140033e69
add rcx, r8
mov eax, dword [rcx]
test eax, eax
jne 0x140033e54
test r9, r9
jmp 0x1400340ed
lea eax, [r11 - 1]
mov rsi, r15
cmp eax, 9
ja case.0x140033e82.5
cdqe
mov ecx, dword [r10 + rax*4 + 0x34194]
add rcx, r10
jmp rcx
mov r8d, ebp
jmp case.0x140033e82.4
mov r8d, 2
cmp ebp, r8d
je case.0x140033ebf.1
test r9, r9
jmp 0x1400340ed
jge 0x14003412c
lea eax, [r11 - 1]
cmp eax, 9
ja case.0x140033ebf.5
cdqe
lea r10, [0x140000000]
mov eax, dword [r10 + rax*4 + 0x341bc]
add rax, r10
jmp rax
mov r8d, 4
mov ebp, r8d
mov edi, r8d
jmp case.0x140033ebf.1
mov ebp, 2
jmp case.0x140033ebf.1
mov ebp, edi
lea rax, [r14 - 2]
cmp rsi, rax
jbe 0x140033f28
test r9, r9
je 0x140034125
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], 0x32
call fcn.140016fe0
mov eax, 0xffff8500
jmp 0x140034131
movzx r15d, byte [rsi]
movzx eax, byte [rsi + 1]
add rsi, 2
shl r15, 8
or r15, rax
sub r14, r15
cmp rsi, r14
jne 0x140033ee1
lea rdx, [rsp + 0x40]
mov rcx, rbx
test edi, edi
jne 0x140033f67
mov r9, r12
lea r14d, [rdi + 0x24]
mov r8, r13
call fcn.14001b650
test eax, eax
je 0x140033f8a
jmp 0x140034131
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x30]
mov r9, r13
mov qword [rsp + 0x20], r12
call fcn.14001b880
test eax, eax
jne 0x140034131
mov r14, qword [rsp + 0x30]
mov rax, qword [rbx + 0x58]
mov rax, qword [rax + 0x68]
test rax, rax
jne 0x140033fda
cmp qword [rbx], rax
je 0x140033fd0
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, 0xffff8900
jmp 0x140034131
add rax, 0x148
je 0x1400340a8
mov rdx, qword [rax]
test rdx, rdx
je 0x1400340a8
mov ecx, ebp
call qword [rdx + 0x18]
test eax, eax
je 0x1400340a8
mov rax, qword [rbx + 0x58]
mov r10, qword [rax + 0x68]
mov r8, qword [r10 + 0x148]
test r8, r8
je 0x140034062
test r14, r14
jne 0x140034029
mov ecx, edi
call fcn.140023c20
test rax, rax
je 0x140034062
movzx r14d, byte [rax + 0x10]
mov rax, qword [r8 + 0x20]
test rax, rax
jne 0x140034039
mov edi, 0xffffc100
jmp 0x140034067
mov rcx, qword [r10 + 0x150]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], r15
mov r9, r14
mov edx, edi
mov qword [rsp + 0x20], rsi
call rax
mov edi, eax
test eax, eax
je 0x140033cbf
jmp 0x140034067
mov edi, 0xffffc180
cmp qword [rbx], 0
je 0x1400340a1
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], 0x33
call fcn.140016fe0
mov eax, edi
jmp 0x140034131
cmp qword [rbx], 0
je 0x1400340e2
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, 0xffff9300
jmp 0x140034131
cmp qword [rbx], 0
je 0x140034125
mov rax, qword [rbx + 0x140]
movzx edx, bpl
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], 0x2f
call fcn.140016fe0
mov eax, 0xffff8500
jmp 0x140034131
mov eax, 0xffff9400
mov r14, qword [rsp + 0x98]
mov r13, qword [rsp + 0xa0]
mov r12, qword [rsp + 0xd8]
mov rsi, qword [rsp + 0xd0]
mov r15, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140042de0
add rsp, 0xa8
pop rdi
pop rbx
ret
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x80]
mov rbx, rcx
mov rdx, qword [rax]
mov eax, dword [rdx + 0x18]
dec eax
cmp eax, 9
ja case.0x140034224.5
lea rcx, [0x140000000]
cdqe
mov edx, dword [rcx + rax*4 + 0x343c8]
add rdx, rcx
jmp rdx
mov edx, 1
mov rcx, rbx
call fcn.1400176a0
test eax, eax
jne 0x1400342ce
cmp dword [rbx + 0xd8], 0x16
je 0x140034289
cmp qword [rbx], 0
je 0x14003427e
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], 0xa
call fcn.140016fe0
mov eax, 0xffff8900
add rsp, 0x20
pop rbx
ret
mov r11, qword [rbx + 0xc8]
xor eax, eax
inc dword [rbx + 8]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rsi
cmp byte [r11], 0xd
mov qword [rsp + 0x40], rdi
sete al
mov dword [rbx + 0x16c], eax
je 0x1400342d4
mov dword [rbx + 0x10c], 1
xor eax, eax
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop rbx
ret
mov r8, qword [rbx]
mov rdi, qword [rbx + 0x100]
mov ecx, dword [r8 + 0x150]
and ecx, 2
mov eax, ecx
or rax, 1
lea rax, [rax*4]
cmp rdi, rax
jbe 0x14003437a
movzx r10d, byte [rax + r11]
lea rbp, [rax + r11]
lea rcx, [rcx*4]
mov rsi, rcx
or rsi, 6
lea rax, [rsi + r10]
cmp rdi, rax
jbe 0x14003437a
mov r9, rcx
or r9, 7
cmp dword [rbx + 0x18], 3
jne 0x14003434f
movzx eax, byte [r10 + rbp + 2]
movzx edx, byte [r10 + rbp + 1]
shl rdx, 8
or rdx, rax
lea rax, [r9 + rdx]
add rax, r10
cmp rdi, rax
jbe 0x14003437a
add r10, 2
add r10, rdx
or rcx, 5
lea rax, [rsi + r11]
add rcx, r11
movzx edx, byte [rcx + r10]
movzx ecx, byte [rax + r10]
shl rdx, 8
or rdx, rcx
add rdx, r9
add rdx, r10
cmp rdi, rdx
je 0x1400342bd
test r8, r8
je 0x1400343b3
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], 0x32
call fcn.140016fe0
mov eax, 0xffff8580
jmp 0x1400342bf
inc dword [rbx + 8]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x80]
mov rdi, rcx
mov rbp, qword [rax]
mov edx, dword [rbp + 0x18]
cmp edx, 2
jne 0x1400344d5
mov rax, qword [rcx + 0x60]
mov esi, 6
mov rdx, qword [rax + 8]
mov rax, qword [rcx + 0x140]
mov qword [rsp + 0x40], rdx
shr rdx, 8
mov byte [rax + 4], dl
mov rcx, qword [rcx + 0x140]
movzx eax, byte [rsp + 0x40]
mov byte [rcx + 5], al
mov r10, qword [rdi + 0x60]
mov r11, qword [rdi]
mov rbx, qword [rdi + 0x140]
lea rcx, [r10 + 0x10]
call fcn.1400242d0
mov r9, qword [rsp + 0x40]
lea rcx, [r10 + 8]
mov rdx, rax
lea r8, [rbx + 6]
mov rax, qword [r11 + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [r11 + 0x30]
mov qword [rsp + 0x20], rax
call fcn.1400319b0
test eax, eax
jne 0x1400346bc
mov r8, qword [rdi]
mov rcx, qword [rdi + 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 0x140034679
jmp 0x1400346bc
mov ecx, edx
sub ecx, 5
je 0x140034518
sub ecx, 1
je 0x140034518
sub ecx, 1
je 0x140034518
cmp ecx, 1
je 0x140034518
cmp edx, 1
jne 0x1400346a9
mov esi, 4
lea r8, [rsp + 0x40]
mov edx, esi
xor r9d, r9d
mov rcx, rdi
call fcn.1400339f0
test eax, eax
je 0x140034679
jmp 0x1400346bc
mov rax, qword [rdi]
cmp qword [rax + 0x108], 0
je 0x1400346b7
cmp qword [rax + 0x118], 0
je 0x1400346b7
mov rcx, qword [rax + 0x120]
mov qword [rsp + 0x40], rcx
lea rax, [rcx + 6]
cmp rax, 0x4000
ja 0x1400346b0
mov rax, qword [rdi + 0x140]
shr rcx, 8
mov byte [rax + 4], cl
mov rcx, qword [rdi + 0x140]
movzx eax, byte [rsp + 0x40]
mov byte [rcx + 5], al
mov rdx, qword [rdi]
mov rcx, qword [rdi + 0x140]
add rcx, 6
mov r8, qword [rdx + 0x120]
mov rdx, qword [rdx + 0x118]
call fcn.140065900
mov rax, qword [rdi]
mov rsi, qword [rax + 0x120]
mov eax, dword [rbp + 0x18]
add rsi, 6
cmp eax, 5
jne 0x1400345b5
mov qword [rsp + 0x40], 0
jmp 0x14003466a
cmp eax, 7
jne 0x1400345db
lea r9d, [rax - 5]
mov rdx, rsi
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.1400339f0
test eax, eax
je 0x14003466a
jmp 0x1400346bc
cmp eax, 6
jne 0x1400346a9
mov rax, qword [rdi + 0x60]
mov rcx, qword [rax + 8]
mov qword [rsp + 0x40], rcx
lea rax, [rcx + 2]
add rax, rsi
cmp rax, 0x4000
ja 0x1400346b0
mov rax, qword [rdi + 0x140]
shr rcx, 8
mov byte [rsi + rax], cl
mov rcx, qword [rdi + 0x140]
movzx eax, byte [rsp + 0x40]
mov byte [rsi + rcx + 1], al
add rsi, 2
mov r10, qword [rdi + 0x60]
mov rbx, qword [rdi + 0x140]
mov r11, qword [rdi]
add rbx, rsi
lea rcx, [r10 + 0x10]
call fcn.1400242d0
mov r9, qword [rsp + 0x40]
lea rcx, [r10 + 8]
mov rdx, rax
mov r8, rbx
mov rax, qword [r11 + 0x38]
mov qword [rsp + 0x28], rax
mov rax, qword [r11 + 0x30]
mov qword [rsp + 0x20], rax
call fcn.1400319b0
test eax, eax
jne 0x1400346bc
mov edx, dword [rbp + 0x18]
mov rcx, rdi
call fcn.140015170
test eax, eax
jne 0x1400346bc
mov rcx, qword [rsp + 0x40]
mov rax, qword [rdi + 0x140]
add rcx, rsi
mov qword [rdi + 0x150], rcx
mov rcx, rdi
mov dword [rdi + 0x148], reloc.WS2_32.dll_shutdown
mov byte [rax], reloc.WS2_32.dll_recv
inc dword [rdi + 8]
call fcn.140016d40
jmp 0x1400346bc
mov eax, 0xffff9400
jmp 0x1400346bc
mov eax, 0xffff9600
jmp 0x1400346bc
mov eax, 0xffff8a00
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r15
sub rsp, 0x80
mov rax, qword [0x140088040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rax, qword [rcx + 0x80]
lea r15, [rsp + 0x48]
xor edi, edi
mov rbx, rcx
mov ebp, edi
mov rsi, qword [rax]
mov qword [rsp + 0x40], rdi
call fcn.1400145c0
test eax, eax
jne 0x14003493d
mov ecx, dword [rsi + 0x18]
lea eax, [rcx - 5]
cmp eax, 3
jbe 0x1400349f9
cmp ecx, 0xb
je 0x1400349f9
cmp dword [rbx + 0x16c], edi
je 0x1400349f9
mov r8, qword [rbx + 0x60]
test r8, r8
je 0x140034765
mov rax, qword [r8 + 0x110]
test rax, rax
jne 0x140034778
mov rax, qword [rbx]
mov rax, qword [rax + 0xb8]
test rax, rax
je 0x1400349f9
cmp qword [rax], rdi
je 0x1400349f9
test r8, r8
je 0x140034792
mov rax, qword [r8 + 0x110]
test rax, rax
jne 0x1400347a5
mov rax, qword [rbx]
mov rax, qword [rax + 0xb8]
test rax, rax
je 0x1400349ef
cmp qword [rax + 8], rdi
je 0x1400349ef
lea rdx, [rsp + 0x48]
mov qword [rsp + 0xa8], r14
mov rcx, rbx
call qword [r8 + 0x418]
cmp dword [rbx + 0x18], 3
je 0x14003483e
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x1400347e1
mov rax, qword [rax + 0x110]
test rax, rax
jne 0x1400347f0
mov rax, qword [rbx]
mov rax, qword [rax + 0xb8]
test rax, rax
je 0x14003480d
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14003480d
mov rax, qword [rcx]
test rax, rax
je 0x14003480d
mov ecx, 4
call qword [rax + 0x18]
mov ecx, eax
jmp 0x14003480f
mov ecx, edi
test ecx, ecx
lea rax, [rsp + 0x58]
lea r15, [rsp + 0x48]
mov r9d, shutdown
cmovne r15, rax
mov eax, ecx
neg eax
mov eax, 0x24
sbb esi, esi
and esi, 4
test ecx, ecx
cmove r9d, eax
jmp 0x1400348c0
mov rax, qword [rbx + 0x80]
mov rdx, qword [rbx + 0x140]
mov rcx, qword [rax]
cmp dword [rcx + 0x14], 7
jne 0x14003485e
mov esi, 7
mov al, 5
jmp 0x140034865
mov esi, 6
mov al, 4
mov byte [rdx + 4], al
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x14003487d
mov rax, qword [rax + 0x110]
test rax, rax
jne 0x14003488c
mov rax, qword [rbx]
mov rax, qword [rax + 0xb8]
test rax, rax
je 0x1400348a7
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400348a7
mov rax, qword [rcx]
test rax, rax
je 0x1400348a7
mov ecx, 1
call qword [rax + 0x18]
jmp 0x1400348a9
mov eax, edi
test eax, eax
mov ebp, 2
mov rax, qword [rbx + 0x140]
mov r9, rdi
setne cl
mov byte [rax + 5], cl
mov rax, qword [rbx + 0x60]
test rax, rax
je 0x1400348d5
mov rax, qword [rax + 0x110]
test rax, rax
jne 0x1400348e4
mov rax, qword [rbx]
mov rax, qword [rax + 0xb8]
test rax, rax
je 0x1400348e8
mov rdi, qword [rax + 8]
mov rax, qword [rbx]
mov r14, qword [rbx + 0x140]
mov r8, qword [rdi]
add r14, 6
add r14, rbp
mov r10, qword [rax + 0x38]
mov r11, qword [rax + 0x30]
test r8, r8
je 0x1400349e5
test r9, r9
jne 0x140034927
mov ecx, esi
call fcn.140023c20
test rax, rax
je 0x1400349e5
movzx r9d, byte [rax + 0x10]
mov rax, qword [r8 + 0x28]
test rax, rax
jne 0x140034962
mov eax, 0xffffc100
mov r14, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140042de0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop rdi
pop rsi
ret
mov qword [rsp + 0x38], r10
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], r11
mov r8, r15
mov qword [rsp + 0x28], rcx
mov edx, esi
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x20], r14
call rax
test eax, eax
jne 0x140034935
mov rax, qword [rbx + 0x140]
mov rcx, rbx
mov rdx, qword [rsp + 0x40]
shr rdx, 8
mov byte [rax + rbp + 4], dl
mov rdx, qword [rbx + 0x140]
movzx eax, byte [rsp + 0x40]
mov byte [rdx + rbp + 5], al
mov rdx, qword [rsp + 0x40]
mov rax, qword [rbx + 0x140]
add rdx, 6
add rdx, rbp
mov dword [rbx + 0x148], reloc.WS2_32.dll_shutdown
mov qword [rbx + 0x150], rdx
mov byte [rax], recv
inc dword [rbx + 8]
call fcn.140016d40
jmp 0x140034935
mov eax, 0xffffc180
jmp 0x140034935
mov eax, 0xffff8a00
jmp 0x14003493d
inc dword [rbx + 8]
xor eax, eax
jmp 0x14003493d
push rbx
sub rsp, 0x30
mov edx, 1
mov rbx, rcx
call fcn.1400176a0
test eax, eax
jne 0x140034bea
cmp dword [rbx + 0xd8], 0x16
je 0x140034a79
cmp qword [rbx], 0
je 0x140034a6e
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], 0xa
call fcn.140016fe0
mov eax, 0xffff8900
add rsp, 0x30
pop rbx
ret
mov r8, qword [rbx + 0xc8]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x28], r14
cmp byte [r8], 4
jne 0x140034c28
mov rdx, qword [rbx]
mov ecx, reloc.WS2_32.dll_select
mov r9, qword [rbx + 0x100]
mov r10d, 0xa
mov eax, dword [rdx + 0x150]
test al, 2
cmove ecx, r10d
cmp r9, rcx
jb 0x140034c28
and eax, 2
or rax, 1
movzx ebp, byte [r8 + rax*4 + 1]
lea r14, [r8 + rax*4]
movzx eax, byte [r8 + rax*4 + 2]
movzx edi, byte [r14 + 4]
shl ebp, 8
or ebp, eax
shl rdi, 8
movzx eax, byte [r14]
shl eax, 0x18
shl ebp, 8
or ebp, eax
movzx eax, byte [r14 + 3]
or ebp, eax
movzx eax, byte [r14 + 5]
or rdi, rax
lea rax, [rcx + rdi]
cmp rax, r9
je 0x140034b14
test rdx, rdx
jmp 0x140034c2c
mov rax, qword [rbx + 0x60]
mov qword [rsp + 0x20], r15
xor r15d, r15d
mov dword [rax + 0x8ac], r15d
mov dword [rbx + 8], select
test rdi, rdi
jne 0x140034b3a
xor eax, eax
jmp 0x140034bd6
mov rax, qword [rbx + 0x58]
mov qword [rsp + 0x48], rsi
mov r8, qword [rax + 0x80]
mov rcx, qword [rax + 0x78]
test r8, r8
je 0x140034b5e
mov rax, qword [fcn.140065540]
xor edx, edx
call rax
mov rcx, qword [rbx + 0x58]
mov rcx, qword [rcx + 0x78]
call fcn.14004f190
mov rax, qword [rbx + 0x58]
mov rdx, rdi
mov ecx, 1
mov qword [rax + 0x78], r15
mov rax, qword [rbx + 0x58]
mov qword [rax + 0x80], r15
call fcn.14004fbcc
mov rsi, rax
test rax, rax
jne 0x140034bf0
cmp qword [rbx], r15
je 0x140034bcc
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], 0x50
call fcn.140016fe0
mov eax, 0xffff8100
mov rsi, qword [rsp + 0x48]
mov r15, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
mov r14, qword [rsp + 0x28]
add rsp, 0x30
pop rbx
ret
lea rdx, [r14 + 6]
mov r8, rdi
mov rcx, rsi
call fcn.140065900
mov rax, qword [rbx + 0x58]
mov qword [rax + 0x78], rsi
mov rax, qword [rbx + 0x58]
mov qword [rax + 0x80], rdi
mov rax, qword [rbx + 0x58]
mov dword [rax + 0x88], ebp
mov rax, qword [rbx + 0x58]
mov qword [rax + 0x10], r15
xor eax, eax
jmp 0x140034bd1
cmp qword [rbx], 0
je 0x140034c62
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], 0x32
call fcn.140016fe0
mov eax, 0xffff9200
jmp 0x140034bdb
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 8], 0x10
mov rbx, rcx
je case.0x140034d15.16
cmp qword [rcx + 0x60], 0
je case.0x140034d15.16
call fcn.1400166b0
mov edi, eax
test eax, eax
jne 0x140034f1c
mov rax, qword [rbx]
test byte [rax + 0x150], 2
je 0x140034ccc
mov rax, qword [rbx + 0x60]
cmp byte [rax + 0x150], 1
jne 0x140034ccc
mov rcx, rbx
call fcn.1400168d0
mov edi, eax
test eax, eax
jne 0x140034f1c
movsxd rcx, dword [rbx + 8]
cmp ecx, 0xc
jne 0x140034cfb
mov rax, qword [rbx + 0x60]
cmp dword [rax + 0x8ac], 0
je 0x140034cfb
mov dword [rbx + 8], reloc.WS2_32.dll_recvfrom
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140034a10
cmp ecx, 0x11
ja case.0x140034d15.16
lea rdx, [0x140000000]
mov ecx, dword [rdx + rcx*4 + 0x34f28]
add rcx, rdx
jmp rcx
mov dword [rbx + 8], 1
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400322c0
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140033050
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140018790
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140033bd0
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400341f0
mov edx, 1
mov rcx, rbx
call fcn.1400176a0
mov edi, eax
test eax, eax
jne 0x140034f0a
cmp dword [rbx + 0xd8], 0x16
je 0x140034db7
mov edi, 0xffff8900
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rbx]
mov eax, dword [rcx + 0x150]
and eax, 2
or rax, 1
shl rax, 2
cmp qword [rbx + 0x100], rax
jne 0x140034e03
mov rax, qword [rbx + 0xc8]
cmp byte [rax], 0xe
jne 0x140034e03
inc dword [rbx + 8]
test byte [rcx + 0x150], 2
je 0x140034df4
mov rcx, rbx
call fcn.140016be0
xor edi, edi
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
test rcx, rcx
je 0x140034e3c
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], 0x32
call fcn.140016fe0
mov edi, 0xffff8480
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140018200
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400343f0
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400346e0
mov rax, qword [rbx + 0x140]
mov rcx, rbx
mov dword [rbx + shutdown8], 0x14
mov qword [rbx + 0x150], 1
mov byte [rax], 1
inc dword [rbx + 8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.140016d40
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140019290
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140018a00
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140019520
mov dword [rbx + 8], select
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rcx, rbx
call fcn.140019120
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov eax, 0xffff8f00
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret