Function at 0x5f8180
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x60]
cmp r12, qword [r14 + 0x10]
jbe 0x5f8916
sub rsp, 0xe0
mov qword [rsp + 0xd8], rbp
lea rbp, [rsp + 0xd8]
mov rcx, qword [rax]
cmp byte [rax + 0x29], 0
jne 0x5f8285
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0xb8], rcx
mov rdx, qword [rcx + 0x48]
nop
cmp qword [rdx + 0x90], 1
jl 0x5f8299
lea rax, [0x006dfe00]
nop dword [rax]
call fcn.0040d960
mov word [rax + 0x18], 0x101
mov rcx, qword [0x0092d1b0]
mov rdx, qword [0x0092d1b8]
mov rbx, qword [0x0092d1c0]
mov qword [rax + 0x28], rdx
mov qword [rax + 0x30], rbx
cmp dword [0x0098e150], 0
jne 0x5f8217
mov qword [rax + 0x20], rcx
jmp 0x5f8225
lea rdi, [rax + 0x20]
nop dword [rax + rax]
call fcn.00465c00
mov qword [rsp + 0xa8], rax
mov rdx, qword [rsp + 0xb8]
mov rsi, qword [rdx + 0x48]
mov rsi, qword [rsi + 0x98]
test rsi, rsi
je 0x5f8805
mov qword [rsp + 0xd0], rsi
mov rcx, qword [rsi + 0x10]
mov qword [rsp + 0x48], rcx
lea rax, [0x006a2460]
mov rbx, rcx
call fcn.0044a860
mov rdx, qword [rsp + 0xd0]
mov rsi, qword [rdx + 8]
mov rdx, qword [rdx + 0x10]
mov rdi, qword [rsp + 0x48]
xor ecx, ecx
jmp 0x5f888b
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0xd8]
add rsp, 0xe0
ret
lea rax, [0x006d7f20]
call fcn.0040d960
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xe8]
mov rsi, qword [rcx + 0x38]
test byte [rsi], al
cmp dword [0x0098e150], 0
jne 0x5f82f5
mov rdx, qword [rsi]
mov qword [rax + 0x18], rdx
add rsi, 8
lea rdi, [rax + 0x20]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.004665be
mov rbp, qword [rbp]
jmp 0x5f8318
lea rbx, [rax + 0x18]
mov rcx, rsi
lea rax, [0x006dfd00]
call fcn.00413e40
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rcx + 0x18]
cmp byte [rdx + 0x150], 0
je 0x5f8333
mov rdx, qword [rcx + 0x38]
cmp qword [rdx + 0x60], 0
setne dl
jmp 0x5f8335
xor edx, edx
mov byte [rax + 0x91], dl
mov rdx, qword [rcx + 0x18]
cmp byte [rdx + 0x90], 0
je 0x5f8356
mov rdx, qword [rcx + 0x38]
cmp qword [rdx + 0x48], 0
setne dl
jmp 0x5f8358
xor edx, edx
mov byte [rax + 0x90], dl
mov rdx, qword [rcx]
mov qword [rsp + 0xc8], rdx
mov rbx, qword [rcx + 0xc0]
mov rsi, qword [rcx + 0xc8]
mov qword [rsp + 0xc0], rsi
lea rax, [0x006b7e60]
call fcn.0040b120
lea rbx, [0x00782398]
mov rcx, qword [rsp + 0xb0]
mov rdi, rax
mov rsi, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc8]
call fcn.005ce000
test rbx, rbx
jne 0x5f87d5
lea rax, [0x006d7fe0]
call fcn.0040d960
mov qword [rsp + 0xa0], rax
mov byte [rax + 0x18], 1
mov rcx, qword [rsp + 0xe8]
movzx edx, word [rcx + 0x40]
mov word [rax + 0x1a], dx
movzx edx, word [rcx + 0x40]
mov eax, edx
call fcn.005c3280
test rcx, rcx
jne 0x5f87ae
mov byte [rsp + 0x47], al
mov qword [rsp + 0x70], rbx
mov rdx, qword [rsp + 0xe8]
mov rdi, qword [rdx + 0xc0]
mov rsi, qword [rdx + 0xc8]
mov rax, rbx
lea rbx, str.TLS_1.3__server_CertificateVerify
mov ecx, 0x22
call fcn.005c3080
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x70]
call fcn.0040af40
movzx edx, byte [rsp + 0x47]
cmp dl, 0xe2
je 0x5f8459
lea rcx, [0x00781bc0]
jmp 0x5f847c
lea rax, [0x006c3400]
call fcn.0040d960
mov qword [rax], 0xffffffffffffffff
mov rcx, qword [rsp + 0x70]
mov qword [rax + 8], rcx
lea rcx, [0x00781620]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x68], rcx
mov rdx, qword [rsp + 0xe8]
mov rsi, qword [rdx + 0x38]
mov rbx, qword [rsi + 0x18]
mov rsi, qword [rsi + 0x20]
mov qword [rsp + 0xc0], rsi
lea rax, [0x006b9a40]
call fcn.0040b320
mov rcx, qword [rsp + 0xb8]
mov rdx, qword [rcx + 0x48]
mov rsi, qword [rdx]
mov rdx, qword [rdx + 8]
test rsi, rsi
jne 0x5f84d7
mov rsi, qword [0x00938700]
mov rdx, qword [0x00938708]
mov r11, qword [rax + 0x20]
mov rax, qword [rsp + 0xc0]
mov rbx, rsi
mov rcx, rdx
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov r9, qword [rsp + 0x68]
mov r10, qword [rsp + 0x90]
call r11
test rdi, rdi
jne 0x5f85cf
mov rdi, qword [rsp + 0xa0]
mov qword [rdi + 0x28], rbx
mov qword [rdi + 0x30], rcx
cmp dword [0x0098e150], 0
jne 0x5f8533
mov qword [rdi + 0x20], rax
jmp 0x5f853f
lea rcx, [rdi + 0x20]
mov rdi, rcx
call fcn.00465b00
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rcx]
mov qword [rsp + 0xc8], rdx
mov rbx, qword [rcx + 0xc0]
mov rcx, qword [rcx + 0xc8]
mov qword [rsp + 0xc0], rcx
lea rax, [0x006b7e60]
call fcn.0040b120
lea rbx, [0x00782438]
mov rcx, qword [rsp + 0xa0]
mov rdi, rax
mov rsi, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc8]
call fcn.005ce000
nop dword [rax + rax]
test rbx, rbx
je 0x5f85bb
mov rax, rbx
mov rbx, rcx
mov rbp, qword [rsp + 0xd8]
add rsp, 0xe0
ret
xor eax, eax
xor ebx, ebx
mov rbp, qword [rsp + 0xd8]
add rsp, 0xe0
ret
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x98], rsi
mov rcx, qword [rsp + 0xe8]
mov rcx, qword [rcx + 0x38]
mov rbx, qword [rcx + 0x18]
mov rcx, qword [rcx + 0x20]
mov qword [rsp + 0xc0], rcx
lea rax, [0x006b9a40]
nop
call fcn.0040b320
mov rcx, qword [rax + 0x18]
mov rax, qword [rsp + 0xc0]
call rcx
lea rcx, [0x006b4320]
cmp rax, rcx
je 0x5f8624
mov ebx, 0
jne 0x5f870c
movzx edx, byte [rsp + 0x47]
cmp dl, 0xe2
jne 0x5f870c
mov rdx, qword [rbx]
mov rsi, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
lea rdi, [rsi - 1]
test rdi, rdi
jl 0x5f86a9
mov rdx, qword [rdx + rsi*8 - 8]
mov rsi, rdx
shr rdx, 1
or rsi, rdx
mov rdx, rsi
shr rsi, 2
or rsi, rdx
mov rdx, rsi
shr rsi, 4
or rsi, rdx
mov rdx, rsi
shr rsi, 8
or rsi, rdx
mov rdx, rsi
shr rsi, 0x10
or rsi, rdx
mov rdx, rsi
shr rsi, 0x20
or rsi, rdx
bsr rdx, rsi
mov rsi, 0xffffffffffffffff
cmove rdx, rsi
shl rdi, 6
lea rdx, [rdx + rdi]
lea rdx, [rdx + 1]
jmp 0x5f86ab
xor edx, edx
mov rax, qword [rsp + 0x70]
lea rsi, [rax - 1]
cmp rsi, 0x13
jae 0x5f87f0
mov rcx, qword [0x0092d018]
mov rsi, qword [0x0092d010]
cmp rax, rcx
jae 0x5f87eb
mov rcx, rdx
sar rdx, 0x3f
shr rdx, 0x3d
add rcx, rdx
sar rcx, 3
movzx edx, byte [rsi + rax]
lea rdx, [rdx + rdx]
lea rdx, [rdx + 2]
cmp rdx, rcx
jle 0x5f870c
mov rax, qword [rsp + 0xb8]
mov ebx, 0x28
call fcn.005cd240
jmp 0x5f871e
mov rax, qword [rsp + 0xb8]
mov ebx, 0x50
call fcn.005cd240
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x18]
mov rax, qword [rsp + 0x98]
call rcx
mov ecx, 0x1f
mov rdi, rax
mov rsi, rbx
xor eax, eax
lea rbx, [0x0070407c]
call fcn.0044e780
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], rbx
lea rax, [0x006bd420]
nop
call fcn.0040d960
mov rcx, qword [rsp + 0x50]
mov qword [rax + 8], rcx
cmp dword [0x0098e150], 0
jne 0x5f8784
mov rcx, qword [rsp + 0x80]
mov qword [rax], rcx
jmp 0x5f8794
mov rdi, rax
mov rcx, qword [rsp + 0x80]
call fcn.00465c00
mov rbx, rax
lea rax, [0x00781760]
mov rbp, qword [rsp + 0xd8]
add rsp, 0xe0
ret
mov rax, qword [rsp + 0xb8]
mov ebx, 0x50
nop dword [rax + rax]
call fcn.005cd240
mov rbp, qword [rsp + 0xd8]
add rsp, 0xe0
ret
mov rax, rbx
mov rbx, rcx
mov rbp, qword [rsp + 0xd8]
add rsp, 0xe0
ret
call fcn.00465fc0
lea rax, [0x006a4ea0]
lea rbx, [0x00780610]
nop
call fcn.00436420
mov rcx, qword [rsp + 0xe8]
mov rdx, qword [rcx]
mov qword [rsp + 0xc8], rdx
mov rbx, qword [rcx + 0xc0]
mov rsi, qword [rcx + 0xc8]
mov qword [rsp + 0xc0], rsi
lea rax, [0x006b7e60]
call fcn.0040b120
lea rbx, [0x007823e8]
mov rcx, qword [rsp + 0xa8]
mov rdi, rax
mov rsi, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc8]
nop dword [rax]
call fcn.005ce000
test rbx, rbx
je 0x5f8299
mov rax, rbx
mov rbx, rcx
mov rbp, qword [rsp + 0xd8]
add rsp, 0xe0
ret
add rsi, 0x20
inc rcx
cmp rcx, rdx
jge 0x5f88d8
mov r8, qword [rsi]
mov r9, qword [rsi + 8]
mov r10, qword [rsi + 0x10]
nop dword [rax + rax]
cmp rcx, rdi
jae 0x5f890a
lea r11, [rcx + rcx*2]
mov qword [rax + r11*8 + 8], r9
mov qword [rax + r11*8 + 0x10], r10
lea r9, [rax + r11*8]
cmp dword [0x0098e150], 0
nop
jne 0x5f88c8
mov qword [rax + r11*8], r8
jmp 0x5f8884
mov rbx, rdi
mov rdi, r9
call fcn.00465c80
mov rdi, rbx
jmp 0x5f8884
mov rcx, qword [rsp + 0xa8]
mov qword [rcx + 0x58], rdi
mov qword [rcx + 0x60], rdi
cmp dword [0x0098e150], 0
jne 0x5f88fa
mov qword [rcx + 0x50], rax
jmp 0x5f8805
lea rdi, [rcx + 0x50]
nop
call fcn.00465b00
jmp 0x5f8805
mov rax, rcx
mov rcx, rdi
call fcn.00465fa0
nop
mov qword [rsp + 8], rax
nop dword [rax + rax]
call fcn.00463940
mov rax, qword [rsp + 8]
jmp fcn.005f8180