Function at 0x5a7b20
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0x28]
cmp r12, qword [r14 + 0x10]
jbe 0x5a805d
sub rsp, 0xa8
mov qword [rsp + 0xa0], rbp
lea rbp, [rsp + 0xa0]
mov word [rsp + 0xb0], ax
mov qword [rsp + 0xb8], rbx
mov rdx, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
lea rax, [0x006d86a0]
mov rbx, rdx
call fcn.0040aea0
test rax, rax
je 0x5a7e99
mov rcx, qword [rax + 0x18]
mov rax, rbx
call rcx
nop
test rax, rax
je 0x5a7e82
mov edx, dword [rax + 0x10]
cmp edx, 0x188a5798
jne 0x5a7bc9
lea rdx, [0x006ce660]
nop dword [rax + rax]
cmp rax, rdx
jne 0x5a7e82
lea rax, [0x006c13c0]
call fcn.0040d340
mov word [rax], 0x807
mov edx, 1
mov ecx, 1
jmp 0x5a7eb0
cmp edx, 0x2fd00e80
jne 0x5a7dad
lea rdx, [0x006fafc0]
nop dword [rax]
cmp rax, rdx
jne 0x5a7e82
movzx edx, word [rsp + 0xb0]
cmp dx, 0x304
jne 0x5a7d85
mov rax, qword [rbx]
mov qword [rsp + 0x80], rax
mov rbx, qword [rbx + 8]
mov qword [rsp + 0x98], rbx
nop
mov edx, dword [0x009b35c0]
test edx, edx
jne 0x5a7c41
lea rax, [0x009b35c0]
lea rbx, [0x00755c00]
call fcn.0046b920
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x98]
mov rcx, qword [0x0095b388]
lea rdx, [0x007acaf8]
cmp rax, rdx
jne 0x5a7c78
call fcn.00403c00
nop dword [rax]
test al, al
jne 0x5a7d62
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x98]
nop
mov edx, dword [0x009b35c0]
nop
test edx, edx
jne 0x5a7ca7
lea rax, [0x009b35c0]
lea rbx, [0x00755c00]
call fcn.0046b920
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x98]
mov rcx, qword [0x0095b390]
lea rdx, [0x007acb40]
cmp rax, rdx
jne 0x5a7cd8
call fcn.00403c00
nop
test al, al
jne 0x5a7d4e
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x98]
nop
mov edx, dword [0x009b35c0]
nop
test edx, edx
jne 0x5a7d07
lea rax, [0x009b35c0]
lea rbx, [0x00755c00]
call fcn.0046b920
mov rax, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x98]
mov rcx, qword [0x0095b398]
lea rdx, [0x007acb88]
cmp rax, rdx
jne 0x5a7d37
call fcn.00403c00
nop
test al, al
je 0x5a7d37
lea rax, [0x006c13c0]
call fcn.0040d340
mov word [rax], 0x603
jmp 0x5a7d73
xor eax, eax
xor ebx, ebx
mov rcx, rbx
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
lea rax, [0x006c13c0]
call fcn.0040d340
mov word [rax], 0x503
nop
jmp 0x5a7d73
lea rax, [0x006c13c0]
call fcn.0040d340
mov word [rax], 0x403
mov edx, 1
mov ecx, 1
nop dword [rax]
jmp 0x5a7eb0
lea rax, [0x006c27a0]
call fcn.0040d340
movabs rcx, 0x203060305030403
mov qword [rax], rcx
mov edx, 4
mov ecx, 4
jmp 0x5a7eb0
cmp edx, 0xcc456746
jne 0x5a7e82
lea rdx, [0x006d2b00]
cmp rax, rdx
jne 0x5a7e82
mov rdx, qword [rbx]
nop
mov rsi, qword [rdx + 0x10]
mov rdx, qword [rdx + 8]
lea rdi, [rsi - 1]
test rdi, rdi
jl 0x5a7e02
mov rdx, qword [rdx + rsi*8 - 8]
bsr rdx, rdx
mov rsi, 0xffffffffffffffff
cmove rdx, rsi
shl rdi, 6
lea rdx, [rdx + rdi]
lea rdx, [rdx + 1]
nop
jmp 0x5a7e04
xor edx, edx
mov qword [rsp + 0x48], rdx
mov rcx, qword [0x00951aa8]
mov qword [rsp + 0x60], rcx
lea rax, [0x006c8580]
xor ebx, ebx
nop
call fcn.00449240
mov rdx, qword [0x00951aa8]
mov rsi, qword [0x00951aa0]
mov rdi, qword [rsp + 0x48]
lea r8, [rdi + 7]
sar r8, 0x3f
shr r8, 0x3d
lea rdi, [r8 + rdi]
lea rdi, [rdi + 7]
test rdx, rdx
je 0x5a7e77
mov qword [rsp + 0x78], rdx
sar rdi, 3
mov qword [rsp + 0x50], rdi
movzx r8d, word [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
xor ebx, ebx
xor r9d, r9d
jmp 0x5a7fc1
mov rcx, qword [rsp + 0x60]
xor edx, edx
nop
jmp 0x5a7eb0
xor eax, eax
xor ebx, ebx
mov rcx, rbx
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
mov r8, qword [rsp + 0xb8]
cmp qword [r8 + 0x28], 0
je 0x5a7ed6
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x58], rdx
xor ecx, ecx
xor ebx, ebx
xor esi, esi
xor edi, edi
jmp 0x5a7eef
mov rbx, rdx
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
inc rcx
mov rsi, r10
cmp rdx, rcx
jle 0x5a7f86
movzx r9d, word [rax + rcx*2]
mov r10, qword [r8 + 0x28]
mov r11, qword [r8 + 0x30]
xor r12d, r12d
jmp 0x5a7fa2
lea r10, [rsi + 1]
cmp rbx, r10
jae 0x5a7f74
mov qword [rsp + 0x78], rcx
mov word [rsp + 0x44], r9w
mov qword [rsp + 0x68], rsi
lea rax, [0x006c8580]
mov rcx, rsi
mov rsi, r10
mov rdx, rbx
mov rbx, rdi
mov rdi, rdx
nop dword [rax]
call fcn.00449320
lea r10, [rbx + 1]
mov rdx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
mov r8, qword [rsp + 0xb8]
movzx r9d, word [rsp + 0x44]
mov rdi, rax
mov rbx, rcx
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
mov word [rdi + rsi*2], r9w
jmp 0x5a7ee9
mov r10, rsi
jmp 0x5a7ee9
mov rax, rdi
mov rcx, rbx
mov rbx, rsi
mov rbp, qword [rsp + 0xa0]
add rsp, 0xa8
ret
inc r12
cmp r12, r11
jge 0x5a7f7e
movzx r13d, word [r10 + r12*2]
cmp r13w, r9w
jne 0x5a7f9f
jmp 0x5a7f0d
add rsi, 0x18
mov rbx, r9
mov r9, r10
movzx r10d, word [rsi + 0x10]
movzx r11d, word [rsi]
cmp qword [rsi + 8], rdi
jg 0x5a8045
cmp r8w, r10w
ja 0x5a8045
lea r10, [r9 + 1]
cmp rcx, r10
jae 0x5a803e
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x58], r9
mov word [rsp + 0x46], r11w
mov rbx, rax
mov rdi, rcx
mov rsi, r10
lea rax, [0x006c8580]
mov rcx, r9
call fcn.00449320
lea r10, [rbx + 1]
mov rdx, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x50]
movzx r8d, word [rsp + 0xb0]
mov r9, qword [rsp + 0x58]
movzx r11d, word [rsp + 0x46]
mov word [rax + r9*2], r11w
jmp 0x5a8048
mov r10, r9
lea r9, [rbx + 1]
cmp rdx, r9
jg 0x5a7fb7
mov rdx, r10
jmp 0x5a7eb0
mov word [rsp + 8], ax
mov qword [rsp + 0x10], rbx
call fcn.00460840
movzx eax, word [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.005a7b20