Function at 0x14007cad0
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 - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140306028]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov byte [rsp + 0x40], r8b
mov byte [rsp + 0x41], dl
mov rbx, rcx
mov qword [rsp + 0x70], rcx
xor r14d, r14d
mov dword [rbp + 0x38], r14d
call fcn.140070ee0
mov rax, qword [rbx + 0x30]
cmp byte [rax + 0x151], r14b
jne 0x14007cc07
lea rax, [rsp + 0x50]
mov qword [rbp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
xor r8d, r8d
lea rdx, [0x14028682b]
lea rcx, [rsp + 0x50]
call fcn.140019cb0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
lea r8d, [r14 + 4]
lea rdx, str.left
lea rcx, [rsp + 0x78]
call fcn.140019cb0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140051480
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
xor r8d, r8d
lea rdx, [0x14028682b]
lea rcx, [rsp + 0x50]
call fcn.140019cb0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
lea r8d, [r14 + 0x32]
lea rdx, str.actionplay_sfx_nfileaudio_door_shut.wav_ndelayMS0
lea rcx, [rsp + 0x78]
call fcn.140019cb0
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14004d820
mov esi, r14d
mov dword [rbp + 0x38], r14d
mov rdx, qword [rbx + 0x30]
add rdx, 0x2d0
lea rcx, [rbp + 0x40]
call fcn.14003da70
nop
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x100], 0xffffffff
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x104], 0xffffffff
mov rcx, qword [rbx + 0x30]
add rcx, 0x2d0
xor r8d, r8d
lea rdx, [0x14028682b]
call fcn.1401fe0f0
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x768], 0xffffffff
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x76c], 0xffffffff
mov rax, qword [rbx + 0x30]
mov byte [rax + 0xb35], 0
mov rdi, qword [rbx + 0x30]
mov r15, qword [rdi + 0x120]
mov rbx, qword [r15 + 8]
cmp byte [rbx + 0x19], 0
jne 0x14007ccc2
mov r8, qword [rbx + 0x10]
lea rdx, [rdi + 0x120]
lea rcx, [rdi + 0x120]
call fcn.140205670
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.140222190
cmp byte [rbx + 0x19], 0
je 0x14007cc95
mov qword [r15 + 8], r15
mov qword [r15], r15
mov qword [r15 + 0x10], r15
mov qword [rdi + 0x128], r14
mov r13, qword [0x1403076c0]
mov rbx, qword [r13 + 0x28]
imul rax, qword [r13 + 0x30], 0x1c8
add rax, rbx
mov r15, qword [rbp + 0x50]
cmp rbx, rax
jae 0x14007cda9
add rbx, 0x30
mov r14d, dword [rbp + 0x38]
nop
mov r12d, esi
cmp dword [rbx + 8], 5
jne 0x14007cd7a
mov rdi, qword [rbx]
test rdi, rdi
je 0x14007cd7a
cmp qword [rdi + 0x260], 0
je 0x14007cd7a
test r15, r15
je 0x14007cd60
lea rcx, [rdi + 0x2d0]
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rdx, qword [rbp + 0x40]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14007cd43
mov rcx, qword [rcx]
cmp r8, r15
jne 0x14007cd60
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14007cd60
inc r14d
inc esi
cmp byte [rdi + 0x151], al
cmovne esi, r12d
cmp dword [0x140307724], 1
jne 0x14007cd7a
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r15, qword [rbp + 0x50]
mov r13, qword [0x1403076c0]
add rbx, 0x1c8
imul rcx, qword [r13 + 0x30], 0x1c8
add rcx, qword [r13 + 0x28]
lea rax, [rbx - 0x30]
cmp rax, rcx
jb 0x14007cd00
test r14d, r14d
mov r14d, 0
jne 0x14007d053
cmp byte [rsp + 0x40], 0
je 0x14007d053
mov rdi, qword [0x140307740]
mov r12, qword [rdi]
mov rbx, r12
mov qword [rbp + 0x38], rbx
cmp r12, rdi
je 0x14007ceaa
cmp qword [rbp + 0x58], 0x10
setae sil
nop word [rax + rax]
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x40]
test sil, sil
cmovne rdx, qword [rbp + 0x40]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14007cdfe
mov rcx, qword [rcx]
cmp r8, r15
jne 0x14007ce0c
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14007ce24
lea rcx, [rbp + 0x38]
call fcn.1401ff0f0
mov rbx, qword [rbp + 0x38]
cmp rbx, rdi
je 0x14007ceaa
jmp 0x14007cde0
mov qword [rbp + 0x38], rbx
cmp rbx, r12
jne 0x14007ce5e
cmp byte [rdi + 0x19], 0
je 0x14007ce5e
mov r8, qword [rdi + 8]
lea rdx, [0x140307740]
lea rcx, [0x140307740]
call fcn.140209ee0
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [0x140307748], r14
jmp 0x14007cea6
cmp rbx, rdi
je 0x14007ceaa
lea rcx, [rbp + 0x38]
call fcn.1401ff0f0
mov rdx, rbx
lea rcx, [0x140307740]
call fcn.1401ffa10
mov rsi, rax
lea rcx, [rax + 0x40]
call fcn.1401fcd60
lea rcx, [rsi + 0x20]
call fcn.1401fdef0
mov edx, 0x58
mov rcx, rsi
call fcn.140222190
mov rbx, qword [rbp + 0x38]
cmp rbx, rdi
jne 0x14007ce63
mov r15, qword [rbp + 0x50]
mov rsi, qword [0x140307ce8]
mov rcx, rsi
mov rbx, qword [0x140307ce0]
sub rcx, rbx
movabs r13, 0x2aaaaaaaaaaaaaab
mov rax, r13
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14007cfcc
mov r12, r14
nop word [rax + rax]
lea rcx, [r12 + rbx]
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rdx, qword [rbp + 0x40]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14007cf10
mov rcx, qword [rcx]
cmp r8, r15
jne 0x14007cf9f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14007cf9f
movsxd rax, r14d
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, 0x30
add rdi, rbx
cmp rdi, rsi
je 0x14007cf72
lea rbx, [rdi - 0xc]
lea rcx, [rbx - 0x24]
mov rdx, rdi
call fcn.1401fb740
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 0x14007cf41
mov rsi, qword [0x140307ce8]
lea rcx, [rsi - 0x30]
call fcn.1401fdef0
mov rsi, qword [0x140307ce8]
sub rsi, 0x30
mov qword [0x140307ce8], rsi
dec r14d
sub r12, 0x30
mov r15, qword [rbp + 0x50]
mov rbx, qword [0x140307ce0]
inc r14d
add r12, 0x30
mov rcx, rsi
sub rcx, rbx
mov rax, r13
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r14d
cmp rax, rdx
jb 0x14007cef0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
movabs rbx, 0x346dc5d63886594b
mov rax, rbx
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rcx, qword [0x1403076f8]
add rcx, 0x1b58
cmp rcx, rdx
jge 0x14007d621
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.140048400
call fcn.140035250
xor edx, edx
mov r15, qword [rsp + 0x70]
mov rcx, qword [r15 + 0x30]
call fcn.1400718d0
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rcx, rax
mov rax, rbx
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [0x1403076f8], rdx
jmp 0x14007d626
mov dword [rbp + 0x60], r14d
mov ecx, 0x3d
call fcn.140222890
mov qword [rbp + 0x68], rax
mov dword [rbp + 0x64], 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 + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov r8d, 8
lea rdx, str.OnRemove
lea rcx, [rsp + 0x50]
call fcn.140019cb0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x60]
call fcn.140034df0
mov r15, qword [rsp + 0x70]
mov rax, qword [r15 + 0x30]
mov edx, dword [rax + 0xf0]
lea rcx, [rbp - 0x48]
call fcn.140017800
nop
mov r9d, 6
lea r8, str.netID
mov rcx, rax
call fcn.14020baa0
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x88], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x80], 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 + 0x70]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x60]
call fcn.140034df0
nop
lea rcx, [rbp + 0x70]
call fcn.1401fdef0
nop
lea rcx, [rbp - 0x48]
call fcn.1401fdef0
mov dword [rbp + 0x70], r14d
mov ecx, 0x3d
call fcn.140222890
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 + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.OnConsoleMessage
lea rcx, [rsp + 0x50]
call fcn.140019cb0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.140034df0
lea r9, [rbp + 0xa5]
mov r8d, esi
test esi, esi
jns 0x14007d290
neg r8d
nop
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 0x14007d250
dec r9
mov byte [r9], 0x2d
jmp 0x14007d2ba
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 0x14007d290
lea r8, [rbp + 0xa5]
mov rdx, r9
lea rcx, [rbp - 0x48]
call fcn.14020c4a0
mov dword [rbp + 0x38], 0xf0
mov r9, qword [r15 + 0x30]
cmp qword [r9 + 0x380], 0
je 0x14007d2fa
lea rdx, [r9 + 0x370]
lea rcx, [rbp + 0x18]
call fcn.14003da70
nop
mov ebx, 0xf1
jmp 0x14007d35b
lea rcx, [r9 + 0x250]
add r9, 0x98
mov rdx, qword [r9 + 0x10]
mov r8, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, r8
jb 0x14007d66f
cmp qword [r9 + 0x18], 0x10
jb 0x14007d330
mov r9, qword [r9]
cmp qword [rcx + 0x18], 0x10
jb 0x14007d33a
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.14020b410
lea rax, [rbp - 8]
mov ebx, 0x4f2
mov dword [rbp + 0x38], ebx
mov r9d, 3
lea r8, [0x1402a5894]
mov rcx, rax
call fcn.14020baa0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 9
mov dword [rbp + 0x38], ebx
mov r8d, inet_ntoa
lea rdx, str.___left___w
lea rcx, [rsp + 0x50]
call fcn.1401fe250
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 4
mov dword [rbp + 0x38], ebx
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x68]
lea rcx, [rbp - 0x28]
call fcn.14020b220
bts ebx, 8
mov dword [rbp + 0x38], ebx
mov r8d, select
lea rdx, str.___others_here___
lea rcx, [rbp - 0x28]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
or ebx, 8
mov dword [rbp + 0x38], ebx
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x70]
call fcn.140034df0
nop
lea rcx, [rbp - 0x28]
call fcn.1401fdef0
nop
lea rcx, [rbp - 0x68]
call fcn.1401fdef0
nop
lea rcx, [rsp + 0x50]
call fcn.1401fdef0
nop
test bl, 2
je 0x14007d48a
and ebx, 0xfffffffd
lea rcx, [rbp - 8]
call fcn.1401fdef0
nop
test bl, 1
je 0x14007d499
lea rcx, [rbp + 0x18]
call fcn.1401fdef0
nop
lea rcx, [rbp - 0x48]
call fcn.1401fdef0
mov rdi, qword [0x1403076c0]
mov rbx, qword [rdi + 0x28]
imul rax, qword [rdi + 0x30], 0x1c8
add rax, rbx
mov r12, qword [rbp + 0x68]
mov r13, qword [rbp + 0x78]
cmp rbx, rax
jae 0x14007d60e
nop dword [rax]
cmp dword [rbx + 0x38], 5
jne 0x14007d5f2
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x14007d5f2
add rcx, 0x2d0
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0x10
cmovae rdx, qword [rbp + 0x40]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14007d50a
mov rcx, qword [rcx]
cmp r8, qword [rbp + 0x50]
jne 0x14007d5f2
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14007d5f2
movsxd rdx, dword [rbp + 0x64]
lea r8d, [rax + 1]
mov rcx, r12
call fcn.140013230
mov r8, rax
xor edx, edx
mov rcx, rbx
call fcn.1400134c0
cmp esi, 0xe
jg 0x14007d5eb
mov rax, qword [r15 + 0x30]
cmp byte [rax + 0x151], 0
jne 0x14007d5eb
lea rax, [rbp + 0x90]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], r14
xor r8d, r8d
lea rdx, [0x14028682b]
lea rcx, [rbp + 0x90]
call fcn.140019cb0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
mov r8d, gethostbyname
lea rdx, str.actionplay_sfx_nfileaudio_door_shut.wav_ndelayMS0
lea rcx, [rbp - 0x68]
call fcn.140019cb0
nop
lea r8, [rbp + 0x90]
lea rdx, [rbp - 0x68]
mov rcx, rbx
call fcn.14004d820
movsxd rdx, dword [rbp + 0x74]
mov r8d, 1
mov rcx, r13
call fcn.140013230
mov r8, rax
xor edx, edx
mov rcx, rbx
call fcn.1400134c0
mov rdi, qword [0x1403076c0]
add rbx, 0x1c8
imul rax, qword [rdi + 0x30], 0x1c8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x14007d4d0
mov rcx, r13
call fcn.140222190
nop
mov rcx, r12
call fcn.140222190
jmp 0x14007d626
mov r15, qword [rsp + 0x70]
cmp byte [rsp + 0x41], 0
jne 0x14007d636
mov rcx, r15
call fcn.14005bdd0
nop
lea rcx, [rbp + 0x40]
call fcn.1401fdef0
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140222170
lea r11, [rsp + 0x1c0]
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.140017740
nop
int3