Function at 0x4071c5
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xc8
mov rax, qword [rdx]
mov r14, qword [rdx + 8]
test rax, rax
mov qword [rsp + 0x110], rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
je 0x408792
lea rax, [rax + rax*2]
mov ecx, 4
cqo
idiv rcx
lea rcx, [0x004111c0]
lea rbx, [rax + 6]
call fcn.0040bfc0
cmp byte [rax], 0
mov r15, rax
jne 0x408792
lea rcx, [rsp + 0xa0]
mov rdx, rbx
call fcn.0040664b
movabs r8, 0x2000000100002400
mov rax, qword [rsp + 0x40]
lea rdx, [rax - 1]
mov cl, byte [r14 + rdx + 8]
cmp cl, 0x3d
ja 0x40727c
mov rax, r8
shr rax, cl
not rax
and al, 1
mov byte [rsp + 0x6f], al
jne 0x407281
mov qword [rsp + 0x40], rdx
jmp 0x407251
mov byte [rsp + 0x6f], 1
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], 0
sub rax, 4
mov qword [rsp + 0x70], rax
mov rdi, qword [rsp + 0x70]
cmp qword [rsp + 0x30], rdi
jle 0x4072e6
mov rax, qword [rsp + 0x30]
mov ecx, 4
sub rax, qword [rsp + 0x40]
cqo
idiv rcx
mov rax, rdx
sar rax, 0x3f
xor rdx, rax
sub rdx, rax
cmp rdx, 2
jne 0x407c2c
jmp 0x407c3b
test al, al
jne 0x40730e
inc qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
movzx ecx, byte [r14 + rax + 8]
mov al, byte [rsp + 0x6f]
cmp cl, 0x20
ja 0x4072dd
mov eax, 0x400009
shl rax, 0xa
shr rax, cl
not rax
and eax, 1
jmp 0x4072dd
lea rax, [0x004138a0]
mov al, byte [rax + rcx]
mov byte [rsp + 0x58], al
inc al
jne 0x4074e3
lea rsi, [0x004110a0]
mov ecx, 0x50
call fcn.00405b6b
lea rbp, str.ValueError
mov qword [rax + 0x10], rsi
lea rdi, [rax + 0x10]
mov qword [rax + 0x20], rbp
mov rax, qword [rsp + 0x30]
lea rbx, [rsp + 0x90]
mov qword [rsp + 0xb0], 0
mov rcx, rbx
mov qword [rsp + 0xb8], 0
movzx edx, byte [r14 + rax + 8]
call fcn.00406772
cmp byte [r15], 0
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
jne 0x40752c
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.00406772
cmp byte [r15], 0
mov rax, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
jne 0x4074cf
lea rdx, [r12 + rax + 0x38]
mov rcx, rbx
mov qword [rsp + 0x48], rax
call fcn.00406113
lea r9, [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0x90]
mov rdx, rbx
movaps xmm1, xmmword [0x00413880]
mov rcx, r9
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0x90], xmm1
call fcn.00403a44
mov rax, qword [rsp + 0x30]
mov rcx, r9
movsx edx, byte [r14 + rax + 8]
call fcn.00401b14
movaps xmm2, xmmword [0x00413870]
mov rdx, rbx
movaps xmmword [rsp + 0x90], xmm2
call fcn.00403a44
mov rdx, rbx
mov qword [rsp + 0x90], r12
mov rcx, r9
mov qword [rsp + 0x98], rsi
call fcn.00403a44
movaps xmm3, xmmword [0x00413860]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm3
call fcn.00403a44
mov rax, qword [rsp + 0x48]
mov rdx, rbx
mov qword [rsp + 0x98], r13
mov rcx, r9
mov qword [rsp + 0x90], rax
call fcn.00403a44
movaps xmm4, xmmword [0x00413850]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm4
call fcn.00403a44
movaps xmm5, xmmword [rsp + 0xb0]
mov rdx, rbp
mov rcx, rdi
mov qword [rdi + 8], 0
lea r9, str.base64.nim
movups xmmword [rdi + 0x18], xmm5
lea r8, str.decode
mov qword [rsp + 0x20], 0xee
call fcn.00405c61
test r13, r13
jne 0x407513
test rsi, rsi
jne 0x407535
cmp byte [r15], 0
jne 0x408792
mov rax, qword [rsp + 0x30]
lea rdx, [0x004138a0]
lea rbp, [rax + 1]
movzx eax, byte [rbp + r14 + 8]
movzx eax, byte [rdx + rax]
mov byte [rsp + 0x48], al
cmp byte [rsp + 0x48], 0xff
mov qword [rsp + 0x78], rax
jne 0x407704
jmp 0x40754d
mov eax, 1
shl rax, 0x3e
test qword [r13], rax
jne 0x4074d4
mov rcx, r13
call fcn.00404b55
jmp 0x4074d4
test rsi, rsi
je 0x408792
mov eax, 1
shl rax, 0x3e
test qword [rsi], rax
jne 0x4074d9
mov rcx, rsi
call fcn.00404b55
jmp 0x4074d9
lea rsi, [0x004110a0]
mov ecx, 0x50
call fcn.00405b6b
lea rbx, [rsp + 0x90]
mov qword [rax + 0x10], rsi
lea rdi, [rax + 0x10]
mov rcx, rbx
lea rax, str.ValueError
mov qword [rdi + 0x10], rax
movzx edx, byte [r14 + rbp + 8]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
call fcn.00406772
cmp byte [r15], 0
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
jne 0x407750
mov rdx, rbp
mov rcx, rbx
call fcn.00406772
cmp byte [r15], 0
mov r8, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
jne 0x4076f0
lea rdx, [r12 + r8 + 0x38]
mov rcx, rbx
mov qword [rsp + 0x50], r8
call fcn.00406113
lea r9, [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0x90]
mov rdx, rbx
movaps xmm1, xmmword [0x00413880]
mov rcx, r9
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0x90], xmm1
call fcn.00403a44
movsx edx, byte [r14 + rbp + 8]
mov rcx, r9
call fcn.00401b14
movaps xmm2, xmmword [0x00413870]
mov rdx, rbx
movaps xmmword [rsp + 0x90], xmm2
call fcn.00403a44
mov rdx, rbx
mov qword [rsp + 0x90], r12
mov rcx, r9
mov qword [rsp + 0x98], rsi
call fcn.00403a44
movaps xmm3, xmmword [0x00413860]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm3
call fcn.00403a44
mov r8, qword [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x98], r13
mov rcx, r9
mov qword [rsp + 0x90], r8
call fcn.00403a44
movaps xmm4, xmmword [0x00413850]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm4
call fcn.00403a44
movaps xmm5, xmmword [rsp + 0xb0]
mov rcx, rdi
mov qword [rdi + 8], 0
lea r9, str.base64.nim
movups xmmword [rdi + 0x18], xmm5
lea r8, str.decode
mov qword [rsp + 0x20], 0xee
lea rdx, str.ValueError
call fcn.00405c61
test r13, r13
jne 0x407737
test rsi, rsi
jne 0x407759
cmp byte [r15], 0
jne 0x408792
mov rax, qword [rsp + 0x30]
lea rdx, [0x004138a0]
lea rbp, [rax + 2]
movzx eax, byte [rbp + r14 + 8]
movzx eax, byte [rdx + rax]
mov byte [rsp + 0x50], al
cmp byte [rsp + 0x50], 0xff
mov qword [rsp + 0x80], rax
jne 0x407928
jmp 0x407771
mov edx, 1
shl rdx, 0x3e
test qword [r13], rdx
jne 0x4076f5
mov rcx, r13
call fcn.00404b55
jmp 0x4076f5
test rsi, rsi
je 0x408792
mov eax, 1
shl rax, 0x3e
test qword [rsi], rax
jne 0x4076fa
mov rcx, rsi
call fcn.00404b55
jmp 0x4076fa
lea rsi, [0x004110a0]
mov ecx, 0x50
call fcn.00405b6b
lea rbx, [rsp + 0x90]
mov qword [rax + 0x10], rsi
lea rdi, [rax + 0x10]
mov rcx, rbx
lea rax, str.ValueError
mov qword [rdi + 0x10], rax
movzx edx, byte [r14 + rbp + 8]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
call fcn.00406772
cmp byte [r15], 0
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
jne 0x407968
mov rdx, rbp
mov rcx, rbx
call fcn.00406772
cmp byte [r15], 0
mov r8, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
jne 0x407914
lea rdx, [r12 + r8 + 0x38]
mov rcx, rbx
mov qword [rsp + 0x60], r8
call fcn.00406113
lea r9, [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0x90]
mov rdx, rbx
movaps xmm1, xmmword [0x00413880]
mov rcx, r9
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0x90], xmm1
call fcn.00403a44
movsx edx, byte [r14 + rbp + 8]
mov rcx, r9
call fcn.00401b14
movaps xmm2, xmmword [0x00413870]
mov rdx, rbx
movaps xmmword [rsp + 0x90], xmm2
call fcn.00403a44
mov rdx, rbx
mov qword [rsp + 0x90], r12
mov rcx, r9
mov qword [rsp + 0x98], rsi
call fcn.00403a44
movaps xmm3, xmmword [0x00413860]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm3
call fcn.00403a44
mov r8, qword [rsp + 0x60]
mov rdx, rbx
mov qword [rsp + 0x98], r13
mov rcx, r9
mov qword [rsp + 0x90], r8
call fcn.00403a44
movaps xmm4, xmmword [0x00413850]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm4
call fcn.00403a44
movaps xmm5, xmmword [rsp + 0xb0]
mov rcx, rdi
mov qword [rdi + 8], 0
lea r9, str.base64.nim
movups xmmword [rdi + 0x18], xmm5
lea r8, str.decode
mov qword [rsp + 0x20], 0xee
lea rdx, str.ValueError
call fcn.00405c61
test r13, r13
jne 0x40794f
test rsi, rsi
jne 0x407971
cmp byte [r15], 0
jne 0x408792
mov rax, qword [rsp + 0x30]
lea rdx, [0x004138a0]
lea rbp, [rax + 3]
movzx eax, byte [rbp + r14 + 8]
mov al, byte [rdx + rax]
mov byte [rsp + 0x60], al
inc al
jne 0x407b4e
jmp 0x407989
mov edx, 1
shl rdx, 0x3e
test qword [r13], rdx
jne 0x407919
mov rcx, r13
call fcn.00404b55
jmp 0x407919
test rsi, rsi
je 0x408792
mov eax, 1
shl rax, 0x3e
test qword [rsi], rax
jne 0x40791e
mov rcx, rsi
call fcn.00404b55
jmp 0x40791e
lea rsi, [0x004110a0]
mov ecx, 0x50
call fcn.00405b6b
lea rbx, [rsp + 0x90]
mov qword [rax + 0x10], rsi
lea rdi, [rax + 0x10]
mov rcx, rbx
lea rax, str.ValueError
mov qword [rdi + 0x10], rax
movzx edx, byte [r14 + rbp + 8]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
call fcn.00406772
cmp byte [r15], 0
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
jne 0x407c04
mov rdx, rbp
mov rcx, rbx
call fcn.00406772
cmp byte [r15], 0
mov r8, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
jne 0x407b32
lea rdx, [r12 + r8 + 0x38]
mov rcx, rbx
mov qword [rsp + 0x88], r8
call fcn.00406113
lea r9, [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0x90]
mov rdx, rbx
movaps xmm1, xmmword [0x00413880]
mov rcx, r9
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0x90], xmm1
call fcn.00403a44
movsx edx, byte [r14 + rbp + 8]
mov rcx, r9
call fcn.00401b14
movaps xmm2, xmmword [0x00413870]
mov rdx, rbx
movaps xmmword [rsp + 0x90], xmm2
call fcn.00403a44
mov rdx, rbx
mov qword [rsp + 0x90], r12
mov rcx, r9
mov qword [rsp + 0x98], rsi
call fcn.00403a44
movaps xmm3, xmmword [0x00413860]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm3
call fcn.00403a44
mov r8, qword [rsp + 0x88]
mov rdx, rbx
mov qword [rsp + 0x98], r13
mov rcx, r9
mov qword [rsp + 0x90], r8
call fcn.00403a44
movaps xmm4, xmmword [0x00413850]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm4
call fcn.00403a44
movaps xmm5, xmmword [rsp + 0xb0]
mov rcx, rdi
mov qword [rdi + 8], 0
lea r9, str.base64.nim
movups xmmword [rdi + 0x18], xmm5
lea r8, str.decode
mov qword [rsp + 0x20], 0xee
lea rdx, str.ValueError
call fcn.00405c61
test r13, r13
jne 0x407be4
test rsi, rsi
jne 0x407c0d
cmp byte [r15], 0
jne 0x408792
add qword [rsp + 0x30], 4
lea rbx, [rsp + 0xa0]
mov rcx, rbx
call fcn.00405b93
mov al, byte [rsp + 0x58]
mov rcx, rbx
mov rdx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x38]
shl eax, 2
sar rdx, 4
or eax, edx
mov rdx, qword [rsp + 0xa8]
mov byte [rdx + rdi + 8], al
call fcn.00405b93
mov al, byte [rsp + 0x48]
mov rcx, rbx
mov rdx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x38]
shl eax, 4
sar rdx, 2
or eax, edx
mov rdx, qword [rsp + 0xa8]
mov byte [rdx + rdi + 9], al
call fcn.00405b93
mov al, byte [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
mov rdx, qword [rsp + 0xa8]
add qword [rsp + 0x38], 3
shl eax, 6
or eax, dword [rsp + 0x60]
mov byte [rdx + rdi + 0xa], al
jmp 0x4072a1
mov edx, 1
shl rdx, 0x3e
test qword [r13], rdx
jne 0x407b3b
mov rcx, r13
call fcn.00404b55
jmp 0x407b3b
test rsi, rsi
je 0x408792
mov eax, 1
shl rax, 0x3e
test qword [rsi], rax
jne 0x407b44
mov rcx, rsi
call fcn.00404b55
jmp 0x407b44
cmp rdx, 3
jne 0x40876a
jmp 0x4080a3
mov rax, qword [rsp + 0x30]
lea rdx, [0x004138a0]
movzx eax, byte [rax + r14 + 8]
mov al, byte [rdx + rax]
mov byte [rsp + 0x40], al
inc al
je 0x407c86
mov r12, qword [rsp + 0x30]
lea rdx, [0x004138a0]
inc r12
movzx eax, byte [r12 + r14 + 8]
movzx edi, byte [rdx + rax]
mov rax, rdi
mov qword [rsp + 0x30], rdi
inc al
jne 0x40802d
jmp 0x407e76
lea rdi, [0x004110a0]
mov ecx, 0x50
call fcn.00405b6b
lea r12, str.ValueError
mov qword [rax + 0x10], rdi
lea rbp, [rax + 0x10]
mov qword [rax + 0x20], r12
mov rax, qword [rsp + 0x30]
lea rbx, [rsp + 0x90]
mov qword [rsp + 0xb0], 0
mov rcx, rbx
mov qword [rsp + 0xb8], 0
movzx edx, byte [rax + r14 + 8]
call fcn.00406772
cmp byte [r15], 0
mov r13, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
jne 0x408789
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.00406772
cmp byte [r15], 0
mov rax, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
jne 0x407e31
lea rdx, [r13 + rax + 0x38]
mov rcx, rbx
mov qword [rsp + 0x48], rax
call fcn.00406113
lea r9, [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0x90]
mov rdx, rbx
movaps xmm1, xmmword [0x00413880]
mov rcx, r9
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0x90], xmm1
call fcn.00403a44
mov rax, qword [rsp + 0x30]
mov rcx, r9
movsx edx, byte [rax + r14 + 8]
call fcn.00401b14
movaps xmm2, xmmword [0x00413870]
mov rdx, rbx
movaps xmmword [rsp + 0x90], xmm2
call fcn.00403a44
mov rdx, rbx
mov qword [rsp + 0x90], r13
mov rcx, r9
mov qword [rsp + 0x98], rdi
call fcn.00403a44
movaps xmm3, xmmword [0x00413860]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm3
call fcn.00403a44
mov rax, qword [rsp + 0x48]
mov rdx, rbx
mov qword [rsp + 0x98], rsi
mov rcx, r9
mov qword [rsp + 0x90], rax
call fcn.00403a44
movaps xmm4, xmmword [0x00413850]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm4
call fcn.00403a44
movaps xmm5, xmmword [rsp + 0xb0]
mov rdx, r12
mov rcx, rbp
mov qword [rbp + 8], 0
lea r9, str.base64.nim
movups xmmword [rbp + 0x18], xmm5
lea r8, str.decode
mov qword [rsp + 0x20], 0xee
call fcn.00405c61
test rsi, rsi
je 0x407e4c
mov eax, 1
shl rax, 0x3e
test qword [rsi], rax
jne 0x407e4c
mov rcx, rsi
call fcn.00404b55
test rdi, rdi
je 0x407e67
mov eax, 1
shl rax, 0x3e
test qword [rdi], rax
jne 0x407e67
mov rcx, rdi
call fcn.00404b55
cmp byte [r15], 0
je 0x407c58
jmp 0x408792
lea rsi, [0x004110a0]
mov ecx, 0x50
call fcn.00405b6b
lea rbx, [rsp + 0x90]
mov qword [rax + 0x10], rsi
lea rbp, [rax + 0x10]
mov rcx, rbx
lea rax, str.ValueError
mov qword [rbp + 0x10], rax
movzx edx, byte [r12 + r14 + 8]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
call fcn.00406772
cmp byte [r15], 0
mov r13, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x98]
jne 0x408082
mov rdx, r12
mov rcx, rbx
call fcn.00406772
cmp byte [r15], 0
mov r8, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
jne 0x408019
lea rdx, [r13 + r8 + 0x38]
mov rcx, rbx
mov qword [rsp + 0x48], r8
call fcn.00406113
lea r9, [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0x90]
mov rdx, rbx
movaps xmm1, xmmword [0x00413880]
mov rcx, r9
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0x90], xmm1
call fcn.00403a44
movsx edx, byte [r12 + r14 + 8]
mov rcx, r9
call fcn.00401b14
movaps xmm2, xmmword [0x00413870]
mov rdx, rbx
movaps xmmword [rsp + 0x90], xmm2
call fcn.00403a44
mov rdx, rbx
mov qword [rsp + 0x90], r13
mov rcx, r9
mov qword [rsp + 0x98], rdi
call fcn.00403a44
movaps xmm3, xmmword [0x00413860]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm3
call fcn.00403a44
mov r8, qword [rsp + 0x48]
mov rdx, rbx
mov qword [rsp + 0x98], rsi
mov rcx, r9
mov qword [rsp + 0x90], r8
call fcn.00403a44
movaps xmm4, xmmword [0x00413850]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm4
call fcn.00403a44
movaps xmm5, xmmword [rsp + 0xb0]
mov rcx, rbp
mov qword [rbp + 8], 0
lea r9, str.base64.nim
movups xmmword [rbp + 0x18], xmm5
lea r8, str.decode
mov qword [rsp + 0x20], 0xee
lea rdx, str.ValueError
call fcn.00405c61
test rsi, rsi
jne 0x40806a
test rdi, rdi
jne 0x40808b
cmp byte [r15], 0
jne 0x408792
lea rcx, [rsp + 0xa0]
call fcn.00405b93
mov sil, byte [rsp + 0x40]
mov r13, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0xa8]
inc qword [rsp + 0x38]
shl esi, 2
sar r13, 4
or r13d, esi
mov byte [rax + rdi + 8], r13b
jmp 0x40876a
mov edx, 1
shl rdx, 0x3e
test qword [rsi], rdx
jne 0x40801e
mov rcx, rsi
call fcn.00404b55
jmp 0x40801e
test rdi, rdi
je 0x408792
mov eax, 1
shl rax, 0x3e
test qword [rdi], rax
jne 0x408023
mov rcx, rdi
call fcn.00404b55
jmp 0x408023
mov rax, qword [rsp + 0x30]
lea rdx, [0x004138a0]
movzx eax, byte [rax + r14 + 8]
mov al, byte [rdx + rax]
mov byte [rsp + 0x48], al
inc al
je 0x4080f3
mov rax, qword [rsp + 0x30]
lea rdx, [0x004138a0]
lea rbp, [rax + 1]
movzx eax, byte [rbp + r14 + 8]
movzx eax, byte [rdx + rax]
mov byte [rsp + 0x40], al
cmp byte [rsp + 0x40], 0xff
mov qword [rsp + 0x50], rax
jne 0x40849b
jmp 0x4082e4
lea rsi, [0x004110a0]
mov ecx, 0x50
call fcn.00405b6b
lea rbp, str.ValueError
mov qword [rax + 0x10], rsi
lea rdi, [rax + 0x10]
mov qword [rax + 0x20], rbp
mov rax, qword [rsp + 0x30]
lea rbx, [rsp + 0x90]
mov qword [rsp + 0xb0], 0
mov rcx, rbx
mov qword [rsp + 0xb8], 0
movzx edx, byte [rax + r14 + 8]
call fcn.00406772
cmp byte [r15], 0
mov r12, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
jne 0x40877e
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.00406772
cmp byte [r15], 0
mov rax, qword [rsp + 0x90]
mov r13, qword [rsp + 0x98]
jne 0x40829e
lea rdx, [r12 + rax + 0x38]
mov rcx, rbx
mov qword [rsp + 0x40], rax
call fcn.00406113
lea r9, [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0x90]
mov rdx, rbx
movaps xmm1, xmmword [0x00413880]
mov rcx, r9
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0x90], xmm1
call fcn.00403a44
mov rax, qword [rsp + 0x30]
mov rcx, r9
movsx edx, byte [rax + r14 + 8]
call fcn.00401b14
movaps xmm2, xmmword [0x00413870]
mov rdx, rbx
movaps xmmword [rsp + 0x90], xmm2
call fcn.00403a44
mov rdx, rbx
mov qword [rsp + 0x90], r12
mov rcx, r9
mov qword [rsp + 0x98], rsi
call fcn.00403a44
movaps xmm3, xmmword [0x00413860]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm3
call fcn.00403a44
mov rax, qword [rsp + 0x40]
mov rdx, rbx
mov qword [rsp + 0x98], r13
mov rcx, r9
mov qword [rsp + 0x90], rax
call fcn.00403a44
movaps xmm4, xmmword [0x00413850]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm4
call fcn.00403a44
movaps xmm5, xmmword [rsp + 0xb0]
mov rdx, rbp
mov rcx, rdi
mov qword [rdi + 8], 0
lea r9, str.base64.nim
movups xmmword [rdi + 0x18], xmm5
lea r8, str.decode
mov qword [rsp + 0x20], 0xee
call fcn.00405c61
test r13, r13
je 0x4082ba
mov eax, 1
shl rax, 0x3e
test qword [r13], rax
jne 0x4082ba
mov rcx, r13
call fcn.00404b55
test rsi, rsi
je 0x4082d5
mov eax, 1
shl rax, 0x3e
test qword [rsi], rax
jne 0x4082d5
mov rcx, rsi
call fcn.00404b55
cmp byte [r15], 0
je 0x4080c0
jmp 0x408792
lea rsi, [0x004110a0]
mov ecx, 0x50
call fcn.00405b6b
lea rbx, [rsp + 0x90]
mov qword [rax + 0x10], rsi
lea rdi, [rax + 0x10]
mov rcx, rbx
lea rax, str.ValueError
mov qword [rdi + 0x10], rax
movzx edx, byte [rbp + r14 + 8]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
call fcn.00406772
cmp byte [r15], 0
mov r13, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
jne 0x4084e0
mov rdx, rbp
mov rcx, rbx
call fcn.00406772
cmp byte [r15], 0
mov r8, qword [rsp + 0x90]
mov r12, qword [rsp + 0x98]
jne 0x408487
lea rdx, [r13 + r8 + 0x38]
mov rcx, rbx
mov qword [rsp + 0x58], r8
call fcn.00406113
lea r9, [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0x90]
mov rdx, rbx
movaps xmm1, xmmword [0x00413880]
mov rcx, r9
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0x90], xmm1
call fcn.00403a44
movsx edx, byte [rbp + r14 + 8]
mov rcx, r9
call fcn.00401b14
movaps xmm2, xmmword [0x00413870]
mov rdx, rbx
movaps xmmword [rsp + 0x90], xmm2
call fcn.00403a44
mov rdx, rbx
mov qword [rsp + 0x90], r13
mov rcx, r9
mov qword [rsp + 0x98], rsi
call fcn.00403a44
movaps xmm3, xmmword [0x00413860]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm3
call fcn.00403a44
mov r8, qword [rsp + 0x58]
mov rdx, rbx
mov qword [rsp + 0x98], r12
mov rcx, r9
mov qword [rsp + 0x90], r8
call fcn.00403a44
movaps xmm4, xmmword [0x00413850]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm4
call fcn.00403a44
movaps xmm5, xmmword [rsp + 0xb0]
mov rcx, rdi
mov qword [rdi + 8], 0
lea r9, str.base64.nim
movups xmmword [rdi + 0x18], xmm5
lea r8, str.decode
mov qword [rsp + 0x20], 0xee
lea rdx, str.ValueError
call fcn.00405c61
test r12, r12
jne 0x4084c7
test rsi, rsi
jne 0x4084e9
cmp byte [r15], 0
jne 0x408792
mov r12, qword [rsp + 0x30]
lea rdx, [0x004138a0]
add r12, 2
movzx eax, byte [r12 + r14 + 8]
movzx edi, byte [rdx + rax]
mov rax, rdi
mov qword [rsp + 0x30], rdi
inc al
jne 0x4086bc
jmp 0x408501
mov edx, 1
shl rdx, 0x3e
test qword [r12], rdx
jne 0x40848c
mov rcx, r12
call fcn.00404b55
jmp 0x40848c
test rsi, rsi
je 0x408792
mov eax, 1
shl rax, 0x3e
test qword [rsi], rax
jne 0x408491
mov rcx, rsi
call fcn.00404b55
jmp 0x408491
lea rsi, [0x004110a0]
mov ecx, 0x50
call fcn.00405b6b
lea rbx, [rsp + 0x90]
mov qword [rax + 0x10], rsi
lea rdi, [rax + 0x10]
mov rcx, rbx
lea rax, str.ValueError
mov qword [rdi + 0x10], rax
movzx edx, byte [r12 + r14 + 8]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
call fcn.00406772
cmp byte [r15], 0
mov r13, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
jne 0x408746
mov rdx, r12
mov rcx, rbx
call fcn.00406772
cmp byte [r15], 0
mov r8, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x98]
jne 0x4086a4
lea rdx, [r13 + r8 + 0x38]
mov rcx, rbx
mov qword [rsp + 0x58], r8
call fcn.00406113
lea r9, [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0x90]
mov rdx, rbx
movaps xmm1, xmmword [0x00413880]
mov rcx, r9
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0x90], xmm1
call fcn.00403a44
movsx edx, byte [r12 + r14 + 8]
mov rcx, r9
call fcn.00401b14
movaps xmm2, xmmword [0x00413870]
mov rdx, rbx
movaps xmmword [rsp + 0x90], xmm2
call fcn.00403a44
mov rdx, rbx
mov qword [rsp + 0x90], r13
mov rcx, r9
mov qword [rsp + 0x98], rsi
call fcn.00403a44
movaps xmm3, xmmword [0x00413860]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm3
call fcn.00403a44
mov r8, qword [rsp + 0x58]
mov rdx, rbx
mov qword [rsp + 0x98], rbp
mov rcx, r9
mov qword [rsp + 0x90], r8
call fcn.00403a44
movaps xmm4, xmmword [0x00413850]
mov rdx, rbx
mov rcx, r9
movaps xmmword [rsp + 0x90], xmm4
call fcn.00403a44
movaps xmm5, xmmword [rsp + 0xb0]
mov rcx, rdi
mov qword [rdi + 8], 0
lea r9, str.base64.nim
movups xmmword [rdi + 0x18], xmm5
lea r8, str.decode
mov qword [rsp + 0x20], 0xee
lea rdx, str.ValueError
call fcn.00405c61
test rbp, rbp
jne 0x408726
test rsi, rsi
jne 0x40874b
cmp byte [r15], 0
jne 0x408792
lea rbx, [rsp + 0xa0]
mov rcx, rbx
call fcn.00405b93
mov al, byte [rsp + 0x48]
mov rcx, rbx
mov rdx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
shl eax, 2
sar rdx, 4
or eax, edx
mov rdx, qword [rsp + 0xa8]
mov byte [rdx + rdi + 8], al
call fcn.00405b93
mov r15b, byte [rsp + 0x40]
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rax, qword [rsp + 0xa8]
add qword [rsp + 0x38], 2
shl r15d, 4
sar r14, 2
or r14d, r15d
mov byte [rax + rdi + 9], r14b
jmp 0x40876a
mov edx, 1
shl rdx, 0x3e
test qword [rbp], rdx
jne 0x4086a9
mov rcx, rbp
call fcn.00404b55
jmp 0x4086a9
test rsi, rsi
je 0x408792
mov eax, 1
shl rax, 0x3e
test qword [rsi], rax
jne 0x4086b2
mov rcx, rsi
call fcn.00404b55
jmp 0x4086b2
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0xa0]
call fcn.0040664b
jmp 0x408792
test rsi, rsi
jne 0x4082bf
jmp 0x408792
test rdi, rdi
jne 0x407e51
mov rax, qword [rsp + 0x110]
movaps xmm0, xmmword [rsp + 0xa0]
movups xmmword [rax], xmm0
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret