Function at 0x1337c0e87d60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov r14, rdx
mov rsi, rcx
mov rax, qword gs:[0x58]
mov rdi, qword [rax]
mov r12d, reloc.WS2_32.dll_recv
xor r15d, r15d
mov eax, dword [r12 + rdi]
cmp dword [0x1337c12d32d8], eax
jg 0x1337c0e88728
cmp dword [0x1337c12d32dc], 0xffffffff
je 0x1337c0e88705
mov eax, dword [r12 + rdi]
cmp dword [0x1337c12d32e0], eax
jg 0x1337c0e887f1
cmp dword [0x1337c12d32d4], 0xffffffff
je 0x1337c0e88705
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1337c0e8a1a0
nop
cmp byte [rsp + 0x78], 0
jne 0x1337c0e87df2
xor bl, bl
jmp 0x1337c0e886ef
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rax, qword [rsp + 0x58]
mov qword [rbp - 0x60], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x60]
call fcn.1337c0e83b80
test eax, eax
js 0x1337c0e87e24
mov bl, 1
jmp 0x1337c0e886ef
cmp eax, 0xc0000043
je 0x1337c0e87e32
xor bl, bl
jmp 0x1337c0e886ef
mov r12d, setsockopt
cmp byte [r12 + rdi], 0
jne 0x1337c0e87e44
call fcn.1337c102dde0
mov r13d, 0x140
cmp qword [rdi + r13], 0
jne 0x1337c0e87f5f
cmp byte [r12 + rdi], 0
jne 0x1337c0e87e61
call fcn.1337c102dde0
mov esi, 0x138
mov rsi, qword [rsi + rdi]
mov rcx, qword [rsi + 0x110]
mov rbx, qword [rcx + 0x10]
test rbx, rbx
jne 0x1337c0e87eb5
xor r9d, r9d
xor r8d, r8d
mov edx, 0x108
mov rcx, rsi
call fcn.1337c0f358e0
mov rbx, rax
test rax, rax
jne 0x1337c0e87ebf
xor r8d, r8d
mov edx, 0x108
mov rcx, rsi
call fcn.1337c0f34760
mov rbx, rax
test rax, rax
jne 0x1337c0e87ebf
mov rbx, r15
jmp 0x1337c0e87f41
inc dword [rcx + 0x18]
mov rax, qword [rbx]
mov qword [rcx + 0x10], rax
lea rcx, [rbx + 8]
xor edx, edx
mov r8d, 0x100
call fcn.1337c105bf90
mov qword [rbx], r15
lea rcx, [rbx + 8]
mov dword [rbp + 0xc8], 0
lea rdx, [rbp + 0xc8]
call fcn.1337c0e8e260
lea rcx, [rbx + 0x48]
mov dword [rbp + 0xc8], 0
lea rdx, [rbp + 0xc8]
call fcn.1337c0e55a50
lea rcx, [rbx + 0x88]
mov dword [rbp + 0xc8], 0
lea rdx, [rbp + 0xc8]
call fcn.1337c0e8e260
lea rcx, [rbx + 0xc8]
mov dword [rbp + 0xc8], 0
lea rdx, [rbp + 0xc8]
call fcn.1337c0e8bc80
cmp byte [r12 + rdi], 0
jne 0x1337c0e87f4d
call fcn.1337c102dde0
mov rdx, qword [rdi + r13]
mov qword [rdi + r13], rbx
test rdx, rdx
je 0x1337c0e87f5f
call fcn.1337c0e8be70
cmp byte [r12 + rdi], 0
jne 0x1337c0e87f6b
call fcn.1337c102dde0
mov rax, qword [rdi + r13]
mov qword [rsp + 0x40], rax
cmp qword [rax], 0
jne 0x1337c0e87fc9
mov edx, 0x40
lea rcx, [rbp + 0xc8]
call fcn.1337c0e860a0
mov r8, qword [rsp + 0x40]
mov rdx, qword [rax]
mov qword [rax], r15
mov rcx, qword [r8]
mov qword [r8], rdx
test rcx, rcx
je 0x1337c0e87fa6
call fcn.1337c0f03f60
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x1337c0e87fb7
call fcn.1337c0f03f60
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
jne 0x1337c0e87fc9
xor bl, bl
jmp 0x1337c0e886ef
lea rcx, [rbp - 0x80]
call fcn.1337c0ea2240
nop
mov rcx, qword [rbp - 0x80]
cmp qword [rcx], 0
je 0x1337c0e886e2
cmp qword [rcx + 8], 0
je 0x1337c0e886e2
cmp qword [rcx + 0x10], 0
je 0x1337c0e886e2
cmp dword [rcx + 0x28], 0xffffffff
je 0x1337c0e886e2
cmp dword [rcx + 0x2c], 0xffffffff
je 0x1337c0e886e2
lea rax, [rbp - 0x80]
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0xc0]
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x38], rax
mov dword [rbp + 0xc8], 0
lea rdx, [rbp + 0xc8]
lea rcx, [rbp - 0x20]
call fcn.1337c0e8bc80
nop
mov rax, qword [rsp + 0x40]
mov rdi, qword [rax]
mov qword [rbp - 0x60], rdi
mov r9d, 0xbf41bdf
mov dword [rbp + 0xc8], r9d
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x50], rax
mov r8d, r15d
test rax, rax
je 0x1337c0e880b8
mov rcx, r15
nop
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rax, qword [rsp + 0x58]
movzx edx, word [rax + rcx*2]
lea eax, [rdx - 0x41]
movzx ecx, dx
or cx, 0x20
cmp ax, 0x19
cmova cx, dx
movzx eax, cx
xor eax, r9d
imul r9d, eax, 0x1000193
inc r8d
mov ecx, r8d
cmp rcx, qword [rsp + 0x68]
jb 0x1337c0e88070
mov dword [rbp + 0xc8], r9d
mov r12, r15
cmp qword [rdi], r15
jbe 0x1337c0e886a1
movabs rcx, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
mov r13, qword [rbp + 0xc0]
nop
lea rax, [r12 + r12*4]
lea rdi, [rdi + rax*8]
add rdi, 0x10
test r14, r14
je 0x1337c0e880fd
movzx eax, byte [r14]
test al, al
jne 0x1337c0e886a1
movzx eax, word [rdi + 0x1e]
cmp eax, dword [0x1337c12d32dc]
jne 0x1337c0e88691
mov r15, qword [rdi + 8]
mov rax, qword gs:[0x40]
cmp r15, rax
je 0x1337c0e88691
cmp r15, 4
je 0x1337c0e88691
movzx r8d, byte [rdi]
xor r8, rcx
imul r8, rbx
movzx eax, byte [rdi + 1]
xor r8, rax
imul r8, rbx
movzx eax, byte [rdi + 2]
xor r8, rax
imul r8, rbx
movzx eax, byte [rdi + 3]
xor r8, rax
imul r8, rbx
movzx eax, byte [rdi + 4]
xor r8, rax
imul r8, rbx
movzx eax, byte [rdi + 5]
xor r8, rax
imul r8, rbx
movzx eax, byte [rdi + 6]
xor r8, rax
imul r8, rbx
movzx eax, byte [rdi + 7]
xor r8, rax
imul r8, rbx
mov rdx, r8
and rdx, qword [rbp + 0x10]
add rdx, rdx
mov rax, qword [rbp - 8]
mov rcx, qword [rax + rdx*8 + 8]
mov r9, qword [rbp - 0x18]
cmp rcx, r9
je 0x1337c0e881c1
mov rdx, qword [rax + rdx*8]
mov rax, qword [rdi]
cmp rax, qword [rcx + 0x10]
je 0x1337c0e881c3
nop
cmp rcx, rdx
je 0x1337c0e881c1
mov rcx, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
jne 0x1337c0e881b0
jmp 0x1337c0e881c3
xor ecx, ecx
mov rax, r9
test rcx, rcx
cmovne rax, rcx
cmp rax, r9
jne 0x1337c0e88687
mov r10, qword [rsp + 0x40]
movzx r11d, byte [rdi + 8]
movabs rax, 0xcbf29ce484222325
xor r11, rax
imul r11, rbx
movzx eax, byte [rdi + 9]
xor r11, rax
imul r11, rbx
movzx eax, byte [rdi + 0xa]
xor r11, rax
imul r11, rbx
movzx eax, byte [rdi + 0xb]
xor r11, rax
imul r11, rbx
movzx eax, byte [rdi + 0xc]
xor r11, rax
imul r11, rbx
movzx eax, byte [rdi + 0xd]
xor r11, rax
imul r11, rbx
movzx eax, byte [rdi + 0xe]
xor r11, rax
imul r11, rbx
movzx eax, byte [rdi + 0xf]
xor r11, rax
imul r11, rbx
mov r9, qword [r10 + 0xf8]
and r9, r11
add r9, r9
mov rcx, qword [r10 + 0xe0]
mov rdx, qword [rcx + r9*8 + 8]
mov rax, qword [r10 + 0xd0]
cmp rdx, rax
je 0x1337c0e88282
mov r9, qword [rcx + r9*8]
mov rcx, qword [rdi + 8]
cmp rcx, qword [rdx + 0x10]
je 0x1337c0e88284
cmp rdx, r9
je 0x1337c0e88282
mov rdx, qword [rdx + 8]
cmp rcx, qword [rdx + 0x10]
jne 0x1337c0e88271
jmp 0x1337c0e88284
xor edx, edx
mov rcx, rax
test rdx, rdx
cmovne rcx, rdx
cmp rcx, rax
jne 0x1337c0e88687
xor r14b, r14b
mov qword [rsp + 0x48], 0
mov rcx, qword [r10 + 0xb8]
and rcx, r8
add rcx, rcx
mov rdx, qword [r10 + 0xa0]
mov rax, qword [rdx + rcx*8 + 8]
mov r8, qword [r10 + 0x90]
cmp rax, r8
je 0x1337c0e882e6
mov rdx, qword [rdx + rcx*8]
mov rcx, qword [rdi]
cmp rcx, qword [rax + 0x10]
je 0x1337c0e882e8
cmp rax, rdx
je 0x1337c0e882e6
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1337c0e882d5
jmp 0x1337c0e882e8
xor eax, eax
test rax, rax
je 0x1337c0e8830e
cmp rax, r8
je 0x1337c0e8830e
mov rcx, qword [rax + 0x18]
lea r13, [rcx + 0x10]
cmp qword [rcx + 0x28], 7
jbe 0x1337c0e88305
mov r13, qword [rcx + 0x10]
mov rbx, qword [rcx + 0x20]
mov r14b, 1
jmp 0x1337c0e88312
mov rbx, qword [rbp - 0x40]
mov rcx, qword [r10 + 0x38]
and rcx, r11
add rcx, rcx
mov rdx, qword [r10 + 0x20]
mov rax, qword [rdx + rcx*8 + 8]
mov r8, qword [r10 + 0x10]
cmp rax, r8
je 0x1337c0e88351
mov rdx, qword [rdx + rcx*8]
mov rcx, qword [rdi + 8]
cmp rcx, qword [rax + 0x10]
je 0x1337c0e88353
nop dword [rax]
cmp rax, rdx
je 0x1337c0e88351
mov rax, qword [rax + 8]
cmp rcx, qword [rax + 0x10]
jne 0x1337c0e88340
jmp 0x1337c0e88353
xor eax, eax
test rax, rax
je 0x1337c0e88368
cmp rax, r8
je 0x1337c0e88368
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x48], rcx
jmp 0x1337c0e8839a
lea r8, [rsp + 0x48]
mov rdx, r15
mov ecx, 0x40
call fcn.1337c0e84450
mov rcx, qword [rsp + 0x40]
add rcx, 8
lea r9, [rsp + 0x48]
lea r8, [rdi + 8]
lea rdx, [rbp + 0x20]
call fcn.1337c0e8ce90
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1337c0e88676
xor r15d, r15d
test r14b, r14b
jne 0x1337c0e88508
mov qword [rsp + 0x50], r15
mov rbx, qword [rdi + 0x10]
call fcn.1337c0e7c6d0
mov rdx, qword [rax + 0x30]
movabs rsi, 0x14cdce7eb9f1c24f
and rdx, rsi
add rdx, rdx
mov r8, qword [rax + 0x18]
mov rcx, qword [r8 + rdx*8 + 8]
mov r9, qword [rax + 8]
cmp rcx, r9
je 0x1337c0e88404
mov rax, qword [r8 + rdx*8]
cmp dword [rcx + 0x10], 0x29b18785
je 0x1337c0e88407
cmp rcx, rax
je 0x1337c0e88404
mov rcx, qword [rcx + 8]
cmp dword [rcx + 0x10], 0x29b18785
jne 0x1337c0e883f0
jmp 0x1337c0e88407
mov rcx, r15
test rcx, rcx
je 0x1337c0e88676
cmp rcx, r9
je 0x1337c0e88676
mov ecx, dword [rcx + 0x14]
call fcn.1337c0f3e9a0
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x50]
mov r8, 0xffffffffffffffff
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call fcn.1337c0f3e9b0
test eax, eax
js 0x1337c0e88676
mov r9, rdi
mov r8, qword [rsp + 0x50]
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x48]
call fcn.1337c0e88860
nop
mov rcx, qword [rsp + 0x50]
call fcn.1337c0e84100
mov rax, qword [rbp - 0x78]
test rax, rax
jne 0x1337c0e8847f
jmp 0x1337c0e88676
mov rdx, qword [rax + 8]
test rdx, rdx
jne 0x1337c0e88495
mov rcx, rax
call fcn.1337c0f03f60
jmp 0x1337c0e88676
mov rbx, qword [rsp + 0x40]
movzx r8d, word [rax]
add r8, rdx
lea rcx, [rbp + 0x50]
call fcn.1337c0e7db00
nop
mov r8, rax
lea rdx, [rbp - 0x30]
lea rcx, [rbx + 0x48]
call fcn.1337c0e8d1c0
nop
lea rcx, [rbp + 0x50]
call fcn.1337c0e6b8e0
mov rcx, qword [rsp + 0x40]
add rcx, 0x88
lea r9, [rbp - 0x30]
mov r8, rdi
lea rdx, [rbp + 0x30]
call fcn.1337c0e8d520
mov rax, qword [rbp - 0x30]
lea r13, [rax + 0x10]
cmp qword [rax + 0x28], 7
jbe 0x1337c0e884f4
mov r13, qword [rax + 0x10]
mov rbx, qword [rax + 0x20]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1337c0e88512
call fcn.1337c0f03f60
jmp 0x1337c0e88512
movabs rsi, 0x14cdce7eb9f1c24f
mov eax, dword [rbp - 0x50]
cmp rax, rbx
jne 0x1337c0e88666
mov r9d, 0xbf41bdf
test ebx, ebx
je 0x1337c0e8855d
mov r8, r13
mov r10d, ebx
nop
movzx edx, word [r8]
lea eax, [rdx - 0x41]
movzx ecx, dx
or cx, 0x20
cmp ax, 0x19
cmova cx, dx
movzx eax, cx
xor eax, r9d
imul r9d, eax, 0x1000193
lea r8, [r8 + 2]
sub r10, 1
jne 0x1337c0e88530
cmp dword [rbp + 0xc8], r9d
jne 0x1337c0e88666
mov qword [rsp + 0x50], r15
mov rbx, qword [rdi + 0x10]
call fcn.1337c0e7c6d0
mov rdx, qword [rax + 0x30]
and rdx, rsi
add rdx, rdx
mov r8, qword [rax + 0x18]
mov rcx, qword [r8 + rdx*8 + 8]
mov r9, qword [rax + 8]
cmp rcx, r9
je 0x1337c0e885b5
mov rax, qword [r8 + rdx*8]
cmp dword [rcx + 0x10], 0x29b18785
je 0x1337c0e885b8
cmp rcx, rax
je 0x1337c0e885b5
mov rcx, qword [rcx + 8]
cmp dword [rcx + 0x10], 0x29b18785
jne 0x1337c0e885a1
jmp 0x1337c0e885b8
mov rcx, r15
test rcx, rcx
je 0x1337c0e88676
cmp rcx, r9
je 0x1337c0e88676
mov ecx, dword [rcx + 0x14]
call fcn.1337c0f3e9a0
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x50]
mov r8, 0xffffffffffffffff
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call fcn.1337c0f3e9b0
test eax, eax
js 0x1337c0e88676
mov rcx, qword [rsp + 0x50]
call fcn.1337c0e84100
cmp byte [rsp + 0x78], 0
je 0x1337c0e88722
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rax, qword [rsp + 0x58]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x70]
call fcn.1337c0e83b80
test eax, eax
jns 0x1337c0e886db
cmp eax, 0xc0000043
je 0x1337c0e88676
xor bl, bl
lea rcx, [rbp - 8]
call fcn.1337c0e55860
lea rcx, [rbp - 0x18]
call fcn.1337c0e7c740
mov rcx, qword [rbp - 0x80]
jmp 0x1337c0e886e4
mov r8, rdi
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.1337c0e8cb80
mov r14, qword [rbp + 0xb8]
movabs rbx, 0x100000001b3
movabs rcx, 0xcbf29ce484222325
inc r12
mov rdi, qword [rbp - 0x60]
cmp r12, qword [rdi]
jb 0x1337c0e880e0
cmp byte [rsp + 0x78], 0
je 0x1337c0e8884d
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rax, qword [rsp + 0x58]
mov qword [rbp - 0x70], rax
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x70]
call fcn.1337c0e83b80
test eax, eax
js 0x1337c0e8864c
mov bl, 1
jmp 0x1337c0e8864e
xor bl, bl
test rcx, rcx
je 0x1337c0e886ef
call fcn.1337c0ea2370
nop
cmp byte [rsp + 0x78], 0
je 0x1337c0e88700
lea rcx, [rsp + 0x58]
call fcn.1337c0e6b8e0
movzx eax, bl
jmp 0x1337c0e88707
xor al, al
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1337c0e82840
nop
lea rcx, [0x1337c12d32d8]
call fcn.1337c102d980
cmp dword [0x1337c12d32d8], 0xffffffff
jne 0x1337c0e87dac
lea rcx, [rbp + 0xc8]
call fcn.1337c0e863c0
mov rcx, qword [rbp + 0xc8]
test rcx, rcx
je 0x1337c0e887d5
lea r10, [rcx + 8]
mov r11d, r15d
mov ebx, dword [rcx]
test ebx, ebx
je 0x1337c0e887d0
nop word [rax + rax]
mov rdx, qword [r10 + 8]
movzx eax, word [r10]
shr rax, 1
cmp rax, 4
jne 0x1337c0e887b4
mov r8d, 0xbf41bdf
test eax, eax
je 0x1337c0e887b4
mov r9d, eax
nop
movzx eax, word [rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
lea rdx, [rdx + 2]
sub r9, 1
jne 0x1337c0e88790
cmp r8d, 0xceb32991
je 0x1337c0e88841
movzx eax, word [r10 + 2]
add rax, 7
and rax, 0xfffffffffffffff8
add r10, 0x68
add r10, rax
inc r11d
cmp r11d, ebx
jb 0x1337c0e88770
call fcn.1337c0f03f60
mov ebx, 0xffffffff
mov dword [0x1337c12d32dc], ebx
lea rcx, [0x1337c12d32d8]
call fcn.1337c102d914
jmp 0x1337c0e87dac
lea rcx, [0x1337c12d32e0]
call fcn.1337c102d980
cmp dword [0x1337c12d32e0], 0xffffffff
jne 0x1337c0e87dc9
mov dword [rbp + 0xcc], setsockopt
mov dword [rbp + 0xc8], 0x241ad748
lea rcx, [rbp + 0xc8]
call fcn.1337c0e828d0
mov dword [0x1337c12d32d4], eax
lea rcx, [0x1337c12d32e0]
call fcn.1337c102d914
jmp 0x1337c0e87dc9
movzx ebx, byte [r10 + 0x5a]
call fcn.1337c0f03f60
jmp 0x1337c0e887da
call fcn.1337c0e82840
int3