Function at 0x180347100
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov r14, rdx
mov rsi, rcx
mov r13, qword [rdx]
mov rbx, qword [rdx + 8]
mov r8, qword [r13 + 0xa0]
mov rdi, qword [rdx + 0x10]
test r8, r8
je 0x180347147
cmp r8, rdi
jae 0x180347141
cmp byte [rbx + r8], 0xbf
jg 0x180347147
jmp 0x180347444
jne 0x180347444
cmp r8, rdi
je 0x180347d57
movzx eax, byte [rbx + r8]
test al, al
js 0x1803471a3
cmp eax, 0x28
jne 0x180347d57
lea r12, [r13 + 0xa0]
lea rcx, [rsp + 0xb0]
mov rdx, r14
call fcn.180341d80
mov rcx, r14
call fcn.1803410a0
mov rcx, r14
call fcn.1803412d0
mov r8, qword [r12]
test r8, r8
je 0x1803471fc
cmp rdi, r8
jbe 0x1803471f6
cmp byte [rbx + r8], 0xbf
jg 0x1803471fc
jmp 0x180347444
mov ecx, eax
and ecx, 0x1f
movzx r9d, byte [rbx + r8 + 1]
and r9d, 0x3f
cmp al, 0xdf
jbe 0x1803472a1
movzx edx, byte [rbx + r8 + 2]
shl r9d, 6
and edx, 0x3f
or edx, r9d
cmp al, 0xf0
jb 0x180347532
movzx eax, byte [rbx + r8 + 3]
and ecx, 7
shl ecx, 0x12
shl edx, 6
and eax, 0x3f
or eax, edx
or eax, ecx
cmp eax, 0x28
je 0x180347162
jmp 0x180347d57
jne 0x180347444
mov rax, rdi
sub rax, r8
cmp rax, 2
jb 0x180347219
movzx ecx, word [rbx + r8]
cmp ecx, 0x3d3f
je 0x1803472b7
test r8, r8
je 0x180347235
cmp rdi, r8
jbe 0x18034722f
cmp byte [rbx + r8], 0xbf
jg 0x180347235
jmp 0x180347444
jne 0x180347444
cmp rax, 2
jb 0x18034724c
movzx ecx, word [rbx + r8]
cmp ecx, 0x213f
je 0x180347365
test r8, r8
je 0x180347268
cmp rdi, r8
jbe 0x180347262
cmp byte [rbx + r8], 0xbf
jg 0x180347268
jmp 0x180347444
jne 0x180347444
cmp rax, 3
jb 0x18034728b
movzx ecx, word [rbx + r8]
xor ecx, 0x3c3f
movzx edx, byte [rbx + r8 + 2]
xor edx, 0x3d
or dx, cx
je 0x1803473de
test r8, r8
je 0x1803472f8
cmp rdi, r8
jbe 0x1803472f2
cmp byte [rbx + r8], 0xbf
jg 0x1803472f8
jmp 0x180347444
shl ecx, 6
or ecx, r9d
mov eax, ecx
cmp eax, 0x28
je 0x180347162
jmp 0x180347d57
lea rcx, str.________
mov edx, 2
call fcn.18044b320
test rax, rax
je 0x18034747d
mov r15, rax
nop word cs:[rax + rax]
mov rcx, r14
call fcn.1803410a0
dec r15
jne 0x1803472e0
jmp 0x18034747d
jne 0x180347444
cmp rax, 3
jb 0x18034731b
movzx ecx, word [rbx + r8]
xor ecx, 0x3c3f
movzx edx, byte [rbx + r8 + 2]
xor edx, 0x21
or dx, cx
je 0x180347452
mov rcx, qword [r12 + 0x10]
mov qword [rsp + 0x188], rcx
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x178], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x160], xmm0
mov rcx, qword [r12 + 0x10]
mov qword [rsp + 0x170], rcx
test r8, r8
je 0x1803473a8
cmp rdi, r8
jbe 0x1803473a2
cmp byte [rbx + r8], 0xbf
jg 0x1803473a8
jmp 0x180347444
lea rcx, [0x18049228a]
mov edx, 2
call fcn.18044b320
test rax, rax
je 0x18034747d
mov r15, rax
nop word cs:[rax + rax]
mov rcx, r14
call fcn.1803410a0
dec r15
jne 0x180347390
jmp 0x18034747d
jne 0x180347444
cmp rax, 3
jb 0x1803473cb
movzx ecx, word [rbx + r8]
xor ecx, 0x503f
movzx edx, byte [rbx + r8 + 2]
xor edx, 0x3c
or dx, cx
je 0x180347688
test r8, r8
je 0x180347411
cmp rdi, r8
jbe 0x18034740f
cmp byte [rbx + r8], 0xbf
jg 0x180347411
jmp 0x180347444
lea rcx, [0x18049228c]
mov edx, 3
call fcn.18044b320
test rax, rax
je 0x18034747d
mov r15, rax
nop dword [rax + rax]
mov rcx, r14
call fcn.1803410a0
dec r15
jne 0x180347400
jmp 0x18034747d
jne 0x180347444
cmp rax, 2
jb 0x180347427
movzx eax, word [rbx + r8]
cmp eax, 0x3c3f
je 0x1803478ae
test r8, r8
je 0x18034754d
cmp rdi, r8
jbe 0x180347547
cmp byte [rbx + r8], 0xbf
jg 0x18034754d
mov rcx, rbx
mov rdx, rdi
mov r9, rdi
call fcn.180407090
lea rcx, [0x18049228f]
mov edx, 3
call fcn.18044b320
test rax, rax
je 0x18034747d
mov r15, rax
nop dword [rax + rax]
mov rcx, r14
call fcn.1803410a0
dec r15
jne 0x180347470
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rax
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x20], xmm0
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x38], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x48], rax
test rdi, rdi
js 0x180347d59
je 0x1803474de
movzx eax, byte [0x1805297c8]
mov r15d, 1
mov edx, 1
mov rcx, rdi
call fcn.1802cbf10
test rax, rax
je 0x180347d5c
mov r14, rax
jmp 0x1803474e4
mov r14d, 1
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.180468b10
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x58], xmm0
movups xmmword [rsi + 0x68], xmm1
movups xmmword [rsi + 0x78], xmm2
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdi
mov dword [rsi + 0x20], 0x21
movabs rax, 0x8000000000000004
mov qword [rsi], rax
jmp 0x18034784b
shl ecx, 0xc
or edx, ecx
mov eax, edx
cmp eax, 0x28
je 0x180347162
jmp 0x180347d57
jne 0x180347444
cmp rdi, r8
je 0x1803475d1
cmp byte [rbx + r8], 0x3f
jne 0x1803475d1
lea rcx, [0x1804923dd]
mov edx, 1
call fcn.18044b320
test rax, rax
je 0x18034758d
mov r15, rax
nop word cs:[rax + rax]
mov rcx, r14
call fcn.1803410a0
dec r15
jne 0x180347580
cmp qword [r12], rdi
jne 0x1803479fa
test rdi, rdi
js 0x180347d59
je 0x180347beb
movzx eax, byte [0x1805297c8]
mov r15d, 1
mov edx, 1
mov rcx, rdi
call fcn.1802cbf10
test rax, rax
je 0x180347d5c
mov r14, rax
jmp 0x180347bf1
mov ebp, dword [r13 + 0xb8]
cmp ebp, 0xffffffff
je 0x18034785f
inc ebp
mov dword [r13 + 0xb8], ebp
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call fcn.180338c90
mov rdi, rax
mov rbx, rdx
movzx eax, byte [0x1805297c8]
mov ecx, 0x10
mov edx, 8
call fcn.1802cbf10
test rax, rax
je 0x180347d72
mov qword [rax], rdi
mov qword [rax + 8], rbx
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x80], xmm2
movups xmmword [rsi + 0x70], xmm1
movups xmmword [rsi + 0x60], xmm0
movabs rcx, 0x8000000000000004
add rcx, 0xfffffffffffffffc
mov qword [rsi], rcx
mov dword [rsi + 8], ebp
jmp 0x180347847
lea rcx, str._P____
mov edx, 3
call fcn.18044b320
mov bpl, 1
test rax, rax
je 0x1803476bd
mov r15, rax
nop word cs:[rax + rax]
mov rcx, r14
call fcn.1803410a0
dec r15
jne 0x1803476b0
mov r8d, dword [r13 + 0xb8]
cmp r8d, 0xffffffff
je 0x1803478f0
movabs rdi, 0x8000000000000004
inc r8d
mov dword [r13 + 0xb8], r8d
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.180347d90
mov rax, qword [rsp + 0x20]
lea rcx, [rdi - 4]
movups xmm0, xmmword [rsp + 0x28]
movaps xmmword [rsp + 0xe0], xmm0
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rsp + 0xf0], xmm0
movups xmm0, xmmword [rsp + 0x48]
movaps xmmword [rsp + 0x100], xmm0
movups xmm0, xmmword [rsp + 0x58]
movaps xmmword [rsp + 0x110], xmm0
movups xmm0, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x120], xmm0
cmp rax, rcx
jne 0x18034798e
movaps xmm0, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmm2, xmmword [rsp + 0x100]
movaps xmm3, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x108], rax
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0xf8], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0xe0], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0xe0]
call fcn.180338c90
mov rdi, rax
mov rbx, rdx
movzx eax, byte [0x1805297c8]
mov ecx, 0x10
mov edx, 8
call fcn.1802cbf10
test rax, rax
je 0x180347d72
mov qword [rax], rdi
mov qword [rax + 8], rbx
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x80], xmm2
movups xmmword [rsi + 0x70], xmm1
movups xmmword [rsi + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm2, xmmword [rsp + 0x40]
movaps xmm3, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x30], xmm3
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x40], xmm0
mov byte [rsi + 0x50], bpl
mov qword [rsi + 0x58], rax
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r14d, r14d
test rdi, rdi
js 0x180347d67
je 0x180347902
movzx eax, byte [0x1805297c8]
mov r14d, 1
mov edx, 1
mov rcx, rdi
call fcn.1802cbf10
test rax, rax
je 0x180347d67
mov r15, rax
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call fcn.180468b10
mov r14, r15
shr r14, 0x20
jmp 0x180347908
lea rcx, [0x1804923db]
mov edx, 2
call fcn.18044b320
test rax, rax
je 0x1803478dd
mov r15, rax
nop word [rax + rax]
mov rcx, r14
call fcn.1803410a0
dec r15
jne 0x1803478d0
xor ebp, ebp
mov r8d, dword [r13 + 0xb8]
cmp r8d, 0xffffffff
jne 0x1803476ce
xor r14d, r14d
test rdi, rdi
js 0x180347d67
jne 0x180347871
mov r15d, 1
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsp + 0x74], xmm2
movups xmmword [rsp + 0x64], xmm1
movups xmmword [rsp + 0x54], xmm0
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
movups xmm2, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x44], xmm2
movups xmmword [rsi + 0x34], xmm1
movups xmmword [rsi + 0x24], xmm0
mov eax, dword [rsp + 0x80]
mov dword [rsi + 0x84], eax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + 0x74], xmm0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x64], xmm0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x54], xmm0
mov qword [rsi + 8], rdi
mov dword [rsi + 0x10], r15d
mov dword [rsi + 0x14], r14d
mov qword [rsi + 0x18], rdi
mov dword [rsi + 0x20], 0
jmp 0x180347520
mov rcx, qword [rsp + 0x98]
mov qword [rsi + 0x80], rcx
movups xmm0, xmmword [rsp + 0x78]
movups xmm1, xmmword [rsp + 0x88]
movups xmmword [rsi + 0x70], xmm1
movups xmmword [rsi + 0x60], xmm0
movaps xmm0, xmmword [rsp + 0x120]
movups xmmword [rsi + 0x50], xmm0
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmm2, xmmword [rsp + 0x100]
movaps xmm3, xmmword [rsp + 0x110]
movups xmmword [rsi + 0x40], xmm3
movups xmmword [rsi + 0x30], xmm2
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi + 8], rax
mov qword [rsi], rdi
jmp 0x18034784b
movabs r13, 0x8000000000000004
lea rcx, [rsp + 0x20]
mov rdx, r14
call fcn.1803487d0
mov rax, qword [rsp + 0x20]
mov r8, qword [rsp + 0x28]
lea rcx, [r13 - 4]
mov rdx, qword [rsp + 0x30]
mov r15, qword [rsp + 0x38]
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0xe0], xmm0
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0xf0], xmm0
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x100], xmm0
cmp rax, rcx
jne 0x180347b8e
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0xa0], rdx
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmm2, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x140], xmm1
movaps xmmword [rsp + 0x150], xmm2
mov rcx, r14
call fcn.180340ff0
mov ebp, eax
mov rcx, r14
call fcn.1803410a0
cmp ebp, 0x29
je 0x180347c3b
cmp ebp, 0x3a
jne 0x180347d57
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x48], rax
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [r12]
movaps xmmword [rsp + 0x20], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call fcn.180338c90
mov rdi, rax
mov rbx, rdx
movzx eax, byte [0x1805297c8]
mov ecx, 0x10
mov edx, 8
call fcn.1802cbf10
test rax, rax
je 0x180347d72
mov qword [rax], rdi
mov qword [rax + 8], rbx
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x80], xmm2
movups xmmword [rsi + 0x70], xmm1
movups xmmword [rsi + 0x60], xmm0
mov rcx, qword [rsp + 0xa8]
mov qword [rsi + 8], rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], r15
movaps xmm0, xmmword [rsp + 0x130]
movaps xmm1, xmmword [rsp + 0x140]
movaps xmm2, xmmword [rsp + 0x150]
movups xmmword [rsi + 0x20], xmm0
movups xmmword [rsi + 0x30], xmm1
movups xmmword [rsi + 0x40], xmm2
add r13, 0xfffffffffffffffe
mov qword [rsi], r13
jmp 0x180347847
movups xmm0, xmmword [rsp + 0x70]
movups xmm1, xmmword [rsp + 0x80]
movups xmm2, xmmword [rsp + 0x90]
movups xmmword [rsi + 0x78], xmm2
movups xmmword [rsi + 0x68], xmm1
movups xmmword [rsi + 0x58], xmm0
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
mov qword [rsi + 0x20], r15
movaps xmm0, xmmword [rsp + 0xe0]
movaps xmm1, xmmword [rsp + 0xf0]
movaps xmm2, xmmword [rsp + 0x100]
movups xmmword [rsi + 0x28], xmm0
movups xmmword [rsi + 0x38], xmm1
movups xmmword [rsi + 0x48], xmm2
mov qword [rsi + 8], rax
mov qword [rsi], r13
jmp 0x18034784b
mov r14d, 1
mov rcx, r14
mov rdx, rbx
mov r8, rdi
call fcn.180468b10
movups xmm0, xmmword [rsp + 0xb0]
movups xmm1, xmmword [rsp + 0xc0]
movups xmm2, xmmword [rsp + 0xd0]
movups xmmword [rsi + 0x58], xmm0
movups xmmword [rsi + 0x68], xmm1
movups xmmword [rsi + 0x78], xmm2
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], rdi
mov dword [rsi + 0x20], 0x15
jmp 0x180347520
test r15, r15
je 0x180347ced
lea rax, [rsi + 0x20]
mov rcx, qword [r12 + 0x10]
mov qword [rsp + 0x48], rcx
movups xmm0, xmmword [r12]
movups xmmword [rsp + 0x38], xmm0
movups xmm0, xmmword [rsp + 0xb0]
movaps xmmword [rsp + 0x20], xmm0
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x30], rcx
movaps xmm0, xmmword [rsp + 0x130]
movaps xmm1, xmmword [rsp + 0x140]
movaps xmm2, xmmword [rsp + 0x150]
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
movaps xmm0, xmmword [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov qword [rsi + 0x70], rdx
mov rdx, qword [rsp + 0x48]
mov qword [rsi + 0x78], rdx
mov qword [rsi + 0x60], rax
mov qword [rsi + 0x68], rcx
movups xmmword [rsi + 0x50], xmm0
mov rax, qword [rsp + 0xa8]
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], r15
dec r13
mov qword [rsi], r13
jmp 0x18034784b
lea rcx, [rsi + 8]
mov rdx, rbx
mov r8, rdi
call fcn.180205490
movaps xmm0, xmmword [rsp + 0x160]
movaps xmm1, xmmword [rsp + 0x170]
movaps xmm2, xmmword [rsp + 0x180]
movups xmmword [rsi + 0x78], xmm2
movups xmmword [rsi + 0x68], xmm1
movups xmmword [rsi + 0x58], xmm0
mov dword [rsi + 0x20], 0x1b
mov qword [rsi], r13
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x18034784b
imul rdx, rax, 0x38
mov r8d, 8
mov rcx, qword [rsp + 0xa0]
call fcn.1802cbf20
jmp 0x18034784b
ud2
xor r15d, r15d
mov rcx, r15
mov rdx, rdi
call fcn.180407090
mov rcx, r14
mov rdx, rdi
call fcn.180407090
mov ecx, 8
mov edx, 0x10
call fcn.180407090
int3