Function at 0x1800853f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x468]
sub rsp, 0x530
xor ebx, ebx
cmp qword [0x18010b058], rbx
je 0x18008631e
mov eax, dword [0x18010aa1c]
test eax, eax
je 0x18008631e
mov qword [rsp + 0x28], rbx
movdqa xmm0, xmmword [0x1800d7150]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], bx
lea r15d, [rbx + 1]
mov r14d, 0x1000
movabs r13, 0x7ffffffffffffffe
lea r12, [rbx - 2]
test rcx, rcx
je 0x18008548d
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rcx + r8*2], bx
jne 0x180085471
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.180005fd8
jmp 0x180085926
mov qword [rbp - 0x10], rbx
mov qword [rbp], rbx
mov qword [rbp + 8], 7
mov word [rbp - 0x10], bx
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bx
jne 0x1800854a5
lea rcx, [rbp - 0x10]
call fcn.180005fd8
nop
lea rdi, [rbp - 0x10]
mov rsi, qword [rbp - 0x10]
mov r14, qword [rbp + 8]
cmp r14, 8
cmovae rdi, rsi
mov rbx, qword [rbp]
test rbx, rbx
je 0x1800857e5
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x330]
call fcn.1800a02d0
lea rcx, [0x1800d6d0c]
mov r8d, 0x100
cmp word [rcx], r8w
jae 0x180085550
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x330], r15b
add rcx, 2
lea rax, [0x1800d6d0e]
cmp rcx, rax
jne 0x1800854fb
lea rdx, [rdi + rbx*2]
mov rcx, rdi
cmp rdi, rdx
jae 0x1800857e5
cmp word [rcx], r8w
jae 0x180085548
movzx eax, word [rcx]
cmp byte [rbp + rax + 0x330], 0
je 0x180085548
add rcx, 2
cmp rcx, rdx
jmp 0x180085526
sub rcx, rdi
sar rcx, 1
jmp 0x18008558d
lea r8, [rdi + rbx*2]
mov rcx, rdi
cmp rdi, r8
jae 0x180085589
mov rdx, r15
lea rax, [0x1800d6d0c]
movzx r9d, word [rcx]
cmp word [rax], r9w
je 0x18008557b
add rax, 2
sub rdx, r15
je 0x180085548
jmp 0x18008556a
test rax, rax
je 0x180085548
add rcx, 2
cmp rcx, r8
jmp 0x18008555a
or rcx, 0xffffffffffffffff
or rdi, 0xffffffffffffffff
cmp rcx, rdi
je 0x1800857e5
lea rax, [rbp - 0x10]
cmp r14, 8
cmovae rax, rsi
lea rdx, [rbp - 0x10]
cmp word [rax + rcx*2], 0x22
je 0x1800857b8
cmp r14, 8
cmovae rdx, rsi
cmp rcx, rbx
jae 0x1800855e1
mov rax, rbx
sub rax, rcx
lea r8, [rdx + rcx*2]
je 0x1800855e1
lea r9d, [rdi + 0x21]
cmp word [r8], r9w
je 0x180085646
add r8, 2
sub rax, r15
jne 0x1800855d2
xor r8d, r8d
mov qword [rsp + 0x78], r8
mov qword [rbp - 0x70], 7
cmp rbx, rcx
jb 0x180086347
sub rbx, rcx
or rdx, 0xffffffffffffffff
cmp rbx, rdx
cmovb rdi, rbx
lea rax, [rbp - 0x10]
cmp r14, 8
cmovae rax, rsi
lea r14, [rax + rcx*2]
cmp rdi, 7
ja 0x1800856e3
mov qword [rbp - 0x78], rdi
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.18009fc20
xor eax, eax
mov word [rsp + rbx + 0x78], ax
jmp 0x18008576d
xor eax, eax
test r8, r8
je 0x1800855e1
sub r8, rdx
sar r8, 1
cmp r8, rdi
je 0x1800855e1
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 7
cmp rbx, rcx
jb 0x18008634d
sub r8, rcx
sub rbx, rcx
cmp rbx, r8
cmovb r8, rbx
lea rax, [rbp - 0x10]
cmp r14, 8
cmovae rax, rsi
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x78]
call fcn.180005fd8
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1800858cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800858ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180086341
jmp 0x1800858ca
cmp rdi, r13
ja 0x180086353
mov rbx, rdi
or rbx, 7
cmp rbx, r13
jbe 0x180085700
mov rbx, r13
mov rcx, r12
jmp 0x18008572f
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x180086359
add rcx, rcx
cmp rcx, 0x1000
jb 0x180085739
call fcn.180004018
mov rsi, rax
jmp 0x180085748
test rcx, rcx
je 0x180085745
call fcn.18009d1b8
jmp 0x180085734
mov rsi, r8
mov qword [rbp - 0x78], rdi
mov qword [rbp - 0x70], rbx
lea rbx, [rdi + rdi]
mov r8, rbx
mov rdx, r14
mov rcx, rsi
call fcn.18009fc20
xor eax, eax
mov word [rsi + rbx], ax
mov qword [rsp + 0x78], rsi
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1800857af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800857aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008635f
call fcn.18009d1f4
or rdi, 0xffffffffffffffff
jmp 0x1800858cf
lea r8, [rcx + 1]
cmp r14, 8
cmovae rdx, rsi
cmp r8, rbx
jae 0x1800857e5
mov rax, rbx
sub rax, r8
lea r8, [rdx + r8*2]
je 0x1800857e5
cmp word [r8], 0x22
je 0x180085837
add r8, 2
sub rax, r15
jne 0x1800857d5
cmp r14, 8
jb 0x180085820
lea rdx, [r14*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x180085818
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180086365
mov rcx, rsi
call fcn.18009d1f4
xor eax, eax
mov r15b, al
lea rcx, [rsp + 0x28]
call fcn.180006230
mov al, r15b
jmp 0x180086320
xor eax, eax
test r8, r8
je 0x1800857e5
sub r8, rdx
sar r8, 1
cmp r8, rdi
je 0x1800857e5
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], 7
cmp rbx, rcx
jb 0x18008636b
sub r8, rcx
inc r8
sub rbx, rcx
cmp rbx, r8
cmovb r8, rbx
lea rax, [rbp - 0x10]
cmp r14, 8
cmovae rax, rsi
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x78]
call fcn.180005fd8
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1800858cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800858ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180086371
call fcn.18009d1f4
movups xmm0, xmmword [rsp + 0x78]
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm1
mov rdx, qword [rbp + 8]
mov r14d, 0x1000
cmp rdx, 8
jb 0x180085924
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, r14
jb 0x18008591f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180086365
call fcn.18009d1f4
xor ebx, ebx
lea rax, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x40]
cmp r8, 8
cmovae rax, rcx
cmp word [rax], 0x22
jne 0x180085a04
lea rax, [rsp + 0x28]
cmp r8, 8
cmovae rax, rcx
mov rdx, qword [rsp + 0x38]
cmp word [rax + rdx*2 - 2], 0x22
jne 0x180085a04
lea r9, [rdx - 2]
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x70], rbx
mov qword [rbp + 0x78], 7
cmp rdx, r15
jb 0x180086377
lea rax, [rdx - 1]
cmp rax, r9
cmovb r9, rax
lea rdx, [rsp + 0x28]
cmp r8, 8
cmovae rdx, rcx
add rdx, 2
mov r8, r9
lea rcx, [rbp + 0x60]
call fcn.180005fd8
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1800859e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, r14
jb 0x1800859e3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008637d
call fcn.18009d1f4
movups xmm0, xmmword [rbp + 0x60]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rbp + 0x70]
movups xmmword [rsp + 0x38], xmm1
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x28]
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x30], bl
lea rdx, [rsp + 0x28]
cmp r8, 8
cmovae rdx, rcx
lea rax, [rbp + 0x120]
mov qword [rbp + 0x118], rax
mov r8d, 3
lea rcx, [rbp + 0x118]
call fcn.18004fc68
nop
lea rdx, [rbp - 0x30]
mov rcx, qword [rbp + 0x118]
call fcn.180086530
mov rsi, rax
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x120]
mov rcx, qword [rbp + 0x118]
cmp rcx, rax
je 0x180085a74
call fcn.1800a89bc
mov byte [rbp + 0x488], bl
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x50], bl
lea rdx, [rsp + 0x28]
mov r9, qword [rsp + 0x28]
mov r10, qword [rsp + 0x40]
cmp r10, 8
cmovae rdx, r9
mov r8, qword [rsp + 0x38]
test r8, r8
je 0x180085eec
lea rcx, [r8 - 1]
mov rax, rdi
cmp rcx, rdi
cmovb rax, rcx
lea rcx, [rdx + rax*2]
jmp 0x180085ad3
cmp rcx, rdx
je 0x180085eec
sub rcx, 2
cmp word [rcx], 0x5c
jne 0x180085ac6
sub rcx, rdx
sar rcx, 1
cmp rcx, rdi
je 0x180085eec
inc rcx
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], 7
mov word [rbp + 0x18], bx
cmp r8, rcx
jb 0x180086383
sub r8, rcx
mov rbx, rdi
cmp r8, rdi
cmovb rbx, r8
lea rax, [rsp + 0x28]
cmp r10, 8
cmovae rax, r9
lea rsi, [rax + rcx*2]
cmp rbx, 7
ja 0x180085b52
mov qword [rbp + 0x28], rbx
add rbx, rbx
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp + 0x18]
call fcn.18009fc20
xor eax, eax
mov word [rbp + rbx + 0x18], ax
mov rdi, qword [rbp + 0x18]
jmp 0x180085bd5
cmp rbx, r13
ja 0x180086389
mov rax, rbx
or rax, 7
cmp rax, r13
ja 0x180085b96
mov r13, rax
mov ecx, 0xa
cmp rax, rcx
cmovb r13, rcx
lea rax, [r13 + 1]
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x18008638f
lea r12, [rax + rax]
cmp r12, r14
jb 0x180085ba0
mov rcx, r12
call fcn.180004018
jmp 0x180085baf
xor eax, eax
test r12, r12
je 0x180085baf
mov rcx, r12
call fcn.18009d1b8
mov rdi, rax
mov qword [rbp + 0x28], rbx
mov qword [rbp + 0x30], r13
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call fcn.18009fc20
xor eax, eax
mov word [rdi + rbx], ax
mov qword [rbp + 0x18], rdi
lea rdx, [rbp + 0x18]
cmp qword [rbp + 0x30], 8
cmovae rdx, rdi
lea rax, [rbp + 0x98]
mov qword [rbp + 0x90], rax
mov r8d, 3
lea rcx, [rbp + 0x90]
call fcn.18004fc68
nop
mov rdx, qword [rbp + 0x90]
lea rcx, [rbp - 0x50]
call fcn.180003104
nop
lea rax, [rbp + 0x98]
mov rcx, qword [rbp + 0x90]
cmp rcx, rax
je 0x180085c2d
call fcn.1800a89bc
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x180085c69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, r14
jb 0x180085c64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180086395
call fcn.18009d1f4
mov rsi, qword [rbp + 0x10]
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x80]
lea rcx, [0x18010b050]
call fcn.180017560
mov rbx, qword [rax]
mov qword [rbp + 0x38], rbx
xor r13d, r13d
cmp rbx, qword [0x18010b050]
jne 0x180085cfc
cmp qword [rbp - 0x20], r13
je 0x180085f4c
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rcx, qword [rbp - 0x30]
call fcn.1800a8764
test eax, eax
je 0x180085f4c
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x88]
lea rcx, [0x18010b050]
call fcn.180017560
mov rbx, qword [rax]
mov qword [rbp + 0x38], rbx
cmp rbx, qword [0x18010b050]
je 0x180085f4c
mov byte [rbp + 0x488], r15b
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x50], r13
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x58], rdi
mov byte [rbp + 0x40], r13b
mov rdx, qword [rbp + 0x478]
test rdx, rdx
je 0x180085d65
lea rax, [rbp + 0x1a8]
mov qword [rbp + 0x1a0], rax
lea r8d, [rdi - 0xc]
lea rcx, [rbp + 0x1a0]
call fcn.18004fc68
nop
mov rdx, qword [rbp + 0x1a0]
lea rcx, [rbp + 0x40]
call fcn.180003104
nop
lea rax, [rbp + 0x1a8]
mov rcx, qword [rbp + 0x1a0]
cmp rcx, rax
je 0x180085d65
call fcn.1800a89bc
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
lea rdx, [rbp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.18001719c
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], rdi
mov byte [rsp + 0x48], r13b
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x68]
call fcn.1800881dc
mov byte [rsp + 0x20], al
test al, al
je 0x180085dc6
mov r8, qword [rbp - 0x68]
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180085db8
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rsp + 0x48]
call fcn.180002f70
xor r11d, r11d
mov r10d, r11d
mov dword [rsp + 0x70], r11d
mov r8, qword [rbx + 0x40]
mov rcx, qword [rbx + 0x48]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1800861e7
mov eax, r11d
mov r12, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
lea r14, [rax + rax*2]
add r14, r14
cmp byte [r8 + r14*8 + 0x10], 2
je 0x180086164
mov r9, r8
cmp rsi, qword [r8 + r14*8]
jb 0x180085ff6
cmp rsi, qword [r8 + r14*8 + 8]
ja 0x180085ff6
mov ecx, r11d
mov dword [rsp + 0x68], ecx
mov rax, qword [r8 + r14*8 + 0x20]
sub rax, qword [r8 + r14*8 + 0x18]
sar rax, 5
test rax, rax
je 0x180085ff6
mov rsi, r11
shl rsi, 5
add rsi, qword [r8 + r14*8 + 0x18]
mov r15, rdi
cmp rdi, r12
je 0x180085e90
mov ebx, 0x20
mov rdx, rsi
mov rcx, r15
call fcn.180009258
test al, al
jne 0x180085e81
add r15, rbx
cmp r15, r12
jne 0x180085e6a
mov rbx, qword [rbp + 0x38]
mov rdi, qword [rbp - 0x68]
mov ecx, dword [rsp + 0x68]
xor r11d, r11d
mov rax, qword [rbx + 0x40]
cmp r15, r12
jne 0x180085f9b
mov r15d, 1
cmp byte [rax + r14*8 + 0x10], r15b
je 0x180085fc0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180085f6f
cmp rcx, qword [rsp + 0x60]
jae 0x180085f59
lea rax, [rcx + 1]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rax, qword [rsp + 0x48]
mov word [rax + rcx], 0x20
jmp 0x180085f6f
lea rdx, [rsp + 0x28]
cmp r10, 8
cmovae rdx, r9
lea rax, [rbp + 0x98]
mov qword [rbp + 0x90], rax
mov r8d, 3
lea rcx, [rbp + 0x90]
call fcn.18004fc68
nop
mov rdx, qword [rbp + 0x90]
lea rcx, [rbp - 0x50]
call fcn.180003104
nop
lea rax, [rbp + 0x98]
mov rcx, qword [rbp + 0x90]
cmp rcx, rax
je 0x180085c6d
call fcn.1800a89bc
jmp 0x180085c6d
mov r15b, r13b
mov ebx, reloc.WS2_32.dll_ntohs
jmp 0x18008628f
mov r9d, 0x20
mov r8b, r11b
mov rdx, r15
lea rcx, [rsp + 0x48]
call fcn.1800038f8
mov rdx, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x180085f7c
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x48]
call fcn.180002f70
mov r13b, r15b
mov r12, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
mov ecx, dword [rsp + 0x68]
jmp 0x180085fc0
cmp byte [rax + r14*8 + 0x10], 1
jne 0x180085fba
lea rdx, [0x1800ea560]
mov rcx, r15
call fcn.180003104
mov r15d, 1
jmp 0x180085f8a
mov r15d, 1
add ecx, r15d
mov dword [rsp + 0x68], ecx
mov r9, qword [rbx + 0x40]
mov rax, qword [r9 + r14*8 + 0x20]
sub rax, qword [r9 + r14*8 + 0x18]
sar rax, 5
mov esi, ecx
mov r8, r9
cmp rsi, rax
mov r11d, 0
jb 0x180085e54
mov r10d, dword [rsp + 0x70]
mov rsi, qword [rbp + 0x10]
add r10d, r15d
mov dword [rsp + 0x70], r10d
mov rcx, qword [rbx + 0x48]
sub rcx, r9
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov eax, r10d
mov r8, r9
cmp rax, rdx
jb 0x180085e08
test r13b, r13b
je 0x1800861e7
xor r13d, r13d
mov esi, r13d
mov rax, r12
sub rax, rdi
sar rax, 5
test rax, rax
je 0x1800860be
mov ebx, r13d
mov r14b, byte [rsp + 0x20]
test r14b, r14b
je 0x18008605e
test esi, esi
je 0x1800860aa
shl rbx, 5
cmp qword [rdi + rbx + 0x10], r13
je 0x1800860aa
cmp qword [rsp + 0x58], r13
je 0x180086083
mov edx, 0x20
lea rcx, [rsp + 0x48]
call fcn.180002fe8
mov rdi, qword [rbp - 0x68]
lea r8, [rdi + rbx]
mov rdx, r8
cmp qword [r8 + 0x18], 0x10
jb 0x180086094
mov rdx, qword [r8]
mov r8, qword [r8 + 0x10]
lea rcx, [rsp + 0x48]
call fcn.180002f70
mov r12, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
add esi, r15d
mov rax, r12
sub rax, rdi
sar rax, 5
mov ebx, esi
cmp rbx, rax
jb 0x180086055
mov rcx, qword [rsp + 0x58]
inc rcx
mov eax, 2
mul rcx
mov rdx, 0xffffffffffffffff
cmovo rax, rdx
lea rdx, [0x1800db740]
mov rcx, rax
call fcn.18009d8d0
mov rbx, qword [rbp + 0x480]
mov qword [rbx], rax
test rax, rax
je 0x1800861ea
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
lea rax, [rbp + 0x230]
mov qword [rbp + 0x228], rax
mov r8d, 3
lea rcx, [rbp + 0x228]
call fcn.180070c30
mov rdx, qword [rsp + 0x58]
inc rdx
mov r8, qword [rbp + 0x228]
mov rcx, qword [rbx]
call fcn.1800af140
lea rax, [rbp + 0x230]
mov rcx, qword [rbp + 0x228]
cmp rcx, rax
je 0x1800861ed
call fcn.1800a89bc
jmp 0x1800861ed
xor r13d, r13d
cmp byte [0x18010a364], r13b
je 0x1800861ea
cmp byte [rbp + 0x488], r13b
je 0x180086189
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rbx, qword [rbp - 0x30]
jmp 0x180086197
lea rbx, [rbp - 0x50]
cmp qword [rbp - 0x38], 0x10
cmovae rbx, qword [rbp - 0x50]
lea rcx, [rbp + 0x488]
call fcn.18007cb64
mov r9, rax
cmp byte [rax + 0x30], r13b
je 0x1800861d5
mov rdx, r13
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0xd993efbb19cfe32d
shr rax, cl
xor byte [rdx + r9], al
add rdx, r15
cmp rdx, 0x30
jb 0x1800861af
mov byte [r9 + 0x30], r13b
mov r8, rbx
mov rdx, r9
mov ecx, 4
call fcn.18006a848
jmp 0x1800861ea
xor r13d, r13d
mov r15b, r13b
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x18008622a
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180086225
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008639b
call fcn.18009d1f4
mov qword [rsp + 0x58], r13
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x48], r13b
lea rcx, [rbp - 0x68]
call fcn.180007384
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x180086283
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18008627e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800863a1
call fcn.18009d1f4
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], rbx
mov byte [rbp + 0x40], r13b
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x1800862ca
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800862c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800863a7
call fcn.18009d1f4
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], rbx
mov byte [rbp - 0x50], r13b
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18008630d
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180086308
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18008633b
call fcn.18009d1f4
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], rbx
mov byte [rbp - 0x30], r13b
jmp 0x180085825
xor al, al
mov rbx, qword [rsp + 0x570]
add rsp, 0x530
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1800a45b8
nop
call fcn.1800a45b8
int3
call fcn.1800076d4
int3
call fcn.1800076d4
int3
call fcn.180001e88
int3
call fcn.180001df0
int3
call fcn.1800a45b8
nop
call fcn.1800a45b8
nop
call fcn.1800076d4
int3
call fcn.1800a45b8
nop
call fcn.1800076d4
int3
call fcn.1800a45b8
nop
call fcn.1800076d4
int3
call fcn.180001e88
int3
call fcn.180001df0
int3
call fcn.1800a45b8
nop
call fcn.1800a45b8
nop
call fcn.1800a45b8
nop
call fcn.1800a45b8
int3