Function at 0x14004c4a0
Capabilities:
Encode data using xor

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rdi
push r12
push r13
lea rbp, [rsp - 0x37]
sub rsp, 0xe0
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x30], rax
cmp dword [rcx + 0x4c], eax
jne 0x14004c4d7
lea rdx, [rbp + 0x67]
call fcn.14004c3e0
mov r12d, dword [rbp + 0x67]
mov r13d, eax
jmp 0x14004c4df
mov r13d, dword [rcx + 0x38]
mov r12d, dword [rcx + 0x3c]
mov edi, dword [rbx + 0x40]
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xc8], r15
mov dword [rbp + 0x67], r12d
cmp edi, 2
jb 0x14004da28
mov rcx, qword [rbx]
mov eax, 0x111
cmp edi, eax
cmova edi, eax
call qword [rbx + 0x18]
movzx r14d, byte [rax - 1]
lea rcx, [rbp - 0x61]
xor edx, edx
mov r15, rbx
mov r9d, edx
mov r11d, edx
lea rsi, [rax - 1]
sub r15, rcx
mov r10d, edx
nop word [rax + rax]
lea rax, [rbp - 0x61]
add rax, r10
mov r8d, dword [r15 + rax + 0x50]
mov dword [rax], r8d
neg r8
cmp r14b, byte [r8 + rsi]
jne 0x14004c5a4
movzx eax, byte [r8 + rsi + 1]
cmp byte [rsi + 1], al
jne 0x14004c5a4
mov edx, 2
cmp edi, edx
jbe 0x14004c582
lea rcx, [rsi + 2]
movzx eax, byte [r8 + rcx]
cmp byte [rcx], al
jne 0x14004c582
inc edx
inc rcx
cmp edx, edi
jb 0x14004c570
mov eax, r9d
mov ecx, r11d
mov dword [rbp + r10 - 0x19], edx
cmp edx, dword [rbp + rax*4 - 0x19]
cmovbe ecx, r9d
mov r9d, ecx
cmp edx, 0x111
je 0x14004c5b6
xor edx, edx
jmp 0x14004c5a9
mov dword [rbp + r10 - 0x19], edx
inc r11d
add r10, 4
cmp r11d, 4
jb 0x14004c540
mov eax, r9d
mov edi, dword [rbp + rax*4 - 0x19]
mov eax, dword [rbx + 0x48]
cmp edi, eax
jb 0x14004c5e1
lea ecx, [rdi - 1]
mov dword [rbx + 0xb8], r9d
add dword [rbx + 0x4c], ecx
lea edx, [rdi - 1]
mov rcx, qword [rbx]
call qword [rbx + 0x28]
mov eax, edi
jmp 0x14004da37
cmp r13d, eax
jb 0x14004c612
mov eax, r12d
lea edx, [r13 - 1]
mov ecx, dword [rbx + rax*4 + 0x784]
lea eax, [r13 - 1]
add dword [rbx + 0x4c], eax
add ecx, 4
mov dword [rbx + 0xb8], ecx
mov rcx, qword [rbx]
call qword [rbx + 0x28]
mov eax, r13d
jmp 0x14004da37
mov eax, dword [rbp - 0x61]
mov rcx, rsi
movzx r15d, byte [rsi]
sub rcx, rax
cmp edi, r13d
mov dword [rsp + 0x24], eax
mov eax, r13d
cmova eax, edi
movzx r14d, byte [rcx]
mov dword [rbp + 0x7f], eax
cmp eax, 2
jae 0x14004c641
cmp r15b, r14b
jne 0x14004da28
movzx eax, word [rbx + 0x44]
mov r10d, r15d
mov word [rbx + 0xf2e4], ax
mov eax, dword [rbp + 0x6f]
mov ecx, dword [rbx + 0xbc]
movzx edx, byte [rsi - 1]
mov edi, dword [rbx + 0x64]
mov esi, dword [rbx + 0x44]
and edi, eax
shl eax, 8
add edx, eax
mov rax, qword [rbx + 0x68]
and edx, dword [rbx + 0x60]
shl edx, cl
lea ecx, [rdx + rdx*2]
lea r11, [rax + rcx*2]
cmp esi, 7
jb 0x14004c698
lea r9, [rbx + 0x588]
mov r8d, r14d
mov edx, r15d
mov rcx, r11
call fcn.14004beb0
mov r9d, eax
jmp 0x14004c6dc
xor eax, eax
mov r9d, eax
bts r10d, 8
nop dword [rax]
nop word [rax + rax]
mov eax, r10d
shr r10d, 1
and eax, 1
neg eax
shr rax, 4
movzx edx, word [r11 + r10*2]
and eax, 0x7f
shr rdx, 4
xor rdx, rax
add r9d, dword [rbx + rdx*4 + 0x588]
cmp r10d, 2
jae 0x14004c6b0
xor r10d, r10d
mov rdx, rsi
shl rdx, 4
add rdx, rdi
movzx eax, word [rbx + rdx*2 + 0x1cd8]
shr rax, 4
mov r8d, dword [rbx + rax*4 + 0x588]
mov dword [rbx + 0xf30c], 0xffffffff
add r8d, r9d
mov dword [rbx + 0xf300], r8d
mov word [rbx + 0xf306], r10w
movzx eax, word [rbx + rdx*2 + 0x1cd8]
xor rax, 0x7f0
shr rax, 4
mov r9d, dword [rbx + rax*4 + 0x588]
movzx eax, word [rbx + rsi*2 + 0x1c78]
xor rax, 0x7f0
mov dword [rbp + 0x77], r9d
shr rax, 4
mov r12d, dword [rbx + rax*4 + 0x588]
add r12d, r9d
cmp r14b, r15b
jne 0x14004c7b3
cmp dword [rbp - 0x19], r10d
jne 0x14004c7b3
movzx eax, word [rbx + rdx*2 + 0x1e58]
movzx ecx, word [rbx + rsi*2 + 0x1c90]
shr rax, 4
shr rcx, 4
mov edx, dword [rbx + rcx*4 + 0x588]
add edx, dword [rbx + rax*4 + 0x588]
mov eax, 0xffffffff
add edx, r12d
cmp edx, r8d
jae 0x14004c7a2
mov dword [rbx + 0xf300], edx
mov eax, r10d
mov dword [rbx + 0xf30c], r10d
cmp dword [rbp + 0x7f], 2
jae 0x14004c7b3
mov dword [rbx + 0xb8], eax
jmp 0x14004da32
mov eax, dword [rsp + 0x24]
lea rsi, [rbp - 0x19]
mov r15d, 1
mov r9d, r10d
mov dword [rbx + 0xf308], r15d
xor r14d, r14d
mov dword [rbx + 0xf2f0], eax
mov eax, dword [rbp - 0x5d]
mov dword [rbx + 0xf2f4], eax
mov dword [rbp - 0x7d], eax
mov eax, dword [rbp - 0x59]
mov dword [rbx + 0xf2f8], eax
mov eax, dword [rbp - 0x55]
mov dword [rbx + 0xf2fc], eax
mov r8d, dword [rsi]
cmp r8d, 2
jb 0x14004c8ed
mov eax, dword [rbx + 0x44]
movzx ecx, word [rbx + rax*2 + 0x1c90]
test r9d, r9d
jne 0x14004c83c
shl rax, 4
add rax, rdi
shr rcx, 4
movzx eax, word [rbx + rax*2 + 0x1e58]
xor rax, 0x7f0
shr rax, 4
mov edx, dword [rbx + rax*4 + 0x588]
add edx, dword [rbx + rcx*4 + 0x588]
jmp 0x14004c8a4
movzx r10d, word [rbx + rax*2 + 0x1ca8]
xor rcx, 0x7f0
shr rcx, 4
mov edx, dword [rbx + rcx*4 + 0x588]
cmp r9d, r15d
jne 0x14004c86a
shr r10, 4
add edx, dword [rbx + r10*4 + 0x588]
jmp 0x14004c8a4
movzx ecx, word [rbx + rax*2 + 0x1cc0]
xor r10, 0x7f0
mov eax, 2
shr rcx, 4
sub eax, r9d
shr r10, 4
shr rax, 4
and eax, 0x7f
xor rcx, rax
mov eax, dword [rbx + rcx*4 + 0x588]
add eax, dword [rbx + r10*4 + 0x588]
add edx, eax
lea r10d, [rdx + r12]
imul r11, rdi, 0x110
nop
mov edx, r8d
lea rax, [r11 + rdx]
add rdx, 0x797
mov eax, dword [rbx + rax*4 + 0xaed8]
shl rdx, 5
add eax, r10d
add rdx, rbx
cmp eax, dword [rdx]
jae 0x14004c8e2
mov dword [rdx], eax
mov dword [rdx + 8], r8d
mov dword [rdx + 0xc], r9d
mov word [rdx + 6], r14w
dec r8d
cmp r8d, 2
jae 0x14004c8b0
jmp 0x14004c8f4
imul r11, rdi, 0x110
inc r9d
add rsi, 4
cmp r9d, 4
jb 0x14004c7f2
mov edx, dword [rbp - 0x19]
inc edx
cmp edx, r13d
ja 0x14004ca51
mov r12d, dword [rbp + 0x77]
xor eax, eax
mov r10d, eax
mov eax, dword [rbx + 0x44]
movzx ecx, word [rbx + rax*2 + 0x1c78]
shr rcx, 4
add r12d, dword [rbx + rcx*4 + 0x588]
lea rcx, [rbx + 0x788]
cmp edx, 2
jae 0x14004c946
mov edx, 2
jmp 0x14004c961
cmp edx, dword [rcx]
jbe 0x14004c961
nop word [rax + rax]
add r10d, 2
cmp edx, dword [rcx + r10*4]
ja 0x14004c950
imul r11, rdi, 0x110
mov r13d, dword [rbp + 0x67]
mov qword [rbp + 0x77], 0x422
nop dword [rax]
mov eax, r10d
mov edi, dword [rcx + rax*4 + 4]
lea r14, [rcx + rax*4]
mov esi, edx
lea rax, [r11 + rsi]
mov r15d, dword [rbx + rax*4 + 0x6ad4]
lea eax, [rdx - 2]
add r15d, r12d
cmp edx, 5
jb 0x14004c999
mov eax, 3
mov r8d, eax
mov r9, rdi
cmp edi, 0x80
jae 0x14004c9bc
shl r8, 7
and r9d, 0x7f
add r8, r9
mov eax, dword [rbx + r8*4 + 0x1458]
jmp 0x14004ca06
cmp edi, 0x100000
mov eax, 6
mov ecx, reloc.WS2_32.dll_send
cmovb ecx, eax
mov rax, r9
shr rax, cl
cmp edi, 0x100000
movzx ecx, byte [rax + rbx + 0x2ad8]
mov eax, 0x43c
cmovb rax, qword [rbp + 0x77]
and r9d, 0xf
add rcx, rax
shl r8, 6
add rcx, r8
mov eax, dword [rbx + rcx*4]
add eax, dword [rbx + r9*4 + 0x1018]
lea rcx, [rsi + 0x797]
shl rcx, 5
lea r8d, [r15 + rax]
add rcx, rbx
cmp r8d, dword [rcx]
jae 0x14004ca2f
lea eax, [rdi + 4]
mov dword [rcx], r8d
mov dword [rcx + 0xc], eax
xor eax, eax
mov word [rcx + 6], ax
mov dword [rcx + 8], edx
cmp edx, dword [r14]
jne 0x14004ca3d
add r10d, 2
cmp r10d, r13d
je 0x14004ca4b
inc edx
lea rcx, [rbx + 0x788]
jmp 0x14004c970
mov r15d, 1
mov esi, dword [rbp + 0x7f]
mov r12d, r15d
mov dword [rsp + 0x20], r15d
cmp esi, 1
je 0x14004d952
mov dword [rbp + 0x7f], esi
lea r15, [0x140000000]
nop
cmp r12d, 0x7c0
jae 0x14004d8f3
mov rcx, qword [rbx]
inc dword [rbx + 0x4c]
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
lea rdx, [rbx + 0x788]
mov dword [rbx + 0x40], eax
call qword [rbx + 0x20]
mov rcx, 0xfffffffffffff878
sub rcx, rbx
add rax, rcx
sar rax, 2
mov qword [rbp - 0x29], rax
test eax, eax
jne 0x14004cab7
xor r9d, r9d
mov r14d, r9d
jmp 0x14004cb20
mov esi, eax
mov r14d, dword [rbx + rsi*4 + 0x780]
mov qword [rbp - 0x31], r14
cmp r14d, dword [rbx + 0x48]
je 0x14004cad3
mov esi, dword [rbp + 0x7f]
xor r9d, r9d
jmp 0x14004cb24
mov edi, dword [rbx + 0x40]
mov eax, 0x111
mov rcx, qword [rbx]
cmp edi, eax
cmova edi, eax
call qword [rbx + 0x18]
mov edx, dword [rbx + rsi*4 + 0x784]
mov ecx, edi
not rdx
lea r8, [rax - 1]
add r14, r8
add rcx, r8
cmp r14, rcx
je 0x14004cb13
movzx eax, byte [rdx + r14]
cmp byte [r14], al
jne 0x14004cb13
inc r14
cmp r14, rcx
jne 0x14004cb01
mov esi, dword [rbp + 0x7f]
sub r14d, r8d
mov rax, qword [rbp - 0x29]
xor r9d, r9d
mov qword [rbp - 0x31], r14
cmp r14d, dword [rbx + 0x48]
jae 0x14004d8ea
mov r13d, dword [rbp + 0x6f]
mov ecx, r12d
mov r14d, r12d
lea rdi, [r14 + 0x797]
shl rdi, 5
add rdi, rbx
inc r13d
mov dword [rbp + 0x6f], r13d
sub ecx, dword [rdi + 8]
cmp dword [rdi + 8], 1
jne 0x14004cb93
mov r15d, dword [rsp + 0x24]
lea rdx, [0x1400aeda8]
mov r8d, dword [rbp - 0x7d]
mov r9d, dword [rbp - 0x59]
mov eax, ecx
shl rax, 5
cmp dword [rdi + 0xc], 0
movzx ecx, word [rax + rbx + 0xf2e4]
lea rax, str._t_t_t_t_t_t_t_v_v_v_v_v
cmovne rax, rdx
movzx esi, byte [rcx + rax]
mov eax, dword [rbp - 0x55]
jmp 0x14004cca5
movzx r8d, word [rdi + 6]
mov edx, dword [rdi + 0xc]
test r8w, r8w
je 0x14004cbe0
sub ecx, r8d
mov esi, 8
cmp r8d, 1
jne 0x14004cbbc
cmp edx, 4
mov esi, r9d
setb sil
add esi, 7
add rcx, 0x797
mov dword [rbp + 0x67], esi
shl rcx, 5
add rcx, rbx
mov r8d, dword [rcx + 0x10]
mov dword [rbp - 0x7d], r8d
cmp edx, 4
jae 0x14004cc82
jmp 0x14004cc13
mov eax, ecx
add rcx, 0x797
shl rcx, 5
shl rax, 5
add rcx, rbx
movzx r8d, word [rax + rbx + 0xf2e4]
cmp edx, 4
jae 0x14004cc75
movzx esi, byte [r8 + r15 + 0xaedc8]
mov r8d, dword [rcx + 0x10]
mov dword [rbp - 0x7d], r8d
mov eax, dword [rcx + 0x14]
test edx, edx
jne 0x14004cc38
mov r9d, dword [rcx + 0x18]
mov r15d, r8d
mov dword [rsp + 0x24], r8d
mov dword [rbp - 0x61], r8d
mov r8d, eax
mov dword [rbp - 0x7d], eax
mov dword [rbp - 0x5d], eax
mov eax, dword [rcx + 0x1c]
jmp 0x14004cc9e
mov dword [rbp - 0x5d], r8d
mov r15d, eax
mov dword [rsp + 0x24], eax
cmp edx, 1
jne 0x14004cc54
mov r9d, dword [rcx + 0x18]
mov dword [rbp - 0x61], eax
mov eax, dword [rcx + 0x1c]
jmp 0x14004cc9e
mov r15d, dword [rcx + rdx*4 + 0x10]
mov r9d, eax
mov dword [rbp - 0x59], eax
mov rax, rdx
xor rax, 1
mov dword [rsp + 0x24], r15d
mov dword [rbp - 0x61], r15d
mov eax, dword [rcx + rax*4 + 0x10]
jmp 0x14004cca2
movzx esi, byte [r8 + r15 + 0xaedb8]
mov r8d, dword [rcx + 0x10]
mov r9d, dword [rcx + 0x14]
lea r15d, [rdx - 3]
mov eax, dword [rcx + 0x18]
mov dword [rsp + 0x24], r15d
mov dword [rbp - 0x61], r15d
mov dword [rbp - 0x7d], r8d
mov dword [rbp - 0x5d], r8d
mov dword [rbp - 0x59], r9d
mov dword [rbp - 0x55], eax
mov word [rdi + 4], si
mov dword [rdi + 0x10], r15d
mov dword [rdi + 0x14], r8d
mov dword [rdi + 0x18], r9d
mov dword [rdi + 0x1c], eax
mov rcx, qword [rbx]
call qword [rbx + 0x18]
mov edx, dword [rdi]
add r14, 0x798
movzx r8d, byte [rax - 1]
mov ecx, r13d
lea r11, [rax - 1]
shl r14, 5
mov eax, r15d
add r14, rbx
mov r10d, esi
mov r12, r11
sub r12, rax
mov edi, esi
mov eax, dword [rbx + 0x64]
mov r15d, dword [r14]
and rcx, rax
shl rdi, 4
movzx r9d, byte [r12]
add rdi, rcx
mov qword [rbp - 0x41], rcx
mov qword [rbp - 0x51], r10
mov qword [rbp - 0x69], r11
movzx ecx, word [rbx + rdi*2 + 0x1cd8]
mov eax, ecx
mov byte [rbp + 0x77], r8b
xor rax, 0x7f0
shr rcx, 4
shr rax, 4
mov byte [rbp + 0x67], r9b
mov qword [rbp - 0x39], rdi
mov r13d, dword [rbx + rcx*4 + 0x588]
mov eax, dword [rbx + rax*4 + 0x588]
add r13d, edx
add eax, edx
mov dword [rbp - 0x71], eax
xor eax, eax
mov dword [rsp + 0x28], eax
mov r10d, eax
cmp r15d, 0x40000000
jae 0x14004cd5b
cmp r9b, r8b
je 0x14004cd60
cmp r13d, r15d
jbe 0x14004cd68
mov r13d, eax
jmp 0x14004ce76
mov ecx, dword [rbx + 0xbc]
mov eax, dword [rbp + 0x6f]
movzx edx, byte [r11 - 1]
shl eax, 8
add edx, eax
movzx r8d, r8b
and edx, dword [rbx + 0x60]
bts r8d, 8
mov rax, qword [rbx + 0x68]
shl edx, cl
lea ecx, [rdx + rdx*2]
lea rdi, [rax + rcx*2]
xor eax, eax
cmp esi, 7
jb 0x14004ce07
mov r11d, eax
mov r10d, 0x100
nop dword [rax]
nop dword [rax + rax]
mov ecx, r8d
add r9d, r9d
shr ecx, 8
mov eax, r10d
and eax, r9d
add eax, r10d
add ecx, eax
movzx edx, word [rdi + rcx*2]
mov ecx, r8d
shr ecx, 7
add r8d, r8d
and ecx, 1
shr rdx, 4
neg ecx
mov eax, r8d
shr rcx, 4
xor eax, r9d
and ecx, 0x7f
not eax
xor rdx, rcx
and r10d, eax
add r11d, dword [rbx + rdx*4 + 0x588]
cmp r8d, 0x10000
jb 0x14004cdb0
mov r10d, dword [rsp + 0x28]
jmp 0x14004ce3f
mov r9d, eax
nop word [rax + rax]
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
shr rax, 4
movzx edx, word [rdi + r8*2]
and eax, 0x7f
shr rdx, 4
xor rdx, rax
add r9d, dword [rbx + rdx*4 + 0x588]
cmp r8d, 2
jae 0x14004ce10
mov r11d, r9d
movzx r9d, byte [rbp + 0x67]
add r13d, r11d
movzx r8d, byte [rbp + 0x77]
mov rdi, qword [rbp - 0x39]
cmp r13d, r15d
jae 0x14004ce76
mov eax, 1
mov dword [r14], r13d
xor ecx, ecx
mov dword [r14 + 8], eax
mov word [r14 + 6], cx
mov r10d, eax
mov dword [r14 + 0xc], 0xffffffff
mov r15d, r13d
mov r11d, dword [rbp - 0x71]
mov edx, 0x7ff
sub edx, dword [rsp + 0x20]
mov eax, esi
mov ecx, edx
movzx eax, word [rbx + rax*2 + 0x1c78]
xor rax, 0x7f0
shr rax, 4
add r11d, dword [rbx + rax*4 + 0x588]
cmp dword [rbx + 0x40], edx
mov dword [rbp - 0x49], r11d
cmovbe ecx, dword [rbx + 0x40]
mov dword [rbp + 0x77], ecx
cmp esi, 7
jae 0x14004cf16
cmp r9b, r8b
jne 0x14004cf16
cmp r11d, r15d
jae 0x14004cf16
cmp dword [r14 + 8], 2
jb 0x14004cecc
cmp dword [r14 + 0xc], 0
je 0x14004cf16
movzx ecx, word [rbx + rdi*2 + 0x1e58]
shr rcx, 4
mov edi, esi
mov edx, dword [rbx + rcx*4 + 0x588]
movzx eax, word [rbx + rdi*2 + 0x1c90]
mov ecx, dword [rbp + 0x77]
shr rax, 4
add edx, dword [rbx + rax*4 + 0x588]
add edx, r11d
cmp edx, r15d
jae 0x14004cf1a
xor eax, eax
mov dword [r14], edx
mov word [r14 + 6], ax
mov r10d, eax
mov qword [r14 + 8], 1
jmp 0x14004cf1a
mov rdi, qword [rbp - 0x51]
cmp ecx, 2
jb 0x14004d8c8
mov edx, dword [rbx + 0x48]
cmp ecx, edx
mov esi, edx
cmovbe esi, ecx
mov dword [rbp - 0x79], esi
test r10d, r10d
jne 0x14004d082
test r13d, r13d
je 0x14004d082
cmp r9b, r8b
je 0x14004d082
mov r15, qword [rbp - 0x69]
cmp ecx, 2
jbe 0x14004d086
movzx eax, byte [r12 + 1]
cmp byte [r15 + 1], al
jne 0x14004d086
movzx eax, byte [r12 + 2]
cmp byte [r15 + 2], al
jne 0x14004d086
inc edx
mov r11d, 3
cmp edx, ecx
cmova edx, ecx
cmp edx, r11d
jbe 0x14004cfa5
lea rcx, [r15 + 3]
sub r12, r15
movzx eax, byte [r12 + rcx]
cmp byte [rcx], al
jne 0x14004cfa5
inc r11d
inc rcx
cmp r11d, edx
jb 0x14004cf91
mov r9d, dword [rbp + 0x6f]
lea rax, [0x1400aeda8]
movzx r8d, byte [rdi + rax]
inc r9d
mov eax, dword [rbx + 0x64]
mov ecx, r8d
mov r12d, dword [rsp + 0x20]
and r9, rax
lea r10d, [r11 + r12]
cmp dword [rbp + 0x7f], r10d
mov r14d, r10d
cmovae r14d, dword [rbp + 0x7f]
dec r11d
shl rcx, 4
add rcx, r9
movzx edx, word [rbx + rcx*2 + 0x1e58]
movzx eax, word [rbx + rcx*2 + 0x1cd8]
xor rdx, 0x7f0
xor rax, 0x7f0
shr rdx, 4
shr rax, 4
imul rcx, r9, 0x110
mov edx, dword [rbx + rdx*4 + 0x588]
add edx, dword [rbx + rax*4 + 0x588]
movzx eax, word [rbx + r8*2 + 0x1c78]
xor rax, 0x7f0
shr rax, 4
add edx, dword [rbx + rax*4 + 0x588]
movzx eax, word [rbx + r8*2 + 0x1c90]
shr rax, 4
add edx, dword [rbx + rax*4 + 0x588]
mov eax, r11d
add rcx, rax
mov eax, r10d
add rax, 0x797
shl rax, 5
add rax, rbx
add edx, dword [rbx + rcx*4 + 0xaed8]
add edx, r13d
cmp edx, dword [rax]
jae 0x14004d08f
xor ecx, ecx
mov dword [rax], edx
mov dword [rax + 0xc], ecx
mov ecx, 1
mov word [rax + 6], cx
mov dword [rax + 8], r11d
jmp 0x14004d08f
mov r15, qword [rbp - 0x69]
mov r12d, dword [rsp + 0x20]
mov r14d, dword [rbp + 0x7f]
xor eax, eax
mov dword [rbp + 0x67], 2
mov edi, eax
mov dword [rbp - 0x75], eax
lea rax, [rbp - 0x61]
mov qword [rbp - 9], rax
nop word [rax + rax]
mov eax, dword [rax]
neg rax
mov qword [rbp - 0x21], rax
lea r11, [rax + r15]
movzx eax, byte [rax + r15]
mov qword [rbp - 1], r11
cmp byte [r15], al
jne 0x14004d47a
movzx eax, byte [r11 + 1]
cmp byte [r15 + 1], al
jne 0x14004d47a
mov r9d, 2
mov dword [rsp + 0x28], r9d
cmp esi, r9d
jbe 0x14004d10b
nop
mov ecx, r9d
movzx eax, byte [r11 + rcx]
cmp byte [r15 + rcx], al
jne 0x14004d106
inc r9d
cmp r9d, esi
jb 0x14004d0f0
mov dword [rsp + 0x28], r9d
lea eax, [r9 + r12]
mov edx, r9d
cmp r14d, eax
cmovae eax, r14d
mov dword [rbp + 0x7f], eax
mov r14d, eax
mov r10d, eax
mov rax, qword [rbp - 0x51]
movzx ecx, word [rbx + rax*2 + 0x1c90]
test edi, edi
jne 0x14004d15e
mov rax, qword [rbp - 0x39]
shr rcx, 4
movzx eax, word [rbx + rax*2 + 0x1e58]
xor rax, 0x7f0
shr rax, 4
mov r8d, dword [rbx + rax*4 + 0x588]
add r8d, dword [rbx + rcx*4 + 0x588]
jmp 0x14004d1ca
movzx r10d, word [rbx + rax*2 + 0x1ca8]
xor rcx, 0x7f0
shr rcx, 4
mov r8d, dword [rbx + rcx*4 + 0x588]
cmp edi, 1
jne 0x14004d18d
shr r10, 4
add r8d, dword [rbx + r10*4 + 0x588]
jmp 0x14004d1c7
movzx ecx, word [rbx + rax*2 + 0x1cc0]
xor r10, 0x7f0
mov eax, 2
shr rcx, 4
sub eax, edi
shr r10, 4
shr rax, 4
and eax, 0x7f
xor rcx, rax
mov eax, dword [rbx + rcx*4 + 0x588]
add eax, dword [rbx + r10*4 + 0x588]
add r8d, eax
mov r10d, r14d
mov r13, qword [rbp - 0x41]
mov r9d, dword [rbp - 0x49]
imul r11, r13, 0x110
add r9d, r8d
mov qword [rbp + 7], r11
xor r15d, r15d
mov dword [rbp - 0x45], r9d
nop word [rax + rax]
mov eax, edx
lea ecx, [rdx + r12]
add rcx, 0x797
add rax, r11
shl rcx, 5
add rcx, rbx
mov r8d, dword [rbx + rax*4 + 0xaed8]
add r8d, r9d
cmp r8d, dword [rcx]
jae 0x14004d225
mov dword [rcx], r8d
mov dword [rcx + 8], edx
mov dword [rcx + 0xc], edi
mov word [rcx + 6], r15w
dec edx
cmp edx, 2
jae 0x14004d1f0
mov r9d, dword [rsp + 0x28]
test edi, edi
jne 0x14004d241
lea edx, [r9 + 1]
mov dword [rbp + 0x67], edx
mov r8d, edx
jmp 0x14004d248
mov edx, dword [rbp + 0x67]
lea r8d, [r9 + 1]
mov esi, dword [rbx + 0x48]
mov r11, qword [rbp - 1]
add esi, r8d
cmp esi, dword [rbp + 0x77]
mov r15, qword [rbp - 0x69]
cmova esi, dword [rbp + 0x77]
mov ecx, r8d
add r8d, 2
cmp r8d, esi
ja 0x14004d475
movzx eax, byte [r11 + rcx]
mov r14d, r10d
cmp byte [r15 + rcx], al
jne 0x14004d475
lea eax, [r8 - 1]
mov ecx, eax
movzx eax, byte [r11 + rax]
cmp byte [rcx + r15], al
jne 0x14004d475
mov ecx, dword [rbp + 0x6f]
xor r10d, r10d
mov rdx, qword [rbp - 0x69]
add ecx, r9d
movzx r11d, byte [r11 + r9]
mov r13d, ecx
and r13d, dword [rbx + 0x64]
mov r14d, r10d
movzx r10d, byte [r15 + r9]
mov edi, 0x100
movzx eax, byte [rdx + r9 - 1]
or r10d, edi
mov r15, qword [rbx + 0x68]
shl ecx, 8
add eax, ecx
mov ecx, dword [rbx + 0xbc]
and eax, dword [rbx + 0x60]
shl eax, cl
lea r12d, [rax + rax*2]
nop dword [rax + rax]
add r11d, r11d
mov eax, edi
and eax, r11d
mov ecx, r10d
shr ecx, 8
add eax, edi
add eax, ecx
mov ecx, r10d
shr ecx, 7
add rax, r12
and ecx, 1
add r10d, r10d
neg ecx
shr rcx, 4
movzx edx, word [r15 + rax*2]
and ecx, 0x7f
shr rdx, 4
mov eax, r10d
xor rdx, rcx
xor eax, r11d
not eax
and edi, eax
add r14d, dword [rbx + rdx*4 + 0x588]
cmp r10d, 0x10000
jb 0x14004d2e0
mov rax, qword [rbp - 0x51]
lea rcx, [0x140000000]
mov r11d, dword [rbp - 0x45]
lea r10d, [r13 + 1]
mov r15, qword [rbp - 0x69]
movzx ecx, byte [rax + rcx + 0xaedc8]
shl rcx, 4
mov eax, r13d
add rcx, rax
mov rax, r9
add rax, qword [rbp + 7]
movzx ecx, word [rbx + rcx*2 + 0x1cd8]
shr rcx, 4
mov edx, dword [rbx + rcx*4 + 0x588]
add edx, dword [rbx + rax*4 + 0xaed8]
mov eax, dword [rbx + 0x64]
add edx, r14d
and r10, rax
add r11d, edx
movzx ecx, word [rbx + r10*2 + 0x1ef8]
movzx eax, word [rbx + r10*2 + 0x1d78]
xor rcx, 0x7f0
xor rax, 0x7f0
shr rcx, 4
shr rax, 4
mov edx, dword [rbx + rcx*4 + 0x588]
add edx, dword [rbx + rax*4 + 0x588]
movzx eax, word [rbx + 0x1c82]
xor rax, 0x7f0
shr rax, 4
add edx, dword [rbx + rax*4 + 0x588]
movzx eax, word [rbx + 0x1c9a]
shr rax, 4
add edx, dword [rbx + rax*4 + 0x588]
add r11d, edx
cmp r8d, esi
jae 0x14004d40b
mov rdx, qword [rbp - 0x21]
mov ecx, r8d
add rcx, r15
movzx eax, byte [rcx + rdx]
cmp byte [rcx], al
jne 0x14004d40b
inc r8d
inc rcx
cmp r8d, esi
jb 0x14004d3f8
mov r12d, dword [rsp + 0x20]
mov eax, 0xffffffff
mov edi, dword [rbp - 0x75]
mov esi, dword [rbp - 0x79]
mov r13, qword [rbp - 0x41]
lea r14d, [r8 + r12]
cmp dword [rbp + 0x7f], r14d
mov edx, r14d
cmovae r14d, dword [rbp + 0x7f]
sub eax, r9d
add r8d, eax
imul rcx, r10, 0x110
mov eax, r8d
add rcx, rax
lea rax, [rdx + 0x797]
mov edx, dword [rbp + 0x67]
shl rax, 5
add rax, rbx
mov ecx, dword [rbx + rcx*4 + 0xaed8]
add ecx, r11d
cmp ecx, dword [rax]
jae 0x14004d481
inc r9w
mov dword [rax], ecx
mov word [rax + 6], r9w
mov dword [rax + 8], r8d
mov dword [rax + 0xc], edi
jmp 0x14004d481
mov esi, dword [rbp - 0x79]
jmp 0x14004d481
mov r13, qword [rbp - 0x41]
mov edx, dword [rbp + 0x67]
mov rax, qword [rbp - 9]
inc edi
add rax, 4
mov dword [rbp - 0x75], edi
mov qword [rbp - 9], rax
cmp edi, 4
jb 0x14004d0b0
mov rcx, qword [rbp - 0x31]
lea r9, [rbx + 0x788]
xor r11d, r11d
mov dword [rbp + 0x7f], r14d
cmp ecx, esi
jbe 0x14004d4d9
mov ecx, esi
mov r8d, r11d
cmp esi, dword [r9]
jbe 0x14004d4ca
nop dword [rax + rax]
add r8d, 2
cmp esi, dword [r9 + r8*4]
ja 0x14004d4c0
mov eax, r8d
add r8d, 2
mov qword [rbp - 0x29], r8
mov dword [r9 + rax*4], esi
cmp ecx, edx
jb 0x14004d8cd
mov rax, qword [rbp - 0x51]
mov edx, dword [rbp - 0x71]
mov edi, dword [rbp + 0x67]
movzx eax, word [rbx + rax*2 + 0x1c78]
shr rax, 4
add edx, dword [rbx + rax*4 + 0x588]
lea eax, [rcx + r12]
cmp r14d, eax
mov dword [rbp - 0x75], edx
mov r12d, r11d
cmovae eax, r14d
mov dword [rbp + 0x7f], eax
cmp edi, dword [r9]
jbe 0x14004d52a
nop word [rax + rax]
add r12d, 2
cmp edi, dword [r9 + r12*4]
ja 0x14004d520
mov r14d, dword [rsp + 0x20]
mov ecx, reloc.WS2_32.dll_send
mov eax, r12d
mov r11d, dword [r9 + rax*4 + 4]
mov eax, 6
cmp r11d, 0x100000
mov dword [rbp - 0x71], r11d
mov r8d, r11d
cmovb ecx, eax
mov eax, r11d
shr rax, cl
mov ecx, recv
cmp r11d, 0x100000
movzx r9d, byte [rax + rbx + 0x2ad8]
mov eax, 0x26
cmovb eax, ecx
add edi, 3
add r9d, eax
imul rax, r13, 0x110
add r14d, 0xfffffffd
mov qword [rbp - 0x21], rax
mov dword [rbp + 0x67], r14d
nop
lea r13d, [rdi - 3]
mov r15d, r13d
add rax, r15
mov r10d, dword [rbx + rax*4 + 0x6ad4]
lea eax, [r13 - 2]
add r10d, edx
mov edx, 3
cmp eax, edx
cmovb edx, eax
cmp r11d, 0x80
jae 0x14004d5d2
mov rax, r8
shl rdx, 7
and eax, 0x7f
add rdx, rax
mov ecx, dword [rbx + rdx*4 + 0x1458]
jmp 0x14004d5f0
shl rdx, 6
mov eax, r9d
add rdx, rax
mov rax, r8
and eax, 0xf
mov ecx, dword [rbx + rdx*4 + 0x1058]
add ecx, dword [rbx + rax*4 + 0x1018]
lea esi, [r10 + rcx]
lea ecx, [r14 + rdi]
add rcx, 0x797
shl rcx, 5
add rcx, rbx
cmp esi, dword [rcx]
jae 0x14004d61d
lea eax, [r11 + 4]
mov dword [rcx], esi
mov dword [rcx + 0xc], eax
xor eax, eax
mov word [rcx + 6], ax
mov dword [rcx + 8], r13d
mov eax, r12d
lea rcx, [rbx + 0x788]
cmp r13d, dword [rcx + rax*4]
jne 0x14004d8ba
mov r11, qword [rbp - 0x69]
mov r10d, edi
mov edx, dword [rbx + 0x48]
mov r9, r11
add edx, 0xfffffffe
sub r9, r8
add edx, edi
cmp edx, dword [rbp + 0x77]
cmova edx, dword [rbp + 0x77]
cmp edi, edx
ja 0x14004d86a
lea eax, [rdi - 2]
mov ecx, eax
movzx eax, byte [r9 + rax - 1]
cmp byte [rcx + r11], al
jne 0x14004d863
lea eax, [rdi - 1]
mov ecx, eax
movzx eax, byte [r9 + rax - 1]
cmp byte [rcx + r11], al
jne 0x14004d863
cmp edi, edx
jae 0x14004d6a4
mov ecx, edi
lea r8, [r9 - 1]
add rcx, r11
sub r8, r11
nop
movzx eax, byte [r8 + rcx]
cmp byte [rcx], al
jne 0x14004d6a4
inc r10d
inc rcx
cmp r10d, edx
jb 0x14004d690
mov edx, dword [rbp + 0x6f]
lea r8, [0x140000000]
mov rcx, qword [rbp - 0x51]
add edx, 0xfffffffd
movzx r9d, byte [r9 + r13 - 1]
add edx, edi
mov r14, qword [rbx + 0x68]
mov eax, edx
and eax, dword [rbx + 0x64]
mov r11d, 0x100
movzx ecx, byte [rcx + r8 + 0xaedb8]
mov dword [rbp - 0x45], eax
shl rcx, 4
add rcx, rax
shl edx, 8
mov dword [rbp - 0x49], r10d
sub r10d, r13d
movzx eax, word [rbx + rcx*2 + 0x1cd8]
mov ecx, dword [rbx + 0xbc]
shr rax, 4
mov eax, dword [rbx + rax*4 + 0x588]
add eax, esi
mov dword [rsp + 0x28], eax
xor eax, eax
mov esi, eax
mov rax, qword [rbp - 0x69]
movzx r8d, byte [r13 + rax]
movzx eax, byte [r13 + rax - 1]
or r8d, r11d
add eax, edx
and eax, dword [rbx + 0x60]
shl eax, cl
lea r15d, [rax + rax*2]
nop word [rax + rax]
add r9d, r9d
mov eax, r11d
and eax, r9d
mov ecx, r8d
shr ecx, 8
add eax, r11d
add eax, ecx
mov ecx, r8d
shr ecx, 7
add rax, r15
and ecx, 1
add r8d, r8d
neg ecx
shr rcx, 4
movzx edx, word [r14 + rax*2]
and ecx, 0x7f
shr rdx, 4
mov eax, r8d
xor rdx, rcx
xor eax, r9d
not eax
and r11d, eax
add esi, dword [rbx + rdx*4 + 0x588]
cmp r8d, 0x10000
jb 0x14004d730
mov r8d, dword [rbp - 0x45]
mov eax, dword [rbx + 0x64]
inc r8d
mov r9d, dword [rbp - 0x49]
and r8, rax
add r9d, dword [rsp + 0x20]
cmp dword [rbp + 0x7f], r9d
mov r14d, r9d
cmovae r14d, dword [rbp + 0x7f]
dec r10d
movzx ecx, word [rbx + r8*2 + 0x1ed8]
movzx eax, word [rbx + r8*2 + 0x1d58]
xor rcx, 0x7f0
xor rax, 0x7f0
shr rcx, 4
shr rax, 4
mov edx, r10d
mov dword [rbp + 0x7f], r14d
mov r11d, dword [rbx + rcx*4 + 0x588]
add r11d, dword [rbx + rax*4 + 0x588]
movzx eax, word [rbx + 0x1c80]
xor rax, 0x7f0
mov ecx, r9d
shr rax, 4
add rcx, 0x797
shl rcx, 5
add rcx, rbx
add r11d, dword [rbx + rax*4 + 0x588]
movzx eax, word [rbx + 0x1c98]
shr rax, 4
add r11d, dword [rbx + rax*4 + 0x588]
imul rax, r8, 0x110
add rax, rdx
add r11d, dword [rbx + rax*4 + 0xaed8]
add r11d, esi
add r11d, dword [rsp + 0x28]
cmp r11d, dword [rcx]
jae 0x14004d85f
mov eax, dword [rbp - 0x71]
inc r13w
add eax, 4
mov dword [rcx], r11d
mov dword [rcx + 0xc], eax
mov dword [rcx + 8], r10d
mov word [rcx + 6], r13w
mov dword [rbp + 0x7f], r14d
mov r14d, dword [rbp + 0x67]
lea rcx, [rbx + 0x788]
add r12d, 2
cmp r12d, dword [rbp - 0x29]
je 0x14004d8c8
mov r11d, dword [rcx + r12*4 + 4]
mov eax, 6
cmp r11d, 0x100000
mov dword [rbp - 0x71], r11d
mov ecx, reloc.WS2_32.dll_send
mov r8d, r11d
cmovb ecx, eax
mov eax, r11d
shr rax, cl
mov ecx, recv
cmp r11d, 0x100000
movzx r9d, byte [rax + rbx + 0x2ad8]
mov eax, 0x26
cmovb eax, ecx
add r9d, eax
mov rax, qword [rbp - 0x21]
inc edi
mov edx, dword [rbp - 0x75]
jmp 0x14004d590
mov r12d, dword [rsp + 0x20]
mov esi, dword [rbp + 0x7f]
lea r15, [0x140000000]
inc r12d
mov dword [rsp + 0x20], r12d
cmp r12d, esi
jne 0x14004ca70
jmp 0x14004d94c
mov dword [rbx + 0x3c], eax
mov dword [rbx + 0x38], r14d
jmp 0x14004d94c
mov eax, r12d
lea edx, [r12 + 1]
add rax, 0x797
mov edi, r12d
shl rax, 5
mov r8d, dword [rax + rbx]
cmp edx, esi
ja 0x14004d939
mov eax, edx
add rax, 0x797
shl rax, 5
mov ecx, dword [rax + rbx]
cmp r8d, ecx
mov eax, edx
cmovb eax, edi
inc edx
cmp r8d, ecx
mov edi, eax
cmovb ecx, r8d
mov r8d, ecx
cmp edx, esi
jbe 0x14004d910
mov edx, edi
sub edx, r12d
je 0x14004d949
add dword [rbx + 0x4c], edx
mov rcx, qword [rbx]
call qword [rbx + 0x28]
mov r12d, edi
mov r15d, 1
mov eax, esi
add rax, 0x797
shl rax, 5
mov dword [rax + rbx], 0x40000000
add esi, 0xffffffff
jne 0x14004d952
lea ecx, [r12 + 1]
xor r10d, r10d
mov dword [rbx + 0x34], ecx
nop word [rax + rax]
mov eax, r12d
shl rax, 5
mov edx, dword [rax + rbx + 0xf2e8]
sub r12d, edx
movzx r8d, word [rax + rbx + 0xf2e6]
mov r9d, dword [rax + rbx + 0xf2ec]
test r8d, r8d
je 0x14004d9f9
dec ecx
sub r12d, r8d
mov eax, ecx
shl rax, 5
mov dword [rax + rbx + 0xf2e8], edx
mov edx, r8d
cmp r8d, 1
jne 0x14004d9d2
mov dword [rax + rbx + 0xf2ec], r9d
mov r9d, 0xffffffff
jmp 0x14004d9f9
mov dword [rax + rbx + 0xf2ec], r10d
lea edx, [r8 - 1]
dec ecx
mov eax, ecx
shl rax, 5
mov dword [rax + rbx + 0xf2ec], 0xffffffff
mov dword [rax + rbx + 0xf2e8], r15d
test r12d, r12d
je 0x14004da1a
dec ecx
mov eax, ecx
shl rax, 5
mov dword [rax + rbx + 0xf2ec], r9d
mov dword [rax + rbx + 0xf2e8], edx
jmp 0x14004d980
mov dword [rbx + 0xb8], r9d
mov eax, edx
mov dword [rbx + 0x30], ecx
jmp 0x14004da37
mov dword [rbx + 0xb8], 0xffffffff
mov eax, 1
mov r15, qword [rsp + 0xc8]
mov r14, qword [rsp + 0xd0]
mov rsi, qword [rsp + 0xd8]
add rsp, 0xe0
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret