Function at 0x140094170
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 [0x1403c6030]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov byte [rsp + 0x40], r8b
mov byte [rsp + 0x41], dl
mov r13, rcx
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov dword [rsp + 0x48], r14d
mov r10d, r14d
mov r9, qword [rcx + 0x30]
mov rax, qword [r9 + 0x550]
sub rax, qword [r9 + 0x548]
sar rax, 2
test rax, rax
je 0x140094241
mov edx, r14d
mov r8d, 0x591
mov r11d, 0x16b8
nop
mov rax, qword [r9 + 0x548]
cmp word [rax + rdx], r8w
jne 0x140094204
mov word [rax + rdx + 2], r14w
mov rax, qword [r13 + 0x30]
mov rax, qword [rax + 0x548]
cmp word [rax + rdx], r11w
jne 0x14009421c
mov word [rax + rdx + 2], r14w
inc r10d
add rdx, 4
mov r9, qword [r13 + 0x30]
mov rcx, qword [r9 + 0x550]
sub rcx, qword [r9 + 0x548]
sar rcx, 2
movsxd rax, r10d
cmp rax, rcx
jb 0x1400941f0
mov rcx, r13
call fcn.140093780
mov rax, qword [r13 + 0x30]
cmp byte [rax + 0x2e9], r14b
jne 0x140094328
lea rax, [rsp + 0x58]
mov qword [rbp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
xor r8d, r8d
lea rdx, [0x1403439cb]
lea rcx, [rsp + 0x58]
call fcn.1400167a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov r8d, 4
lea rdx, str.left
lea rcx, [rbp - 0x80]
call fcn.1400167a0
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x80]
mov rcx, r13
call fcn.140051140
lea rax, [rsp + 0x58]
mov qword [rbp + 0x48], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
xor r8d, r8d
lea rdx, [0x1403439cb]
lea rcx, [rsp + 0x58]
call fcn.1400167a0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov r8d, gethostbyname
lea rdx, str.actionplay_sfx_nfileaudio_door_shut.wav_ndelayMS0
lea rcx, [rbp - 0x80]
call fcn.1400167a0
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x80]
mov rcx, r13
call fcn.14004ec40
mov esi, r14d
mov dword [rsp + 0x48], r14d
mov rdx, qword [r13 + 0x30]
add rdx, 0x488
lea rcx, [rbp + 0x60]
call fcn.140017b30
nop
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x1cc], 0xffffffff
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x1d0], 0xffffffff
mov rcx, qword [r13 + 0x30]
add rcx, 0x488
xor r8d, r8d
lea rdx, [0x1403439cb]
call fcn.14029f010
mov rax, qword [r13 + 0x30]
mov dword [rax + 0xa00], 0xffffffff
mov rax, qword [r13 + 0x30]
mov dword [rax + 0xa04], 0xffffffff
mov rax, qword [r13 + 0x30]
mov byte [rax + 0xe08], 0
mov rdi, qword [r13 + 0x30]
mov r15, qword [rdi + 0x240]
mov rbx, qword [r15 + 8]
cmp byte [rbx + 0x19], 0
jne 0x1400943ed
nop word [rax + rax]
mov r8, qword [rbx + 0x10]
lea rdx, [rdi + 0x240]
lea rcx, [rdi + 0x240]
call fcn.1402a88b0
mov rcx, rbx
mov rbx, qword [rbx]
mov edx, 0x28
call fcn.1402d0d60
cmp byte [rbx + 0x19], 0
je 0x1400943c0
mov qword [r15 + 8], r15
mov qword [r15], r15
mov qword [r15 + 0x10], r15
mov qword [rdi + 0x248], r14
mov rax, qword [r13 + 0x30]
mov byte [rax + 0x266], 0
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x278], r14d
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x27c], r14d
mov rax, qword [r13 + 0x30]
mov dword [rax + 0x280], r14d
mov rax, qword [r13 + 0x30]
mov byte [rax + 0x267], 0
mov rax, qword [r13 + 0x30]
mov byte [rax + 0x264], 0
mov r15, qword [0x1403c79b0]
mov rbx, qword [r15 + 0x28]
imul rax, qword [r15 + 0x30], 0x1c8
add rax, rbx
mov r9, qword [rbp + 0x78]
mov qword [rsp + 0x78], r9
mov r12, qword [rbp + 0x70]
mov qword [rbp + 0x48], r12
mov r8, qword [rbp + 0x60]
mov qword [rbp - 0x60], r8
cmp rbx, rax
jae 0x14009453d
add rbx, 0x30
mov r13, r12
mov r14d, dword [rsp + 0x48]
mov r12d, esi
cmp dword [rbx + 8], 5
jne 0x1400944fc
mov rdi, qword [rbx]
test rdi, rdi
je 0x1400944fc
cmp qword [rdi + 0x418], 0
je 0x1400944fc
test r13, r13
je 0x1400944e3
lea rcx, [rdi + 0x488]
lea rdx, [rbp + 0x60]
cmp r9, 0x10
cmovae rdx, r8
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1400944c6
mov rcx, qword [rcx]
cmp r8, r13
jne 0x1400944e3
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400944e3
inc r14d
inc esi
cmp byte [rdi + 0x2e9], al
cmovne esi, r12d
cmp dword [0x1403c6060], 0x42c3
jne 0x1400944fc
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r15, qword [0x1403c79b0]
add rbx, 0x1c8
imul rcx, qword [r15 + 0x30], 0x1c8
add rcx, qword [r15 + 0x28]
lea rax, [rbx - 0x30]
cmp rax, rcx
mov r8, qword [rbp - 0x60]
mov r9, qword [rsp + 0x78]
jb 0x140094485
test r14d, r14d
mov r14d, 0
mov r13, qword [rsp + 0x50]
mov r12, qword [rbp + 0x48]
jne 0x140094768
cmp byte [rsp + 0x40], 0
je 0x140094768
mov rdi, qword [0x1403c7a40]
mov r15, qword [rdi]
mov rbx, r15
mov qword [rbp + 0x48], rbx
cmp r15, rdi
je 0x140094639
cmp r9, 0x10
setae sil
nop word [rax + rax]
lea rcx, [rbx + 0x20]
lea rdx, [rbp + 0x60]
test sil, sil
cmovne rdx, r8
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14009458d
mov rcx, qword [rcx]
cmp r8, r12
jne 0x14009459b
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400945b7
lea rcx, [rbp + 0x48]
call fcn.1402a0030
mov rbx, qword [rbp + 0x48]
cmp rbx, rdi
je 0x140094639
mov r8, qword [rbp - 0x60]
jmp 0x140094570
mov qword [rbp + 0x48], rbx
cmp rbx, r15
jne 0x1400945f1
cmp byte [rdi + 0x19], 0
je 0x1400945f1
mov r8, qword [rdi + 8]
lea rdx, [0x1403c7a40]
lea rcx, [0x1403c7a40]
call fcn.1402ad2c0
mov qword [rdi + 8], rdi
mov qword [rdi], rdi
mov qword [rdi + 0x10], rdi
mov qword [0x1403c7a48], r14
jmp 0x140094639
cmp rbx, rdi
je 0x140094639
lea rcx, [rbp + 0x48]
call fcn.1402a0030
mov rdx, rbx
lea rcx, [0x1403c7a40]
call fcn.1402a0960
mov rsi, rax
lea rcx, [rax + 0x40]
call fcn.14029d7b0
lea rcx, [rsi + 0x20]
call fcn.14029ed10
mov edx, 0x58
mov rcx, rsi
call fcn.1402d0d60
mov rbx, qword [rbp + 0x48]
cmp rbx, rdi
jne 0x1400945f6
mov rsi, qword [0x1403c8068]
mov rcx, rsi
mov rbx, qword [0x1403c8060]
sub rcx, rbx
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140094dda
cmp qword [rsp + 0x78], 0x10
setae r13b
mov r15, r14
nop dword [rax + rax]
lea rcx, [rbx + r15]
lea rdx, [rbp + 0x60]
test r13b, r13b
cmovne rdx, qword [rbp - 0x60]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14009469e
mov rcx, qword [rcx]
cmp r8, r12
jne 0x14009472a
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009472a
movsxd rax, r14d
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, 0x30
add rdi, rbx
cmp rdi, rsi
je 0x140094701
lea rbx, [rdi - 0xc]
nop dword [rax + rax]
lea rcx, [rbx - 0x24]
mov rdx, rdi
call fcn.14029c0f0
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 0x1400946d0
mov rsi, qword [0x1403c8068]
lea rcx, [rsi - 0x30]
call fcn.14029ed10
mov rsi, qword [0x1403c8068]
sub rsi, 0x30
mov qword [0x1403c8068], rsi
dec r14d
sub r15, 0x30
mov rbx, qword [0x1403c8060]
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
jb 0x140094680
mov r13, qword [rsp + 0x50]
jmp 0x140094dda
mov dword [rbp + 0x50], r14d
mov ecx, 0x3d
call fcn.1402d160c
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 + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov r8d, 8
lea rdx, str.OnRemove
lea rcx, [rsp + 0x58]
call fcn.1400167a0
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x50]
call fcn.1400348f0
mov rax, qword [r13 + 0x30]
mov r8d, dword [rax + 0x1bc]
lea r9, [rbp + 0x95]
test r8d, r8d
jns 0x140094850
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 0x140094810
dec r9
mov byte [r9], 0x2d
jmp 0x14009487a
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 0x140094850
lea r8, [rbp + 0x95]
mov rdx, r9
lea rcx, [rbp - 0x58]
call fcn.1402af720
mov dword [rsp + 0x48], 0x80000000
mov r9d, 6
lea r8, str.netID
xor edx, edx
lea rcx, [rbp - 0x58]
call fcn.14029ef10
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 1
lea rdx, [0x1403485ec]
lea rcx, [rbp - 0x80]
call fcn.14029f170
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x98], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rbp + 0x98]
lea rcx, [rbp + 0x50]
call fcn.1400348f0
nop
lea rcx, [rbp - 0x80]
call fcn.14029ed10
nop
lea rcx, [rbp - 0x58]
call fcn.14029ed10
mov dword [rbp + 0x80], r14d
mov ecx, 0x3d
call fcn.1402d160c
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x84], 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 + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.OnConsoleMessage
lea rcx, [rsp + 0x58]
call fcn.1400167a0
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x80]
call fcn.1400348f0
lea r9, [rbp + 0xad]
mov r8d, esi
test esi, esi
jns 0x140094a40
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 0x140094a00
dec r9
mov byte [r9], 0x2d
jmp 0x140094a6a
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 0x140094a40
lea r8, [rbp + 0xad]
mov rdx, r9
lea rcx, [rbp + 8]
call fcn.1402af720
nop
mov r9, qword [r13 + 0x30]
cmp qword [r9 + 0x538], 0
je 0x140094aa4
lea rdx, [r9 + 0x528]
lea rcx, [rbp + 0x28]
call fcn.140017b30
nop
mov ebx, 0x80000001
jmp 0x140094b05
lea rcx, [r9 + 0x408]
add r9, 0x198
mov rdx, qword [r9 + 0x10]
mov r8, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, r8
jb 0x140094e23
cmp qword [r9 + 0x18], 0x10
jb 0x140094ada
mov r9, qword [r9]
cmp qword [rcx + 0x18], 0x10
jb 0x140094ae4
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x18]
call fcn.1402ae8c0
lea rax, [rbp - 0x18]
mov ebx, 0x80000002
mov dword [rsp + 0x48], ebx
mov r9d, 3
lea r8, [0x14035891c]
xor edx, edx
mov rcx, rax
call fcn.14029ef10
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 0x1b
mov dword [rsp + 0x48], ebx
mov r8d, ntohl
lea rdx, str.___left___w
lea rcx, [rsp + 0x58]
call fcn.14029f170
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, 0x1c
mov dword [rsp + 0x48], ebx
lea r9, [rbp + 8]
lea r8, [rbp - 0x58]
lea rcx, [rbp - 0x38]
call fcn.1402ae6d0
bts ebx, 0x1d
mov dword [rsp + 0x48], ebx
mov r8d, select
lea rdx, str.___others_here___
lea rcx, [rbp - 0x38]
call fcn.14029f170
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts ebx, 0x1e
mov dword [rsp + 0x48], ebx
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x80]
call fcn.1400348f0
nop
lea rcx, [rbp - 0x38]
call fcn.14029ed10
nop
lea rcx, [rbp - 0x58]
call fcn.14029ed10
nop
lea rcx, [rsp + 0x58]
call fcn.14029ed10
nop
test bl, 2
je 0x140094c3d
and ebx, 0xfffffffd
lea rcx, [rbp - 0x18]
call fcn.14029ed10
nop
test bl, 1
je 0x140094c4c
lea rcx, [rbp + 0x28]
call fcn.14029ed10
nop
lea rcx, [rbp + 8]
call fcn.14029ed10
mov rdi, qword [0x1403c79b0]
mov rbx, qword [rdi + 0x28]
imul rax, qword [rdi + 0x30], 0x1c8
add rax, rbx
mov r15, qword [rbp + 0x58]
cmp rbx, rax
jae 0x140094dc5
nop dword [rax + rax]
cmp dword [rbx + 0x38], 5
jne 0x140094da9
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140094da9
add rcx, 0x488
lea rdx, [rbp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140094cbb
mov rcx, qword [rcx]
cmp r8, r12
jne 0x140094da9
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140094da9
movsxd rdx, dword [rbp + 0x54]
lea r8d, [rax + 1]
mov rcx, r15
call fcn.14000ff40
mov r8, rax
xor edx, edx
mov rcx, rbx
call fcn.1400101d0
cmp esi, 0xe
jg 0x140094da2
mov rax, qword [r13 + 0x30]
cmp byte [rax + 0x2e9], 0
jne 0x140094da2
lea rax, [rbp + 0x98]
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], r14
mov qword [rbp + 0xb0], r14
xor r8d, r8d
lea rdx, [0x1403439cb]
lea rcx, [rbp + 0x98]
call fcn.1400167a0
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.1400167a0
nop
lea r8, [rbp + 0x98]
lea rdx, [rbp - 0x58]
mov rcx, rbx
call fcn.14004ec40
movsxd rdx, dword [rbp + 0x84]
mov r8d, 1
mov rcx, qword [rbp + 0x88]
call fcn.14000ff40
mov r8, rax
xor edx, edx
mov rcx, rbx
call fcn.1400101d0
mov rdi, qword [0x1403c79b0]
add rbx, 0x1c8
imul rax, qword [rdi + 0x30], 0x1c8
add rax, qword [rdi + 0x28]
cmp rbx, rax
jb 0x140094c80
mov rcx, qword [rbp + 0x88]
call fcn.1402d0d60
nop
mov rcx, r15
call fcn.1402d0d60
cmp byte [rsp + 0x41], 0
jne 0x140094dea
mov rcx, r13
call fcn.140063400
nop
lea rcx, [rbp + 0x60]
call fcn.14029ed10
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.1402d0d40
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.140014450
nop
int3