Function at 0x140054320
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400db100]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x78], rdx
mov qword [rbp + 0xd8], r8
xor r13d, r13d
mov dword [rbp - 0x70], r13d
call fcn.140050e10
mov dword [rsp + 0x38], 0xafb7d098
mov dword [rsp + 0x3c], 0xa1adb1a7
mov word [rsp + 0x40], 0xfb
mov byte [rsp + 0x42], 1
mov ecx, r13d
lea eax, [rcx - 0x42]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 9
jb 0x140054390
mov byte [rsp + 0x42], 0
mov dword [rsp + 0x78], 0xaca1d198
mov dword [rsp + 0x7c], 0x100fea7
mov dword [rbp - 0x80], 0xb2a5cc98
mov dword [rbp - 0x7c], 0xababaab1
mov dword [rbp - 0x78], 0xf5a3af
mov byte [rbp - 0x74], 1
mov dword [rsp + 0x48], 0xada9d998
mov dword [rsp + 0x4c], 0xf8a0aaa7
mov word [rsp + 0x50], 0x100
mov dword [rsp + 0x68], 0xa4b0c6ca
mov dword [rsp + 0x6c], 0xa9ada5ff
mov word [rsp + 0x70], 0xa3
mov byte [rsp + 0x72], 1
mov rcx, r13
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x42]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x140054410
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x28]
call fcn.14002bf40
nop
cmp byte [rsp + 0x72], 0
je 0x140054465
mov rcx, r13
nop dword [rax + rax]
lea eax, [rcx - 0x42]
xor byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 9
jb 0x140054450
mov byte [rsp + 0x72], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x71]
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x18]
call fcn.14002bf40
nop
lea r9, [rbp - 0x28]
lea r8, [rbp + 0x18]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.14004d680
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x1400544d4
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400544ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400544ce
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140054513
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005450d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005450d
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
nop
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x140054522
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
lea rcx, [rbp - 0x48]
call fcn.140043110
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x78]
call fcn.1400471e0
nop
lea rdx, [rdi + 0x258]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x14005457e
mov rdx, qword [rdx]
mov rcx, rax
call fcn.140043110
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x58]
lea rcx, [rbp + 0x38]
call fcn.140046d40
nop
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400545c4
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.140043110
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140054610
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x68]
call fcn.140043110
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x120], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x110], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x120], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rdi + 0x20]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140054673
mov rdx, qword [rdx]
lea rcx, [rbp + 0x110]
call fcn.140043110
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x150], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x160], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x1400546e7
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400546e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400546e2
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x14005473c
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054737
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054737
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
mov rdx, qword [rbp + 0x50]
cmp rdx, 0xf
jbe 0x14005478b
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054786
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054786
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp + 0x48], xmm0
mov byte [rbp + 0x38], 0
mov rdx, qword [rbp + 0x70]
cmp rdx, 0xf
jbe 0x1400547db
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400547d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400547d5
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0xf
jbe 0x14005481c
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054817
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054817
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp + 0x88], xmm0
mov byte [rbp + 0x78], 0
mov rdx, qword [rbp + 0xb0]
cmp rdx, 0xf
jbe 0x140054875
inc rdx
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005486f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005486f
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x1400548b3
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400548ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400548ae
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
lea rax, [rbp - 0x28]
mov qword [rsp + 0x58], rax
lea rdx, [rdi + 0x80]
lea rcx, [rbp - 0x28]
call fcn.14002ef10
mov rbx, rax
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x18]
call fcn.14002ef10
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.14005dbb0
nop
mov qword [rbp + 0xd0], r13
mov byte [rsp + 0x20], 0
mov r9b, 1
lea r8, [rbp + 0x98]
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0xe0]
call fcn.14004adb0
nop
mov dword [rsp + 0x58], 0xb2b3dad3
mov dword [rsp + 0x5c], 0xa1a4a3
mov byte [rsp + 0x60], 1
mov rcx, r13
nop word [rax + rax]
lea eax, [rcx - 0x42]
xor byte [rsp + rcx + 0x58], al
inc rcx
cmp rcx, 7
jb 0x140054950
mov byte [rsp + 0x60], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x5f]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x48]
call fcn.14002bf40
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0xe0]
test cl, cl
jne 0x1400549aa
mov byte [rbp + 0xe0], 1
call fcn.140049250
mov qword [rbp + 0xe8], rax
movzx ecx, byte [rbp + 0xe0]
jmp 0x1400549b1
mov rax, qword [rbp + 0xe8]
cmp cl, 1
jne 0x1400549c5
lea rdx, [rbp - 0x48]
mov rcx, rax
call fcn.14004ec50
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
movdqa xmm1, xmmword [0x1400bd830]
movdqu xmmword [rbp + 0x100], xmm1
mov byte [rbp + 0xf0], 0
mov dword [rbp - 0x70], 0x2ffe
cmp byte [rbx], 3
jne 0x140054a04
mov rdx, qword [rbx + 8]
lea rax, [rbp + 0xf0]
cmp rax, rdx
je 0x140054a22
jmp 0x140054a07
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140054a15
mov rdx, qword [rdx]
lea rcx, [rbp + 0xf0]
call fcn.140050120
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x140054a60
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054a5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054a5b
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp - 0x38], xmm0
mov byte [rbp - 0x48], 0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x80]
call fcn.14004d410
mov rdx, rax
mov rcx, rdi
call fcn.14005b2e0
mov dword [rsp + 0x38], 0xa2a3cacd
mov dword [rsp + 0x3c], 0xb7b0a7
mov byte [rsp + 0x40], 1
mov rcx, r13
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x42]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 7
jb 0x140054ab0
mov byte [rsp + 0x40], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x3f]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.14002bf40
nop
cmp byte [rbp + 0xe0], 0
jne 0x140054afc
mov byte [rbp + 0xe0], 1
call fcn.140049250
mov qword [rbp + 0xe8], rax
jmp 0x140054b03
mov rax, qword [rbp + 0xe8]
cmp byte [rbp + 0xe0], 1
jne 0x140054b1d
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.14004ec50
mov rcx, rax
jmp 0x140054b22
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + 8]
cmp byte [rcx], 4
cmovne rax, r13
movzx ebx, byte [rax]
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140054b6e
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054b69
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054b69
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
test bl, bl
je 0x140054e7b
mov dword [rsp + 0x48], 0xb5aed0dd
mov dword [rsp + 0x4c], 0xb6b0ada7
mov word [rsp + 0x50], 0x100
mov rcx, r13
lea eax, [rcx - 0x42]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 8
jb 0x140054b90
mov byte [rsp + 0x51], 0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x68]
call fcn.14002bf40
nop
mov rbx, qword [rsp + 0x38]
movzx ecx, byte [rbp + 0xe0]
test cl, cl
jne 0x140054bea
mov byte [rbp + 0xe0], 1
call fcn.140049250
mov qword [rbp + 0xe8], rax
movzx ecx, byte [rbp + 0xe0]
jmp 0x140054bf1
mov rax, qword [rbp + 0xe8]
cmp cl, 1
jne 0x140054c05
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14004ec50
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 8], xmm0
movdqa xmm1, xmmword [0x1400bd830]
movdqu xmmword [rbp + 8], xmm1
mov byte [rbp - 8], 0
mov dword [rbp - 0x70], 0xbdffe
cmp byte [rbx], 3
jne 0x140054c38
mov rdx, qword [rbx + 8]
lea rax, [rbp - 8]
cmp rax, rdx
je 0x140054c53
jmp 0x140054c3b
mov rdx, r13
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140054c49
mov rdx, qword [rdx]
lea rcx, [rbp - 8]
call fcn.140050120
nop
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x110]
call fcn.140057f30
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 0xf
jbe 0x140054ca2
inc rdx
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054c9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054c9d
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp + 8], xmm0
mov byte [rbp - 8], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140054cf1
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054cec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054cec
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x28]
call fcn.14002ef10
mov rdi, rax
mov qword [rsp + 0x38], rax
mov rsi, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x140054d2d
add rsi, qword [rax]
mov r15, qword [rax]
jmp 0x140054d33
add rsi, rdi
mov r15, rdi
mov qword [r14], r13
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
sub rsi, r15
je 0x140054d67
mov rdx, rsi
mov rcx, r14
call fcn.14004f4a0
mov rbx, qword [r14]
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call fcn.1400b1f22
lea rax, [rsi + rbx]
mov qword [r14 + 8], rax
mov rcx, rdi
call fcn.1400303d0
nop
mov rdx, qword [rbp + 0x128]
cmp rdx, 0xf
jbe 0x140054db4
inc rdx
mov rcx, qword [rbp + 0x110]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140054daf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140054daf
call qword [0x1400b6c60]
int3
call fcn.1400b04f8
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp + 0x120], xmm0
mov byte [rbp + 0x110], 0
mov r8, qword [rbp + 0x108]
cmp r8, 0xf
jbe 0x140054deb
mov rdx, qword [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
call fcn.1400423a0
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], 0
movzx edx, byte [rbp + 0xe0]
lea rcx, [rbp + 0xe8]
call fcn.140053da0
nop
mov r8, qword [rbp + 0x148]
cmp r8, 0xf
jbe 0x140054e36
mov rdx, qword [rbp + 0x130]
lea rcx, [rbp + 0x130]
call fcn.1400423a0
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], 0
mov r8, qword [rbp + 0x168]
cmp r8, 0xf
jbe 0x140054e6e
mov rdx, qword [rbp + 0x150]
lea rcx, [rbp + 0x150]
call fcn.1400423a0
nop
mov rcx, r12
call fcn.140050060
jmp 0x140054f31
mov qword [r14], r13
mov qword [r14 + 8], r13
mov qword [r14 + 0x10], r13
mov r8, qword [rbp + 0x108]
cmp r8, 0xf
jbe 0x140054ea6
mov rdx, qword [rbp + 0xf0]
lea rcx, [rbp + 0xf0]
call fcn.1400423a0
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp + 0x100], xmm0
mov byte [rbp + 0xf0], 0
movzx edx, byte [rbp + 0xe0]
lea rcx, [rbp + 0xe8]
call fcn.140053da0
nop
mov r8, qword [rbp + 0x148]
cmp r8, 0xf
jbe 0x140054ef1
mov rdx, qword [rbp + 0x130]
lea rcx, [rbp + 0x130]
call fcn.1400423a0
movdqa xmm0, xmmword [0x1400bd830]
movdqu xmmword [rbp + 0x140], xmm0
mov byte [rbp + 0x130], 0
mov r8, qword [rbp + 0x168]
cmp r8, 0xf
jbe 0x140054f29
mov rdx, qword [rbp + 0x150]
lea rcx, [rbp + 0x150]
call fcn.1400423a0
nop
mov rcx, r12
call fcn.1400303d0
mov rax, r14
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400b0620
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret