Function at 0x14006b340
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x140295010]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov byte [rsp + 0x40], r8b
mov byte [rsp + 0x48], dl
mov r13, rcx
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov dword [rsp + 0x44], r14d
call fcn.14006a950
mov rax, qword [r13 + 0x30]
cmp byte [rax + 0x151], r14b
jne 0x14006b471
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
xor r8d, r8d
lea rdx, [0x140226c92]
lea rcx, [rsp + 0x60]
call fcn.14001a320
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
lea r8d, [r14 + 4]
lea rdx, str.left
lea rcx, [rbp - 0x78]
call fcn.14001a320
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.14004c190
lea rax, [rsp + 0x60]
mov qword [rbp - 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
xor r8d, r8d
lea rdx, [0x140226c92]
lea rcx, [rsp + 0x60]
call fcn.14001a320
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
lea r8d, [r14 + 0x32]
lea rdx, str.actionplay_sfx_nfileaudio_door_shut.wav_ndelayMS0
lea rcx, [rbp - 0x78]
call fcn.14001a320
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x78]
mov rcx, r13
call fcn.14004a760
mov esi, r14d
mov dword [rsp + 0x44], r14d
mov rdx, qword [r13 + 0x30]
add rdx, 0x2b0
lea rcx, [rbp + 0x80]
call fcn.14003be30
nop
mov rax, qword [r13 + 0x30]
mov dword [rax + 0xfc], 0xffffffff
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x100], 0xffffffff
mov rcx, qword [r13 + 0x30]
add rcx, 0x2b0
xor r8d, r8d
lea rdx, [0x140226c92]
call fcn.1401ca9b0
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x720], 0xffffffff
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x724], 0xffffffff
mov rax, qword [r13 + 0x30]
mov byte [rax + 0xabd], 0
mov rdi, qword [r13 + 0x30]
mov r15, qword [rdi + 0x120]
mov rbx, qword [r15 + 8]
cmp byte [rbx + 0x19], 0
jne 0x14006b530
mov r8, qword [rbx + 0x10]
lea rdx, [rdi + 0x120]
lea rcx, [rdi + 0x120]
call fcn.1401d16a0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.1401e8250
cmp byte [rbx + 0x19], 0
je 0x14006b503
mov qword [r15 + 8], r15
mov qword [r15], r15
mov qword [r15 + 0x10], r15
mov qword [rdi + 0x128], r14
mov r15, qword [0x1402962f0]
mov rbx, qword [r15 + 0x28]
imul rax, qword [r15 + 0x30], 0x1c8
add rax, rbx
mov r9, qword [rbp + 0x98]
mov qword [rbp - 0x80], r9
mov r12, qword [rbp + 0x90]
mov r8, qword [rbp + 0x80]
mov qword [rsp + 0x58], r8
cmp rbx, rax
jae 0x14006b63d
add rbx, 0x30
mov r14, r8
mov r13d, esi
cmp dword [rbx + 8], 5
jne 0x14006b5fe
mov rdi, qword [rbx]
test rdi, rdi
je 0x14006b5fe
cmp qword [rdi + 0x260], 0
je 0x14006b5fe
test r12, r12
je 0x14006b5e8
lea rcx, [rdi + 0x2b0]
lea rdx, [rbp + 0x80]
cmp r9, 0x10
cmovae rdx, r14
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14006b5ca
mov rcx, qword [rcx]
cmp r8, r12
jne 0x14006b5e8
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14006b5e8
inc dword [rsp + 0x44]
inc esi
cmp byte [rdi + 0x151], al
cmovne esi, r13d
cmp dword [0x14029633c], 1
jne 0x14006b5fe
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r15, qword [0x1402962f0]
add rbx, 0x1c8
imul rcx, qword [r15 + 0x30], 0x1c8
add rcx, qword [r15 + 0x28]
lea rax, [rbx - 0x30]
cmp rax, rcx
mov r9, qword [rbp - 0x80]
jb 0x14006b586
cmp dword [rsp + 0x44], 0
mov r14d, 0
mov r13, qword [rsp + 0x50]
jne 0x14006b87d
mov r8, qword [rsp + 0x58]
cmp byte [rsp + 0x40], 0
je 0x14006b87d
mov rdi, qword [0x140296360]
mov r15, qword [rdi]
mov rbx, r15
mov qword [rbp + 0x48], rbx
cmp r15, rdi
je 0x14006b743
cmp r9, 0x10
setae sil
nop word [rax + rax]
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x80]
test sil, sil
cmovne rdx, r8
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14006b690
mov rcx, qword [rcx]
cmp r8, r12
jne 0x14006b69e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14006b6bb
lea rcx, [rbp + 0x48]
call fcn.1401cb840
mov rbx, qword [rbp + 0x48]
cmp rbx, rdi
je 0x14006b743
mov r8, qword [rsp + 0x58]
jmp 0x14006b670
mov qword [rbp + 0x48], rbx
cmp rbx, r15
jne 0x14006b6f5
cmp byte [rdi + 0x19], 0
je 0x14006b6f5
mov r8, qword [rdi + 8]
lea rdx, [0x140296360]
lea rcx, [0x140296360]
call fcn.1401d62f0
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [0x140296368], r14
jmp 0x14006b743
cmp rbx, rdi
je 0x14006b743
nop word [rax + rax]
lea rcx, [rbp + 0x48]
call fcn.1401cb840
mov rdx, rbx
lea rcx, [0x140296360]
call fcn.1401cc650
mov rsi, rax
lea rcx, [rax + 0x40]
call fcn.1401c9c00
lea rcx, [rsi + 0x20]
call fcn.1401ca7b0
mov edx, 0x58
mov rcx, rsi
call fcn.1401e8250
mov rbx, qword [rbp + 0x48]
cmp rbx, rdi
jne 0x14006b700
mov rsi, qword [0x140296898]
mov rcx, rsi
mov rbx, qword [0x140296890]
sub rcx, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14006be44
cmp qword [rbp - 0x80], 0x10
setae al
mov byte [rsp + 0x40], al
mov r15, r14
mov r13, qword [rsp + 0x58]
nop dword [rax]
lea rcx, [r15 + rbx]
lea rdx, [rbp + 0x80]
test al, al
cmovne rdx, r13
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14006b7af
mov rcx, qword [rcx]
cmp r8, r12
jne 0x14006b83a
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14006b83a
movsxd rax, r14d
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, 0x30
add rdi, rbx
cmp rdi, rsi
je 0x14006b811
lea rbx, [rdi - 0xc]
nop dword [rax]
lea rcx, [rbx - 0x24]
mov rdx, rdi
call fcn.1401c8700
mov eax, dword [rbx + 0x2c]
mov dword [rbx - 4], eax
mov eax, dword [rbx + 0x30]
mov dword [rbx], eax
mov eax, dword [rbx + 0x34]
mov dword [rbx + 4], eax
add rdi, 0x30
lea rbx, [rbx + 0x30]
cmp rdi, rsi
jne 0x14006b7e0
mov rsi, qword [0x140296898]
lea rcx, [rsi - 0x30]
call fcn.1401ca7b0
mov rsi, qword [0x140296898]
sub rsi, 0x30
mov qword [0x140296898], rsi
dec r14d
sub r15, 0x30
mov rbx, qword [0x140296890]
inc r14d
add r15, 0x30
mov rcx, rsi
sub rcx, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r14d
cmp rax, rdx
movzx eax, byte [rsp + 0x40]
jb 0x14006b790
mov r13, qword [rsp + 0x50]
jmp 0x14006be44
mov dword [rbp + 0x70], r14d
mov ecx, 0x3d
call fcn.1401e85bc
mov qword [rbp + 0x78], rax
mov dword [rbp + 0x74], 0x3d
mov dword [rax + 0xc], r14d
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], r14
mov qword [rax + 0x24], r14
mov qword [rax + 0x2c], r14
mov qword [rax + 0x34], r14
mov byte [rax + 0x3c], 0
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], 0xffffffff
mov dword [rax + 0x18], r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov r8d, 8
lea rdx, str.OnRemove
lea rcx, [rsp + 0x60]
call fcn.14001a320
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x70]
call fcn.1400340a0
mov rdx, qword [r13 + 0x30]
mov edx, dword [rdx + 0xec]
lea rcx, [rbp - 0x38]
call fcn.1400176c0
nop
mov r9d, 6
lea r8, str.netID
mov rcx, rax
call fcn.1401d7bc0
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 1
lea rdx, reloc.WS2_32.dll_ioctlsocket
lea rcx, [rbp + 0x50]
call fcn.1401cab10
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xa0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xb0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0xa0]
lea rcx, [rbp + 0x70]
call fcn.1400340a0
nop
lea rcx, [rbp + 0x50]
call fcn.1401ca7b0
nop
lea rcx, [rbp - 0x38]
call fcn.1401ca7b0
mov dword [rbp + 0x50], r14d
mov ecx, 0x3d
call fcn.1401e85bc
mov qword [rbp + 0x58], rax
mov dword [rbp + 0x54], 0x3d
mov dword [rax + 0xc], r14d
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], r14
mov qword [rax + 0x24], r14
mov qword [rax + 0x2c], r14
mov qword [rax + 0x34], r14
mov byte [rax + 0x3c], 0
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], 0xffffffff
mov dword [rax + 0x18], r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov r8d, setsockopt
lea rdx, str.OnConsoleMessage
lea rcx, [rsp + 0x60]
call fcn.14001a320
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x50]
call fcn.1400340a0
lea r9, [rbp + 0xb5]
mov r8d, esi
test esi, esi
jns 0x14006bab0
neg r8d
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14006ba70
dec r9
mov byte [r9], 0x2d
jmp 0x14006bada
dec r9
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r9], r8b
mov r8d, edx
test edx, edx
jne 0x14006bab0
lea r8, [rbp + 0xb5]
mov rdx, r9
lea rcx, [rbp - 0x38]
call fcn.1401d8420
mov dword [rsp + 0x44], 0xf0
mov r9, qword [r13 + 0x30]
cmp qword [r9 + 0x360], 0
je 0x14006bb1b
lea rdx, [r9 + 0x350]
lea rcx, [rbp + 0x28]
call fcn.14003be30
nop
mov ebx, 0xf1
jmp 0x14006bb7c
lea rcx, [r9 + 0x250]
add r9, 0xc8
mov rdx, qword [r9 + 0x10]
mov r8, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, r8
jb 0x14006be90
cmp qword [r9 + 0x18], 0x10
jb 0x14006bb51
mov r9, qword [r9]
cmp qword [rcx + 0x18], 0x10
jb 0x14006bb5b
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 8]
call fcn.1401d7570
lea rax, [rbp + 8]
mov ebx, 0x4f2
mov dword [rsp + 0x44], ebx
mov r9d, 3
lea r8, [0x140241c9c]
mov rcx, rax
call fcn.1401d7bc0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x60], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 8
mov dword [rsp + 0x44], ebx
mov r8d, inet_ntoa
lea rdx, str.___left___w
lea rcx, [rsp + 0x60]
call fcn.1401cab10
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 9
mov dword [rsp + 0x44], ebx
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
lea rcx, [rbp - 0x18]
call fcn.1401d7380
or ebx, 4
mov dword [rsp + 0x44], ebx
mov r8d, setsockopt
lea rdx, str.___others_here___
lea rcx, [rbp - 0x18]
call fcn.1401cab10
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x60], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 8
mov dword [rsp + 0x44], ebx
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x50]
call fcn.1400340a0
nop
lea rcx, [rbp - 0x18]
call fcn.1401ca7b0
nop
lea rcx, [rbp - 0x58]
call fcn.1401ca7b0
nop
lea rcx, [rsp + 0x60]
call fcn.1401ca7b0
nop
test bl, 2
je 0x14006bcad
and ebx, 0xfffffffd
lea rcx, [rbp + 8]
call fcn.1401ca7b0
nop
test bl, 1
je 0x14006bcbc
lea rcx, [rbp + 0x28]
call fcn.1401ca7b0
nop
lea rcx, [rbp - 0x38]
call fcn.1401ca7b0
mov rdi, qword [0x1402962f0]
mov rbx, qword [rdi + 0x28]
imul rax, qword [rdi + 0x30], 0x1c8
add rax, rbx
mov r15, qword [rbp + 0x78]
cmp rbx, rax
jae 0x14006be32
nop dword [rax + rax]
cmp dword [rbx + 0x38], 5
jne 0x14006be16
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14006be16
add rcx, 0x2b0
lea rdx, [rbp + 0x80]
cmp qword [rbp - 0x80], 0x10
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14006bd2e
mov rcx, qword [rcx]
cmp r8, r12
jne 0x14006be16
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14006be16
movsxd rdx, dword [rbp + 0x74]
lea r8d, [rax + 1]
mov rcx, r15
call fcn.1400131e0
mov r8, rax
xor edx, edx
mov rcx, rbx
call fcn.1400134b0
cmp esi, 0xe
jg 0x14006be0f
mov rax, qword [r13 + 0x30]
cmp byte [rax + 0x151], 0
jne 0x14006be0f
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0xa0], xmm0
mov qword [rbp + 0xb0], r14
mov qword [rbp + 0xb8], r14
xor r8d, r8d
lea rdx, [0x140226c92]
lea rcx, [rbp + 0xa0]
call fcn.14001a320
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov r8d, gethostbyname
lea rdx, str.actionplay_sfx_nfileaudio_door_shut.wav_ndelayMS0
lea rcx, [rbp - 0x58]
call fcn.14001a320
nop
lea r8, [rbp + 0xa0]
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.14004a760
movsxd rdx, dword [rbp + 0x54]
mov r8d, 1
mov rcx, qword [rbp + 0x58]
call fcn.1400131e0
mov r8, rax
xor edx, edx
mov rcx, rbx
call fcn.1400134b0
mov rdi, qword [0x1402962f0]
add rbx, 0x1c8
imul rax, qword [rdi + 0x30], 0x1c8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x14006bcf0
mov rcx, qword [rbp + 0x58]
call fcn.1401e8250
nop
mov rcx, r15
call fcn.1401e8250
cmp byte [rsp + 0x48], 0
jne 0x14006be54
mov rcx, r13
call fcn.140057250
nop
lea rcx, [rbp + 0x80]
call fcn.1401ca7b0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1401e8230
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400176a0
nop
int3