Function at 0x1401772a0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov r15d, 0xffffffff
mov dword [rsp + 0x5c], r15d
mov dword [rsp + 0x58], r15d
mov dword [rsp + 0x54], r15d
mov al, byte [rcx]
mov esi, 0xffffffff
mov r12d, 0xffffffff
mov ebx, 0xffffffff
test al, al
je 0x14017734a
mov qword [rsp + 0x40], rdx
xor ebp, ebp
movabs rdi, 0xaaaaaaaaaaaaaaaa
lea r13, [rsp + 0x60]
xorps xmm6, xmm6
mov dword [rsp + 0x3c], 0
mov esi, 0xffffffff
mov dword [rsp + 0x34], 0xffffffff
mov dword [rsp + 0x38], 0xffffffff
mov qword [rsp + 0x48], rcx
jmp 0x1401775a0
mov ecx, dword [rsp + 0x54]
cmp ecx, 0xffffffff
mov rdx, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x34]
jne 0x140177354
xor ecx, ecx
mov dword [rsp + 0x5c], ecx
mov dword [rsp + 0x58], ecx
mov eax, 0xffffffff
cmp r12d, 0xffffffff
je 0x14017764b
cmp ebx, 0xffffffff
je 0x14017764b
cmp esi, 0x62f
jl 0x14017764b
cmp r12d, 0x20
setge r9b
cmp ebx, 0xc
setge r8b
or r8b, r9b
mov edi, dword [rsp + 0x5c]
cmp edi, 0x18
setge r10b
or r10b, r8b
mov r9d, dword [rsp + 0x58]
cmp r9d, 0x3c
setge r8b
cmp ecx, 0x3d
setge r11b
or r11b, r8b
or r11b, r10b
jne 0x14017764b
movsxd r8, edi
movsxd r14, r9d
test ebx, ebx
js 0x140177967
mov r9d, ebx
xor eax, eax
cmp r15d, 0xffffffff
cmove r15d, eax
lea r10d, [rsi - 0x7b2]
movsxd r10, r10d
imul r10, r10, 0x16d
xor r11d, r11d
cmp ebx, 2
setl r11b
sub esi, r11d
mov r11d, esi
shr r11d, 2
imul rdi, rsi, 0x51eb851f
mov rbx, rdi
shr rbx, 0x25
shr rdi, 0x27
sub r11d, ebx
add r11d, edi
add r11d, 0xfffffe23
movsxd r11, r11d
mov r9d, r9d
lea rdi, [0x1403ffd60]
movsxd r9, dword [rdi + r9*4]
movsxd rsi, r12d
add rsi, r10
add rsi, r9
add rsi, r11
lea r9, [rsi + rsi*2]
lea r8, [r8 + r9*8]
imul r8, r8, 0x3c
add r8, r14
imul r9, r8, 0x3c
movsxd rcx, ecx
movsxd r8, r15d
add r8, rcx
lea rcx, [r9 + r8]
add rcx, 0xfffffffffffeae80
mov qword [rdx], rcx
jmp 0x14017764b
cmp r14, 4
lea rdx, [0x1403e2e74]
lea rax, str.Wednesday
cmovae rdx, rax
mov rcx, r13
call fcn.140151600
test eax, eax
je 0x140177993
mov dword [rsp + 0x38], 2
jmp 0x140177582
mov rcx, r13
lea rdx, [0x1403e2ec4]
call fcn.140151600
mov dword [rsp + 0x34], 1
test eax, eax
jne 0x140177582
mov rcx, r13
lea rdx, [0x1403e2ec8]
call fcn.140151600
mov dword [rsp + 0x34], 2
test eax, eax
jne 0x140177582
mov rcx, r13
lea rdx, [0x1403e2ecc]
call fcn.140151600
mov dword [rsp + 0x34], 3
test eax, eax
jne 0x140177582
jmp 0x140177a53
cmp r14, 4
lea rdx, [0x1403e2e70]
lea rax, str.Tuesday
cmovae rdx, rax
mov rcx, r13
call fcn.140151600
test eax, eax
je 0x140177463
mov dword [rsp + 0x38], 1
jmp 0x140177582
mov rcx, r13
lea rdx, [0x1403e2ec0]
call fcn.140151600
test eax, eax
je 0x140177496
mov dword [rsp + 0x34], 0
jmp 0x140177582
cmp r14, 4
lea rdx, [0x1403e2e6c]
lea rax, str.Monday
cmovae rdx, rax
mov rcx, r13
call fcn.140151600
test eax, eax
je 0x1401774f8
mov dword [rsp + 0x38], 0
jmp 0x140177582
lea rax, [0x1403ffa20]
imul r15d, dword [r15 + rax + 8], 0x3c
add rbx, r14
mov rcx, rbx
mov al, byte [rcx]
test al, al
je 0x140177338
lea edx, [rbp + 1]
cmp ebp, 5
mov ebp, edx
jae 0x140177338
mov rbx, rcx
movzx ecx, al
call fcn.1401769e0
test eax, eax
jne 0x1401775c2
mov al, byte [rbx + 1]
inc rbx
test al, al
jne 0x1401775a3
xor eax, eax
jmp 0x1401775c4
xor r14d, r14d
jmp 0x1401775ff
mov al, byte [rbx]
movzx ecx, al
call fcn.140176a70
test eax, eax
je 0x1401776fe
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
mov rcx, rbx
lea rdx, str._31_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
mov r8, r13
call fcn.1400d45b0
test eax, eax
je 0x1401775bd
mov rcx, r13
call fcn.14029c0d0
mov r14, rax
cmp dword [rsp + 0x38], 0xffffffff
je 0x140177549
cmp dword [rsp + 0x34], 0xffffffff
je 0x140177528
cmp r15d, 0xffffffff
jne 0x140177646
xor r15d, r15d
lea rax, [0x1403ffa20]
lea rdx, [rax + r15]
mov rcx, r13
call fcn.140151600
test eax, eax
jne 0x140177575
add r15, 0xc
cmp r15d, 0x33c
jne 0x14017761e
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x140177665
call fcn.140278ca0
int3
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea rdx, str._02d:_02d:_02d_n
lea r8, [rsp + 0x5c]
lea r9, [rsp + 0x58]
call fcn.1400d45b0
cmp eax, 3
jne 0x1401776c1
mov eax, dword [rsp + 0x50]
cdqe
add rbx, rax
jmp 0x140177585
cmp dword [rsp + 0x54], 0xffffffff
jne 0x140177726
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, rbx
lea rdx, str._02d:_02d_n
lea r8, [rsp + 0x5c]
lea r9, [rsp + 0x58]
call fcn.1400d45b0
cmp eax, 2
jne 0x140177726
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x54], 0
jmp 0x1401776b7
movzx ecx, byte [rbx]
call fcn.1401769c0
test eax, eax
je 0x140177585
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x50], 0
cmp dword [rsp + 0x54], 0xffffffff
je 0x140177681
mov r14, r13
mov r13d, r12d
mov rdi, rsi
mov esi, r15d
call fcn.14028de30
mov r12d, dword [rax]
call fcn.14028de30
mov dword [rax], 0
mov rcx, rbx
mov rdx, r14
mov r8d, 0xa
call fcn.140293930
mov r14d, eax
call fcn.14028de30
mov r15d, dword [rax]
call fcn.14028de30
cmp dword [rax], r12d
je 0x140177773
call fcn.14028de30
mov dword [rax], r12d
test r15d, r15d
jne 0x140177646
mov ecx, r14d
call fcn.1401518c0
mov rcx, qword [rsp + 0x60]
mov r8, rcx
sub r8, rbx
cmp esi, 0xffffffff
je 0x1401778d8
mov r15d, esi
xor edx, edx
mov rsi, rdi
mov edi, r13d
lea r13, [rsp + 0x60]
cmp r8, 8
jne 0x140177827
cmp esi, 0xffffffff
jne 0x140177827
cmp dword [rsp + 0x34], 0xffffffff
jne 0x140177827
cmp edi, 0xffffffff
jne 0x140177827
movsxd rdx, eax
imul rsi, rdx, 0x68db8bad
mov r8, rsi
shr r8, 0x3f
sar rsi, 0x2c
add esi, r8d
imul r8d, esi, 0x2710
mov r9d, eax
sub r9d, r8d
movsx r8d, r9w
imul r8d, r8d, 0x147b
mov r9d, r8d
sar r9d, 0x13
shr r8d, 0x1f
add r8d, r9d
dec r8d
movsx r8d, r8w
mov dword [rsp + 0x34], r8d
imul rdx, rdx, 0x51eb851f
mov r8, rdx
shr r8, 0x3f
sar rdx, 0x25
add edx, r8d
imul edx, edx, 0x64
mov edi, eax
sub edi, edx
mov dl, 1
mov r9d, edi
mov r8d, edx
not r8b
mov edi, dword [rsp + 0x3c]
test edi, edi
sete r10b
and r10b, r8b
cmp r9d, 0xffffffff
sete r11b
and r11b, r10b
lea r8d, [rax - 1]
cmp r8d, 0x1f
setb r8b
mov r12d, 0xffffffff
cmovb r12d, eax
test r11b, r11b
cmove r12d, r9d
mov r9d, 1
cmovne edi, r9d
and r8b, r11b
or r8b, dl
test r8b, 1
jne 0x1401778bb
cmp edi, 1
jne 0x1401778bb
cmp esi, 0xffffffff
jne 0x1401778bb
mov esi, eax
cmp eax, 0x63
movabs rdi, 0xaaaaaaaaaaaaaaaa
jg 0x1401778a9
cmp eax, 0x47
jge 0x1401778a2
add eax, 0x7d0
jmp 0x1401778a7
add eax, 0x76c
mov esi, eax
xor eax, eax
cmp r12d, 0xffffffff
setne al
mov dword [rsp + 0x3c], eax
jmp 0x140177588
mov dword [rsp + 0x3c], edi
test r8b, 1
movabs rdi, 0xaaaaaaaaaaaaaaaa
jne 0x140177588
jmp 0x140177646
xor edx, edx
mov r15d, 0xffffffff
cmp qword [rsp + 0x48], rbx
mov rsi, rdi
mov edi, r13d
jae 0x1401777a3
cmp r8, 4
lea r13, [rsp + 0x60]
jne 0x1401777a8
cmp eax, 0x578
jg 0x1401777a8
movzx edx, byte [rbx - 1]
mov r8d, 4
cmp edx, 0x2d
je 0x140177926
cmp edx, 0x2b
je 0x140177926
xor edx, edx
jmp 0x1401777a8
movsxd r9, eax
imul r9, r9, 0x51eb851f
mov r10, r9
shr r10, 0x3f
sar r9, 0x25
add r9d, r10d
imul r10d, r9d, 0x3c
imul r9d, r9d, 0x64
mov r11d, eax
sub r11d, r9d
add r11d, r10d
imul r9d, r11d, 0x3c
mov r15d, r9d
neg r15d
cmp dl, 0x2b
cmovne r15d, r9d
mov dl, 1
jmp 0x1401777a8
mov eax, ntohl
sub eax, ebx
mov r9d, 0xaaaaaaab
imul r9, rax
shr r9, 0x23
add esi, r9d
shl r9d, 2
lea r9d, [r9 + r9*2]
sub r9d, eax
add r9d, 0xb
jmp 0x1401773c9
cmp r14, 4
lea rdx, [0x1403e2e78]
lea rax, [0x1403dbf2d]
cmovae rdx, rax
mov rcx, r13
call fcn.140151600
test eax, eax
je 0x1401779c2
mov dword [rsp + 0x38], 3
jmp 0x140177582
cmp r14, 4
lea rdx, [0x1403e2e7c]
lea rax, str.Friday
cmovae rdx, rax
mov rcx, r13
call fcn.140151600
test eax, eax
je 0x1401779f1
mov dword [rsp + 0x38], 4
jmp 0x140177582
cmp r14, 4
lea rdx, [0x1403e2e80]
lea rax, [0x1403dbf3d]
cmovae rdx, rax
mov rcx, r13
call fcn.140151600
test eax, eax
je 0x140177a20
mov dword [rsp + 0x38], 5
jmp 0x140177582
cmp r14, 4
lea rdx, [0x1403e2e68]
lea rax, str.Sunday
cmovae rdx, rax
mov rcx, r13
call fcn.140151600
test eax, eax
je 0x14017760a
mov dword [rsp + 0x38], 6
jmp 0x140177582
mov rcx, r13
lea rdx, [0x1403e2ebc]
call fcn.140151600
mov dword [rsp + 0x34], 4
test eax, eax
jne 0x140177582
mov rcx, r13
lea rdx, [0x1403e2ed0]
call fcn.140151600
mov dword [rsp + 0x34], 5
test eax, eax
jne 0x140177582
mov rcx, r13
lea rdx, [0x1403e2ed4]
call fcn.140151600
mov dword [rsp + 0x34], 6
test eax, eax
jne 0x140177582
mov rcx, r13
lea rdx, [0x1403e2ed8]
call fcn.140151600
mov dword [rsp + 0x34], 7
test eax, eax
jne 0x140177582
mov rcx, r13
lea rdx, [0x1403e2edc]
call fcn.140151600
mov dword [rsp + 0x34], 8
test eax, eax
jne 0x140177582
mov rcx, r13
lea rdx, [0x1403e2ee0]
call fcn.140151600
mov dword [rsp + 0x34], 9
test eax, eax
jne 0x140177582
mov rcx, r13
lea rdx, [0x1403e2ee4]
call fcn.140151600
mov dword [rsp + 0x34], 0xa
test eax, eax
je 0x140177b32
lea r13, [rsp + 0x60]
jmp 0x140177582
lea rcx, [rsp + 0x60]
lea rdx, [0x1403e2ee8]
call fcn.140151600
mov dword [rsp + 0x34], recv
test eax, eax
jne 0x140177b28
mov dword [rsp + 0x34], 0xffffffff
lea r13, [rsp + 0x60]
jmp 0x140177615