Function at 0x140012c30
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
movaps xmmword [rsp + 0x110], xmm6
mov rax, qword [0x1400c0688]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r14, rdx
mov r13, rcx
add rcx, 0xb0
call fcn.140016630
xor r15d, r15d
mov qword [r13 + 0x98], r15
mov dword [r13 + 0x94], r15d
mov qword [rsp + 0x24], 0xffffffffffffffff
mov rax, qword [rsp + 0x24]
mov qword [r13 + 0xa4], rax
movsx rdx, word [r14 + 0x3e]
xor r8d, r8d
mov rcx, r13
call fcn.140025420
mov rcx, r13
cmp qword [r13 + 0x18], 0x10
jb 0x140012cba
mov rcx, qword [r13]
lea rdx, [r14 + 0x40]
mov r8, qword [r13 + 0x10]
call fcn.14006ae80
mov rcx, qword [r13 + 0x10]
test rcx, rcx
je 0x140013350
cmp qword [r13 + 0x18], 0x10
jb 0x140012ce8
mov rdi, qword [r13]
mov rbx, rdi
lea rsi, [rcx + rdi]
jmp 0x140012cf2
lea rsi, [rcx + r13]
mov rbx, r13
mov rdi, r13
cmp rbx, rsi
je 0x140012d09
movsx ecx, byte [rbx]
call fcn.140073fd4
mov byte [rdi], al
inc rbx
inc rdi
jmp 0x140012cf2
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xb8], xmm1
mov rcx, r15
mov qword [rsp + 0xc8], rcx
mov r12, qword [r13 + 0x10]
add r12, r14
mov eax, dword [r12 + 0x40]
mov dword [r13 + 0x94], eax
mov eax, dword [r12 + 0x44]
mov dword [r13 + 0x98], eax
mov eax, dword [r12 + 0x48]
mov dword [r13 + 0x9c], eax
add r12, 0x4c
mov eax, r15d
mov r8d, 0xeb0
mov r9d, 8
mov dword [rsp + 0x20], eax
cmp eax, dword [r13 + 0x9c]
jge 0x1400130fd
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xd8], xmm0
movzx ebx, word [r12]
mov word [rsp + 0xd0], bx
movzx esi, word [r12 + 2]
mov word [rsp + 0xd2], si
movzx edi, word [r12 + 4]
mov word [rsp + 0xd4], di
movzx r14d, byte [r12 + 6]
mov byte [rsp + 0xd6], r14b
movzx r15d, byte [r12 + 7]
mov byte [rsp + 0xd7], r15b
mov edx, 0xa
test di, di
cmove edx, r9d
add rdx, r12
mov r12, rdx
cmp bx, r8w
jne 0x140012e36
lea r12, [rdx + 0x16]
mov rax, qword [rsp + 0xc0]
cmp rax, rcx
je 0x140012e14
mov word [rax], bx
mov word [rax + 2], si
mov word [rax + 4], di
mov byte [rax + 6], r14b
mov byte [rax + 7], r15b
xor ecx, ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
add qword [rsp + 0xc0], 0x18
jmp 0x1400130a1
lea r8, [rsp + 0xd0]
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0xb8]
call fcn.14000b770
jmp 0x1400130a1
mov rcx, rbx
mov rax, qword [0x1400c4f88]
mov rdx, qword [0x1400c4f80]
sub rax, rdx
sar rax, 5
cmp rax, rbx
jbe 0x140013382
shl rcx, 5
add rcx, rdx
xor edx, edx
lea r8d, [rdx + 0xa]
call fcn.140029a20
movsxd rdx, eax
cmp edx, 0x38
ja 0x140012e81
movabs rax, 0x1fec9560408240c
bt rax, rdx
jb 0x140012ee3
cmp ebx, 0x8c6
je 0x140012ee3
cmp edx, 0x3f
ja 0x140012e9e
movabs r8, 0xea00000000000000
bt r8, rdx
jb 0x140012ee3
cmp ebx, 0xeb0
je 0x140012ee3
lea eax, [rdx - 0x42]
cmp eax, 0x3d
ja 0x140012ebe
movabs r8, 0x2006a00c8afed583
bt r8, rax
jb 0x140012ee3
cmp edx, 0xffffff82
je 0x140012ee3
cmp edx, 0x82
je 0x140012ee3
test bl, 1
jne case.0x140012f0d.0
lea eax, [rbx - 0x16ba]
cmp eax, 0x72
ja case.0x140012f0d.0
movzx eax, byte [r12]
inc r12
cmp eax, 0x4a
ja case.0x140012f0d.0
lea rdx, [0x140000000]
movzx eax, byte [rdx + rax + 0x133fc]
mov ecx, dword [rdx + rax*4 + 0x13390]
add rcx, rdx
jmp rcx
movzx eax, word [r12]
add r12, 3
add r12, rax
jmp case.0x140012f0d.0
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
lea r8d, [rax + 0x10]
lea rdx, str.Safe_vault_found
lea rcx, [rsp + 0x58]
call fcn.14000b120
lea rcx, [rsp + 0x58]
call fcn.14002f750
jmp case.0x140012f0d.0
movzx eax, word [r12]
add r12, 6
add r12, rax
jmp case.0x140012f0d.0
movzx eax, byte [r12 + 5]
lea r12, [r12 + rax*4]
add r12, 0x11
jmp case.0x140012f0d.0
add r12, 5
jmp case.0x140012f0d.0
movzx eax, word [r12 + 4]
add r12, 6
add r12, rax
jmp case.0x140012f0d.0
movzx eax, word [r12]
add r12, 0x19
add r12, rax
jmp case.0x140012f0d.0
inc r12
jmp case.0x140012f0d.0
add r12, 0x12
jmp case.0x140012f0d.0
add r12, 8
jmp case.0x140012f0d.0
inc r12
mov eax, dword [r12]
lea eax, [rax*4]
movsxd rcx, eax
add rcx, 4
add r12, rcx
jmp case.0x140012f0d.0
add r12, 6
jmp case.0x140012f0d.0
mov eax, 0xd42
cmp bx, ax
jne case.0x140012f0d.0
movzx eax, word [r12]
add r12, 2
add r12, rax
jmp case.0x140012f0d.0
movzx eax, word [r12]
add r12, 0x22
add r12, rax
jmp case.0x140012f0d.0
add r12, 0x10
jmp case.0x140012f0d.0
add r12, 5
movzx eax, byte [r12]
lea r12, [r12 + rax*4]
add r12, 4
mov rdx, qword [rsp + 0xc0]
cmp rdx, qword [rsp + 0xc8]
je 0x14001308b
mov word [rdx], bx
mov word [rdx + 2], si
mov word [rdx + 4], di
mov byte [rdx + 6], r14b
mov byte [rdx + 7], r15b
xor eax, eax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
add qword [rsp + 0xc0], 0x18
jmp 0x1400130a1
movzx eax, word [r12]
add r12, 7
add r12, rax
jmp case.0x140012f0d.0
movzx eax, word [r12]
add r12, 0x1c
add r12, rax
jmp case.0x140012f0d.0
add r12, 9
jmp case.0x140012f0d.0
movsx rax, word [r12]
add r12, 2
add r12, rax
jmp case.0x140012f0d.0
add r12, 0xe
jmp case.0x140012f0d.0
imul ecx, dword [r12], 0xf
add r12, 0xc
add r12, rcx
jmp case.0x140012f0d.0
lea r8, [rsp + 0xd0]
lea rcx, [rsp + 0xb8]
call fcn.14000b770
nop
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x1400130ea
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400130ea
mov rbx, qword [rsp + 0xe0]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400130ea
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov eax, dword [rsp + 0x20]
inc eax
mov rcx, qword [rsp + 0xc8]
jmp 0x140012d52
xor r15d, r15d
mov esi, r15d
cmp esi, dword [r13 + 0x98]
jge 0x140013224
mov edi, r15d
cmp edi, dword [r13 + 0x94]
jge 0x14001321d
imul r8d, esi, 0x64
add r8d, edi
movsxd rax, r8d
lea rcx, [rax + rax*2]
mov rdx, qword [rsp + 0xb8]
movzx eax, word [rdx + rcx*8]
mov word [rsp + 0x30], ax
movzx eax, word [rdx + rcx*8 + 2]
mov word [rsp + 0x32], ax
movzx eax, word [rdx + rcx*8 + 4]
mov word [rsp + 0x34], ax
movzx eax, byte [rdx + rcx*8 + 6]
mov byte [rsp + 0x36], al
movzx eax, byte [rdx + rcx*8 + 7]
mov byte [rsp + 0x37], al
mov rax, qword [rdx + rcx*8 + 0x10]
test rax, rax
je 0x140013173
lock inc dword [rax + 8]
mov rax, qword [rdx + rcx*8 + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rdx + rcx*8 + 0x10]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x4c], esi
mov dword [rsp + 0x24], r8d
lea r8, [rsp + 0x24]
lea rdx, [rsp + 0x98]
lea rcx, [r13 + 0xb0]
call fcn.14000d400
mov rbx, qword [rax]
lea rdx, [rsp + 0x30]
lea rcx, [rbx + 0x18]
call fcn.140010940
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x30], rax
cmp word [rsp + 0x30], 6
jne 0x1400131d6
mov qword [r13 + 0xa4], rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140013216
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140013216
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140013216
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
inc edi
jmp 0x140013113
inc esi
jmp 0x140013103
mov edi, dword [r12]
mov eax, dword [r12 + 4]
mov dword [r13 + 0xa0], eax
add r12, 8
nop dword [rax + rax]
cmp r15d, edi
jge 0x1400132ce
movzx eax, word [r12]
mov word [rsp + 0xe8], ax
mov eax, dword [r12 + 2]
mov dword [rsp + 0xec], eax
mov eax, dword [r12 + 6]
mov dword [rsp + 0xf0], eax
movzx eax, byte [r12 + 0xa]
mov byte [rsp + 0xf4], al
movzx eax, byte [r12 + 0xb]
mov byte [rsp + 0xf5], al
mov ebx, dword [r12 + 0xc]
mov dword [rsp + 0xf8], ebx
add r12, 0x10
movups xmm6, xmmword [rsp + 0xe8]
lea rcx, [r13 + 0xf0]
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0xa8]
call fcn.14000cff0
mov rax, qword [rax]
movups xmmword [rax + 0x14], xmm6
mov dword [rax + 0x24], ebx
inc r15d
jmp 0x140013240
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x140013350
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0xc0]
call fcn.14000b1e0
mov rcx, qword [rsp + 0xc8]
mov r8, qword [rsp + 0xb8]
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*2]
shl rdx, 3
mov rax, r8
cmp rdx, 0x1000
jb 0x140013347
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013388
mov rcx, r8
call fcn.140069a84
nop
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.140069ba0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140015b90
nop
call fcn.14007049c
int3