Function at 0x4c9000
Capabilities:
Encode data using base64

Disassembly:
lea r12, [rsp - 0xd8]
cmp r12, qword [r14 + 0x10]
jbe 0x4c99e6
push rbp
mov rbp, rsp
sub rsp, 0x150
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x168], rbx
mov qword [rsp + 0x170], rcx
mov rdx, rbx
mov rsi, rax
mov rdi, rcx
nop
jmp 0x4c9063
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 [0x006ae068]
cmp r9, 1
jb 0x4c99d5
dec r9
mov r10, qword [str._n_____BEGIN]
mov r11, qword [0x006ae070]
dec r11
neg r11
sar r11, 0x3f
and r11d, 1
add r10, r11
cmp rbx, r9
jge 0x4c90a2
xor r8d, r8d
nop
jmp 0x4c90f9
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x110], rax
nop
mov rbx, r10
mov rcx, r9
call fcn.00403760
mov rcx, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0x168]
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x170]
mov r8d, eax
mov rax, qword [rsp + 0x110]
test r8b, r8b
je 0x4c9132
mov r8, qword [0x006ae068]
lea r9, [r8 - 1]
cmp rbx, r9
jb 0x4c99ca
sub rcx, r8
sub rbx, r8
lea r8, [rcx + 1]
mov r10, r8
neg r8
sar r8, 0x3f
and r8, r9
add r8, rax
lea r9, [rbx + 1]
jmp 0x4c915e
mov rdi, qword [str._n_____BEGIN]
mov rsi, qword [0x006ae068]
mov r8, qword [0x006ae070]
call fcn.00465fa0
test r9b, r9b
je 0x4c9726
mov r10, r8
mov r9, rsi
mov r8, rdi
mov rax, r8
mov rbx, r9
mov rcx, r10
call fcn.004c8da0
mov qword [rsp + 0xd8], r8
mov qword [rsp + 0x148], rdi
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0xe0], rax
mov rdx, qword [0x006ae0a8]
cmp rbx, rdx
jl 0x4c921b
mov r9, rbx
sub rbx, rdx
cmp r9, rbx
jb 0x4c99bf
mov r10, r9
sub r9, rbx
mov r11, rbx
sub rbx, rcx
sar rbx, 0x3f
and rbx, r11
lea r11, [rbx + rax]
cmp rdx, r9
je 0x4c91cb
xor edx, edx
jmp 0x4c9220
mov qword [rsp + 0xc8], r10
mov qword [rsp + 0x48], rcx
mov rbx, qword [0x006ae0a0]
mov rax, r11
mov rcx, r9
call fcn.00403760
mov rcx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0x148]
mov r8, qword [rsp + 0xd8]
mov r10, qword [rsp + 0xc8]
mov edx, eax
mov rax, qword [rsp + 0xe0]
jmp 0x4c9220
mov r10, rbx
xor edx, edx
test dl, dl
je 0x4c9042
mov rbx, qword [0x006ae0a8]
sub r10, rbx
cmp rcx, r10
jb 0x4c99b4
mov qword [rsp + 0x40], r10
call fcn.0040c840
mov qword [rsp + 0x140], rax
lea rax, [0x0057c980]
call fcn.0040bdc0
cmp dword [0x00712210], 0
jne 0x4c926c
mov rdx, qword [rsp + 0x140]
jmp 0x4c927c
call fcn.00459100
mov rdx, qword [rsp + 0x140]
mov qword [r11], rdx
mov qword [rsp + 0x138], rax
mov qword [rax + 0x10], rdx
mov rbx, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0x40]
xor eax, eax
call fcn.00446b40
mov rdx, qword [rsp + 0x138]
mov qword [rdx + 8], rbx
cmp dword [0x00712210], 0
je 0x4c92c0
call fcn.00459120
mov qword [r11], rax
mov rsi, qword [rdx]
mov qword [r11 + 8], rsi
mov qword [rdx], rax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0x148]
nop dword [rax + rax]
jmp 0x4c976c
mov rdx, qword [rsp + 0x138]
mov r9, qword [rdx + 0x10]
test r9, r9
je 0x4c92fb
mov r9, qword [r9]
jmp 0x4c9300
xor r9d, r9d
nop
test r9, r9
jne 0x4c937a
mov rcx, qword [0x006ae088]
cmp rcx, 1
jb 0x4c99a8
dec rcx
mov r9, qword [str._n_____END]
mov r10, qword [0x006ae090]
dec r10
neg r10
sar r10, 0x3f
and r10d, 1
lea rbx, [r10 + r9]
mov r9, qword [rsp + 0x98]
cmp r9, rcx
jge 0x4c934a
xor eax, eax
jmp 0x4c9368
nop
mov rax, qword [rsp + 0x108]
call fcn.00403760
mov rdx, qword [rsp + 0x138]
mov r9, qword [rsp + 0x98]
test al, al
je 0x4c9382
mov r10, qword [0x006ae088]
dec r10
xor eax, eax
jmp 0x4c93ca
mov r9, qword [rsp + 0x98]
mov rdi, qword [str._n_____END]
mov rsi, qword [0x006ae088]
mov r8, qword [0x006ae090]
mov rax, qword [rsp + 0x108]
mov rbx, r9
mov rcx, qword [rsp + 0xa8]
call fcn.00465820
mov rdx, qword [0x006ae088]
lea r10, [rdx + rax]
mov rdx, qword [rsp + 0x138]
mov r9, qword [rsp + 0x98]
test rax, rax
jge 0x4c93e7
mov r8, qword [rsp + 0xa8]
mov rsi, r9
mov rdi, qword [rsp + 0x108]
jmp 0x4c9042
cmp r10, r9
ja 0x4c999d
mov rcx, r9
sub rcx, r10
mov r11, qword [rsp + 0xa8]
mov r12, r11
sub r11, r10
mov r13, r11
neg r11
sar r11, 0x3f
and r11, r10
mov r10, qword [0x006ae0a8]
mov r15, qword [rsp + 0x40]
add r10, r15
mov rbx, rdx
mov rdx, qword [rsp + 0x108]
add r11, rdx
cmp rcx, r10
jge 0x4c9445
mov r8, r12
mov rsi, r9
mov rdi, rdx
nop dword [rax]
jmp 0x4c9042
jb 0x4c9995
mov qword [rsp + 0x78], rax
mov rsi, r13
sub r13, r10
mov qword [rsp + 0x58], r13
mov rdi, r13
neg r13
sar r13, 0x3f
and r13, r10
sub rcx, r10
mov qword [rsp + 0x50], rcx
add r13, r11
mov qword [rsp + 0xe8], r13
nop dword [rax + rax]
cmp r15, r10
jle 0x4c948a
xor r8d, r8d
jmp 0x4c9508
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0x118], r11
mov qword [rsp + 0x90], r10
nop
mov rax, r11
mov rbx, qword [rsp + 0xe0]
mov rcx, r15
call fcn.00403760
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x138]
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0x58]
mov r9, qword [rsp + 0x98]
mov r10, qword [rsp + 0x90]
mov r11, qword [rsp + 0x118]
mov r12, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xe8]
mov r8d, eax
mov rax, qword [rsp + 0x78]
test r8b, r8b
je 0x4c95c4
mov r15, qword [0x006ae0a8]
nop dword [rax + rax]
cmp r15, r10
jg 0x4c95b8
mov r8, r10
sub r10, r15
cmp r10, r8
ja 0x4c998a
mov qword [rsp + 0xd8], r10
sub r8, r10
sub r10, rsi
sar r10, 0x3f
mov rsi, r13
mov r13, qword [rsp + 0xd8]
and r13, r10
lea r10, [r13 + r11]
nop dword [rax]
cmp r15, r8
je 0x4c956a
xor r8d, r8d
jmp 0x4c95be
mov rbx, qword [0x006ae0a0]
mov rax, r10
mov rcx, r8
call fcn.00403760
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x138]
mov rsi, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0x58]
mov r9, qword [rsp + 0x98]
mov r12, qword [rsp + 0xa8]
mov r8d, eax
mov rax, qword [rsp + 0x78]
jmp 0x4c95be
mov rsi, r13
xor r8d, r8d
xor r8d, 1
jmp 0x4c95cd
mov rsi, r13
mov r8d, 1
test r8b, r8b
je 0x4c95e5
mov r8, r12
mov rsi, r9
mov rdi, rdx
nop dword [rax + rax]
jmp 0x4c9042
mov rax, rsi
mov rbx, rcx
mov rcx, rdi
call fcn.004c8da0
test rbx, rbx
je 0x4c9615
mov r8, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x108]
jmp 0x4c9042
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0xa8]
cmp rcx, rdx
ja 0x4c9985
mov rax, qword [rsp + 0x108]
mov rbx, rcx
mov rcx, rdx
call fcn.004c8f00
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x68], rcx
mov rdx, qword [0x006bc870]
cmp dword [rdx + 0x140], 0xffffffff
nop
jne 0x4c967e
lea rdx, [rbx + rbx*2]
mov rsi, rdx
shl rdx, 1
sar rdx, 0x3f
shr rdx, 0x3d
lea rdx, [rdx + rsi*2]
sar rdx, 3
jmp 0x4c9686
shr rbx, 2
lea rdx, [rbx + rbx*2]
mov qword [rsp + 0x38], rdx
lea rax, [0x00565560]
mov rbx, rdx
mov rcx, rbx
call fcn.004435c0
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x138]
mov qword [rdx + 0x20], rdi
mov qword [rdx + 0x28], rdi
cmp dword [0x00712210], 0
je 0x4c96d0
nop dword [rax + rax]
call fcn.00459120
mov qword [r11], rax
mov r10, qword [rdx + 0x18]
mov qword [r11 + 8], r10
mov qword [rdx + 0x18], rax
mov rax, qword [0x006bc870]
mov rbx, qword [rdx + 0x18]
mov rcx, rdi
mov rsi, qword [rsp + 0xf8]
mov r8, qword [rsp + 0x70]
mov r9, qword [rsp + 0x68]
call fcn.004c83a0
nop dword [rax]
test rbx, rbx
je 0x4c98c5
mov r8, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x108]
jmp 0x4c9042
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 + 0xb8]
mov rcx, qword [rsp + 0xc0]
mov rbx, qword [rsp + 0x120]
test rax, rax
je 0x4c9955
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x108], rbx
mov rdx, rax
mov rax, rbx
mov rbx, rdx
call fcn.004c8da0
mov qword [rsp + 0x120], rdi
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], r8
mov rdx, qword [0x006ae0c0]
mov r9, qword [0x006ae0c8]
mov r10, qword [0x006ae0d0]
mov rdi, rdx
mov rsi, r9
mov r8, r10
call fcn.00465fa0
test r9b, r9b
je 0x4c92e5
mov qword [rsp + 0x88], r8
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x100], rdi
call fcn.004656a0
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x88]
mov rax, qword [rsp + 0x100]
mov rbx, qword [rsp + 0x80]
call fcn.004656a0
mov rcx, rbx
mov rbx, rax
xor eax, eax
call fcn.00446b40
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 + 0x60]
xor eax, eax
mov rbx, qword [rsp + 0xf0]
call fcn.00446b40
mov rcx, rax
mov rdi, rbx
lea rax, [0x0056daa0]
mov rbx, qword [rsp + 0x128]
call fcn.00410d00
mov rdx, qword [rsp + 0xd8]
mov qword [rax + 8], rdx
cmp dword [0x00712210], 0
jne 0x4c98a7
mov rdx, qword [rsp + 0x130]
jmp 0x4c9749
call fcn.00459120
mov rdx, qword [rsp + 0x130]
mov qword [r11], rdx
mov rsi, qword [rax]
mov qword [r11 + 8], rsi
nop
jmp 0x4c9749
mov rsi, qword [rsp + 0x138]
mov rdx, qword [rsi + 0x28]
cmp rax, rdx
ja 0x4c997d
mov qword [rsi + 0x20], rax
mov rdx, qword [0x006ae088]
mov rdi, qword [rsp + 0x78]
lea rax, [rdi + rdx]
lea rax, [rax - 1]
add rdx, rdi
mov rcx, qword [rsp + 0x98]
nop dword [rax]
cmp rcx, rax
jb 0x4c9978
sub rcx, rdx
mov rsi, qword [rsp + 0xa8]
sub rsi, 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.004c8da0
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.00459540
mov rcx, rax
call fcn.00459500
call fcn.00459500
mov rax, r10
mov rcx, r8
call fcn.00459540
mov rax, r10
call fcn.00459540
mov rax, r10
mov rcx, r9
call fcn.00459540
mov eax, 1
xor ecx, ecx
call fcn.00459540
mov rdx, rcx
mov rcx, r10
call fcn.00459500
mov rax, rbx
mov rcx, r9
call fcn.00459540
mov rax, r9
mov rcx, rbx
call fcn.00459540
mov eax, 1
xor ecx, ecx
nop dword [rax]
call fcn.00459540
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00457200
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004c9000