Function at 0x5397a0
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0xd8]
cmp r12, qword [r14 + 0x10]
jbe 0x53a193
push rbp
mov rbp, rsp
sub rsp, 0x150
mov qword [rsp + 0x170], rcx
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x160], rax
mov rdx, rbx
mov rsi, rax
mov rdi, rcx
nop
jmp 0x539803
mov rdx, qword [rsp + 0x168]
mov rbx, rsi
mov rax, rdi
mov rcx, r8
mov rsi, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x170]
mov r9, qword [0x007cd908]
cmp r9, 1
jb 0x53a186
dec r9
mov r10, qword [str._n_____BEGIN]
mov r11, qword [0x007cd910]
dec r11
neg r11
sar r11, 0x3f
and r11d, 1
add r10, r11
cmp rbx, r9
jge 0x539842
xor r8d, r8d
nop
jmp 0x539899
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0x110], rax
nop
mov rbx, r10
mov rcx, r9
call fcn.00403600
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x168]
mov rbx, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x170]
mov r8d, eax
mov rax, qword [rsp + 0x110]
test r8b, r8b
je 0x5398d3
mov r8, qword [0x007cd908]
lea r9, [r8 - 1]
cmp rbx, r9
jb 0x53a17b
sub rcx, r8
sub rbx, r8
lea r8, [rcx + 1]
mov r10, r8
neg r8
sar r8, 0x3f
and r9, r8
lea r8, [rax + r9]
lea r9, [rbx + 1]
jmp 0x5398ff
mov rdi, qword [str._n_____BEGIN]
mov rsi, qword [0x007cd908]
mov r8, qword [0x007cd910]
call fcn.00498620
test r9b, r9b
je 0x539ed5
mov r10, r8
mov r9, rsi
mov r8, rdi
mov rax, r8
mov rbx, r9
mov rcx, r10
call fcn.00539540
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xd0], r8
mov rdx, qword [0x007cd948]
cmp rbx, rdx
jl 0x5399bb
mov r9, rbx
sub rbx, rdx
cmp r9, rbx
jb 0x53a170
mov r10, r9
sub r9, rbx
mov r11, rbx
sub rbx, rcx
sar rbx, 0x3f
and r11, rbx
add r11, rax
cmp rdx, r9
je 0x53996b
xor edx, edx
jmp 0x5399c0
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0xc8], r10
mov rbx, qword [0x007cd940]
mov rax, r11
mov rcx, r9
call fcn.00403600
mov rcx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0x148]
mov r8, qword [rsp + 0xd0]
mov r10, qword [rsp + 0xc8]
mov edx, eax
mov rax, qword [rsp + 0x100]
jmp 0x5399c0
mov r10, rbx
xor edx, edx
test dl, dl
je 0x5397e2
mov rbx, qword [0x007cd948]
sub r10, rbx
cmp rcx, r10
jb 0x53a165
mov qword [rsp + 0x70], r10
call fcn.0040dfa0
mov qword [rsp + 0x140], rax
lea rax, [0x0062ed40]
call fcn.0040d520
cmp dword [0x00865770], 0
jne 0x539a0c
mov rdx, qword [rsp + 0x140]
jmp 0x539a1c
call fcn.0045f300
mov rdx, qword [rsp + 0x140]
mov qword [r11], rdx
mov qword [rsp + 0x138], rax
mov qword [rax + 0x10], rdx
mov rbx, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x70]
xor eax, eax
call fcn.0044ad20
mov rdx, qword [rsp + 0x138]
mov qword [rdx + 8], rbx
cmp dword [0x00865770], 0
je 0x539a60
call fcn.0045f320
mov qword [r11], rax
mov rsi, qword [rdx]
mov qword [r11 + 8], rsi
mov qword [rdx], rax
mov rax, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0x148]
nop dword [rax + rax]
jmp 0x539f15
mov rdx, qword [rsp + 0x138]
mov r9, qword [rdx + 0x10]
test r9, r9
je 0x539a9b
mov r9, qword [r9]
jmp 0x539aa0
xor r9d, r9d
nop
test r9, r9
jne 0x539b1a
mov rcx, qword [0x007cd928]
cmp rcx, 1
jb 0x53a158
dec rcx
mov r9, qword [str._n_____END]
mov r10, qword [0x007cd930]
dec r10
neg r10
sar r10, 0x3f
and r10d, 1
lea rbx, [r10 + r9]
mov r9, qword [rsp + 0x88]
cmp r9, rcx
jge 0x539aea
xor eax, eax
jmp 0x539b08
nop
mov rax, qword [rsp + 0x108]
call fcn.00403600
mov rdx, qword [rsp + 0x138]
mov r9, qword [rsp + 0x88]
test al, al
je 0x539b22
mov r10, qword [0x007cd928]
dec r10
xor eax, eax
jmp 0x539b6a
mov r9, qword [rsp + 0x88]
mov rdi, qword [str._n_____END]
mov rsi, qword [0x007cd928]
mov r8, qword [0x007cd930]
mov rax, qword [rsp + 0x108]
mov rbx, r9
mov rcx, qword [rsp + 0x98]
call fcn.00497ea0
mov rdx, qword [0x007cd928]
lea r10, [rdx + rax]
mov rdx, qword [rsp + 0x138]
mov r9, qword [rsp + 0x88]
test rax, rax
jge 0x539b87
mov r8, qword [rsp + 0x98]
mov rsi, r9
mov rdi, qword [rsp + 0x108]
jmp 0x5397e2
cmp r10, r9
ja 0x53a14d
mov rcx, r9
sub rcx, r10
mov r11, qword [rsp + 0x98]
mov r12, r11
sub r11, r10
mov r13, r11
neg r11
sar r11, 0x3f
and r10, r11
mov r11, qword [0x007cd948]
mov r15, qword [rsp + 0x70]
add r11, r15
mov rbx, rdx
mov rdx, qword [rsp + 0x108]
add r10, rdx
cmp rcx, r11
jge 0x539be5
mov r8, r12
mov rsi, r9
mov rdi, rdx
nop dword [rax]
jmp 0x5397e2
jb 0x53a145
mov qword [rsp + 0x58], rax
mov rsi, r13
sub r13, r11
mov qword [rsp + 0x50], r13
mov rdi, r13
neg r13
sar r13, 0x3f
and r13, r11
sub rcx, r11
mov qword [rsp + 0x48], rcx
add r13, r10
mov qword [rsp + 0xe8], r13
nop dword [rax + rax]
cmp r15, r11
jle 0x539c2a
xor r8d, r8d
jmp 0x539ca8
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xf0], r10
mov qword [rsp + 0x80], r11
nop
mov rax, r10
mov rbx, qword [rsp + 0x100]
mov rcx, r15
call fcn.00403600
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x138]
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0x50]
mov r9, qword [rsp + 0x88]
mov r10, qword [rsp + 0xf0]
mov r11, qword [rsp + 0x80]
mov r12, qword [rsp + 0x98]
mov r13, qword [rsp + 0xe8]
mov r8d, eax
mov rax, qword [rsp + 0x58]
test r8b, r8b
je 0x539d64
mov r15, qword [0x007cd948]
nop dword [rax + rax]
cmp r15, r11
jg 0x539d58
mov r8, r11
sub r11, r15
cmp r11, r8
ja 0x53a136
mov qword [rsp + 0xd8], r11
sub r8, r11
sub r11, rsi
sar r11, 0x3f
mov rsi, r13
mov r13, qword [rsp + 0xd8]
and r13, r11
add r10, r13
nop dword [rax + rax]
cmp r15, r8
je 0x539d0a
xor r8d, r8d
jmp 0x539d5e
mov rbx, qword [0x007cd940]
mov rax, r10
mov rcx, r8
call fcn.00403600
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x138]
mov rsi, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x50]
mov r9, qword [rsp + 0x88]
mov r12, qword [rsp + 0x98]
mov r8d, eax
mov rax, qword [rsp + 0x58]
jmp 0x539d5e
mov rsi, r13
xor r8d, r8d
xor r8d, 1
jmp 0x539d6d
mov rsi, r13
mov r8d, 1
test r8b, r8b
je 0x539d85
mov r8, r12
mov rsi, r9
mov rdi, rdx
nop dword [rax + rax]
jmp 0x5397e2
mov rax, rsi
mov rbx, rcx
mov rcx, rdi
call fcn.00539540
test rbx, rbx
je 0x539db5
mov r8, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x108]
jmp 0x5397e2
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x98]
cmp rcx, rdx
ja 0x53a131
mov rax, qword [rsp + 0x108]
mov rbx, rcx
mov rcx, rdx
call fcn.005396a0
mov qword [rsp + 0x118], rax
mov qword [rsp + 0xa8], rbx
mov qword [rsp + 0xb0], rcx
mov rdx, qword [0x007deab0]
cmp dword [rdx + 0x140], 0xffffffff
jne 0x539e33
mov rdx, rbx
shr rbx, 2
lea rsi, [rbx + rbx*2]
and edx, 3
lea rdx, [rdx + rdx*2]
mov r8, rdx
shl rdx, 1
sar rdx, 0x3f
shr rdx, 0x3d
lea rdx, [rdx + r8*2]
sar rdx, 3
add rdx, rsi
jmp 0x539e3b
shr rbx, 2
lea rdx, [rbx + rbx*2]
mov qword [rsp + 0x38], rdx
lea rax, [0x0060be60]
mov rbx, rdx
mov rcx, rbx
call fcn.00447780
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x138]
mov qword [rdx + 0x20], rdi
mov qword [rdx + 0x28], rdi
cmp dword [0x00865770], 0
je 0x539e80
call fcn.0045f320
mov qword [r11], rax
mov r10, qword [rdx + 0x18]
mov qword [r11 + 8], r10
mov qword [rdx + 0x18], rax
mov rax, qword [0x007deab0]
mov rbx, qword [rdx + 0x18]
mov rcx, rdi
mov rsi, qword [rsp + 0x118]
mov r8, qword [rsp + 0xa8]
mov r9, qword [rsp + 0xb0]
call fcn.00538e60
test rbx, rbx
je 0x53a06d
mov r8, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x108]
jmp 0x5397e2
xor eax, eax
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
add rsp, 0x150
pop rbp
ret
mov qword [rax], rdx
mov rdx, qword [rsp + 0x138]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0xf8]
test rax, rax
je 0x53a101
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x98], rcx
mov rdx, rax
mov rax, rbx
mov rbx, rdx
nop
call fcn.00539540
mov qword [rsp + 0xf8], rdi
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r8
mov rdx, qword [0x007cd960]
mov r9, qword [0x007cd968]
mov r10, qword [0x007cd970]
mov rdi, rdx
mov rsi, r9
mov r8, r10
call fcn.00498620
nop word [rax + rax]
test r9b, r9b
je 0x539a85
mov qword [rsp + 0xc0], r8
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0x120], rdi
call fcn.00497d20
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x40], rbx
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0x120]
mov rbx, qword [rsp + 0xb8]
call fcn.00497d20
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.0044ad20
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0x130], rax
mov rdx, qword [rsp + 0x138]
mov rsi, qword [rdx + 0x10]
mov qword [rsp + 0x128], rsi
mov rcx, qword [rsp + 0x40]
xor eax, eax
mov rbx, qword [rsp + 0xe0]
call fcn.0044ad20
mov rcx, rax
mov rdi, rbx
lea rax, [0x00617c00]
mov rbx, qword [rsp + 0x128]
call fcn.00412440
mov rdx, qword [rsp + 0xd8]
mov qword [rax + 8], rdx
cmp dword [0x00865770], 0
jne 0x53a051
mov rdx, qword [rsp + 0x130]
jmp 0x539ef8
call fcn.0045f320
mov rdx, qword [rsp + 0x130]
mov qword [r11], rdx
mov rsi, qword [rax]
mov qword [r11 + 8], rsi
jmp 0x539ef8
mov rsi, qword [rsp + 0x138]
mov rdx, qword [rsi + 0x28]
nop dword [rax]
cmp rax, rdx
ja 0x53a129
mov qword [rsi + 0x20], rax
mov rdx, qword [0x007cd928]
mov rdi, qword [rsp + 0x58]
lea rax, [rdi + rdx]
lea rax, [rax - 1]
add rdx, rdi
mov rcx, qword [rsp + 0x88]
cmp rcx, rax
jb 0x53a124
mov rsi, qword [rsp + 0x98]
sub rsi, rdx
sub rcx, rdx
lea rdx, [rsi + 1]
mov rsi, rdx
neg rdx
lea rbx, [rcx + 1]
sar rdx, 0x3f
and rax, rdx
mov rdx, qword [rsp + 0x108]
add rax, rdx
mov rcx, rsi
call fcn.00539540
mov rax, qword [rsp + 0x138]
mov rbx, rdi
mov rcx, rsi
mov rdi, r8
add rsp, 0x150
pop rbp
ret
xor eax, eax
mov rbx, qword [rsp + 0x160]
mov rcx, qword [rsp + 0x168]
mov rdi, qword [rsp + 0x170]
add rsp, 0x150
pop rbp
ret
call fcn.0045f780
mov rcx, rax
call fcn.0045f740
call fcn.0045f740
mov rax, r11
mov rcx, r8
nop dword [rax]
call fcn.0045f780
mov rax, r11
call fcn.0045f780
mov rax, r10
mov rcx, r9
call fcn.0045f780
mov eax, 1
xor ecx, ecx
nop
call fcn.0045f780
mov rdx, rcx
mov rcx, r10
call fcn.0045f740
mov rax, rbx
mov rcx, r9
call fcn.0045f780
mov rax, r9
mov rcx, rbx
call fcn.0045f780
mov eax, 1
xor ecx, ecx
call fcn.0045f780
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.0045d3e0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.005397a0