Function at 0x538cc0
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0xa8]
cmp r12, qword [r14 + 0x10]
jbe 0x538fe6
push rbp
mov rbp, rsp
sub rsp, 0x120
mov qword [rsp + 0x1b0], rax
mov rcx, rdi
lea rdi, [rsp + 0x130]
nop word [rax + rax]
nop dword [rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00470842
mov rbp, qword [rbp]
lea rdi, [rsp + 0x18]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00470842
mov rbp, qword [rbp]
cmp rbx, 0x80
mov edx, pe_nt_image_headers64
cmovl rdx, rbx
lea r8, [rsp + 0x18]
cmp rax, r8
je 0x538d7b
mov qword [rsp + 0x118], rcx
mov qword [rsp + 0x1b8], rbx
mov rbx, rax
mov rcx, rdx
mov rax, r8
call sym.runtime.memmove
mov rcx, qword [rsp + 0x118]
mov rbx, qword [rsp + 0x1b8]
lea rdx, [rcx + 7]
sar rdx, 0x3f
shr rdx, 0x3d
lea rdx, [rdx + rcx]
lea rdx, [rdx + 7]
sar rdx, 3
mov r8, rdx
shl rdx, 3
sub rcx, rdx
add rcx, 8
mov edx, 1
shl rdx, cl
cmp rcx, 0x40
sbb r9, r9
and rdx, r9
test rdx, rdx
je 0x538fe0
mov eax, 0xff
mov r9, rdx
xor edx, edx
div r9
mov rax, rbx
jmp 0x538df6
movzx r10d, byte [rsp + r9 + 0x17]
movzx r11d, byte [rsp + rbx + 0x18]
add r10d, r11d
movzx r10d, r10b
lea r11, [0x006dee00]
movzx r10d, byte [r10 + r11]
mov byte [rsp + r9 + 0x18], r10b
lea rbx, [r9 + 1]
cmp rbx, 0x80
jge 0x538e2e
lea r9, [rbx - 1]
cmp r9, 0x80
jae 0x538fd2
mov r9, rbx
sub rbx, rax
movzx ebx, bl
nop dword [rax]
cmp rbx, 0x80
jb 0x538dce
jmp 0x538fc5
lea rax, [r8 - 0x80]
neg rax
nop word [rax + rax]
nop
cmp rax, 0x80
jae 0x538fb9
movzx ebx, byte [rsp + rax + 0x18]
and ebx, edx
movzx edx, bl
lea rbx, [0x006dee00]
movzx edx, byte [rdx + rbx]
mov byte [rsp + rax + 0x18], dl
lea rdx, [r8 - 0x7f]
neg rdx
jmp 0x538e76
mov byte [rsp + rdx + 0x18], r9b
dec rdx
test rdx, rdx
jl 0x538ec5
lea rax, [rdx + 1]
nop
cmp rax, 0x80
jae 0x538faf
lea rax, [rdx + r8]
cmp rax, 0x80
jae 0x538fa5
movzx r9d, byte [rsp + rdx + 0x19]
movzx r10d, byte [rsp + rax + 0x18]
xor r9d, r10d
movzx r9d, r9b
movzx r9d, byte [rbx + r9]
cmp rdx, 0x80
jb 0x538e6e
nop dword [rax]
jmp 0x538f96
lea rdi, [rsp + 0x98]
nop word [rax + rax]
nop word [rax + rax]
nop
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00470842
mov rbp, qword [rbp]
xor eax, eax
jmp 0x538f17
lea rdx, [rsp + rax*2 + 0x18]
movzx edx, byte [rdx]
lea rbx, [rsp + rax*2 + 0x19]
movzx ebx, byte [rbx]
shl ebx, 8
add edx, ebx
mov word [rsp + rax*2 + 0x98], dx
inc rax
cmp rax, 0x40
jge 0x538f3f
mov rdx, rax
shl rdx, 1
cmp rdx, 0x80
jae 0x538f89
lea rdx, [rax + rax]
lea rdx, [rdx + 1]
cmp rdx, 0x80
jb 0x538ef7
jmp 0x538f7c
lea rdi, [rsp + 0x130]
lea rsi, [rsp + 0x98]
nop word [rax + rax]
nop dword [rax + rax]
mov qword [rsp - 0x10], rbp
lea rbp, [rsp - 0x10]
call fcn.00470b90
mov rbp, qword [rbp]
add rsp, 0x120
pop rbp
ret
mov rax, rdx
mov ecx, pe_nt_image_headers64
call sym.runtime.panicIndex
mov rax, rdx
mov ecx, pe_nt_image_headers64
call sym.runtime.panicIndex
mov rax, rdx
mov ecx, pe_nt_image_headers64
nop
call sym.runtime.panicIndex
mov ecx, pe_nt_image_headers64
call sym.runtime.panicIndex
mov ecx, pe_nt_image_headers64
call sym.runtime.panicIndex
mov ecx, pe_nt_image_headers64
nop
call sym.runtime.panicIndex
mov rax, rbx
mov ecx, pe_nt_image_headers64
call sym.runtime.panicIndex
mov rax, r9
mov ecx, pe_nt_image_headers64
call sym.runtime.panicIndex
nop
call sym.runtime.panicdivide
nop
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x98], rcx
mov qword [rsp + 0xa0], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
jmp sym.github.com_deatil_go_cryptobin_cipher_rc2.expandKey