Function at 0x140043290
Capabilities:
Decode data using base64 via dword translation table
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14024fa28]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r15, rcx
mov qword [rbp - 1], rcx
mov qword [rbp + 7], rcx
xor edi, edi
mov dword [rbp - 0x21], edi
mov r8, qword [rdx]
test r8, r8
je 0x140043326
mov r8, qword [r8 + 0x38]
test r8, r8
je 0x140043326
lea r9, [0x1401fbfd0]
nop word [rax + rax]
mov rdx, qword [r8 + 8]
test rdx, rdx
je 0x14004355f
mov rcx, rdi
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x14004355f
cmp rcx, 6
jne 0x140043300
test r8, r8
je 0x140043326
mov rdx, qword [r8 + 0x10]
test rdx, rdx
jne 0x14004332d
lea rdx, [0x1401ef308]
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], rdi
mov qword [rbp + 0x1f], rdi
mov qword [rbp + 0x27], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf], dil
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], dil
jne 0x140043350
lea rcx, [rbp + 0xf]
call fcn.1400026f0
nop
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rcx, qword [rbp + 0xf]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1f]
call fcn.14014fb30
test al, al
jne 0x140043900
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], 0
mov rax, qword [rbp - 0x19]
test rax, rax
je 0x140043401
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x140043998
lfence
mov rdi, qword [rbp - 0x19]
mov rcx, rdi
call fcn.140002680
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
add rax, rdi
mov qword [rbp - 0x29], rax
lea rax, [rbp - 0x39]
mov qword [rbp - 0x11], rax
mov rcx, qword [rbp - 0x39]
lea rbx, [rcx + rdi]
mov r8, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov qword [rbp - 0x31], rbx
mov qword [rbp - 0x11], 0
mov rdx, qword [rbp - 0x31]
mov r13, qword [rbp - 0x39]
sub rdx, r13
lea rsi, [rbp + 0xf]
mov rbx, qword [rbp + 0xf]
mov r14, qword [rbp + 0x27]
cmp r14, 0x10
cmovae rsi, rbx
mov rdi, qword [rbp + 0x1f]
test rsi, rsi
je 0x1400438b3
test r13, r13
jne 0x14004343b
test rdx, rdx
jne 0x1400438b3
mov qword [rbp - 0x19], 0
cmp rdi, 0xffffffffffffffff
jne 0x140043459
nop dword [rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x140043450
lea rax, [rdi + rsi]
cmp rax, rsi
jb 0x1400438b3
lea rax, [rdi + 3]
shr rax, 2
lea rax, [rax + rax*2]
cmp rdx, rax
jae 0x1400434b0
mov rcx, rdi
test rdi, rdi
je 0x14004348d
nop
cmp byte [rsi + rcx - 1], 0x3d
jne 0x14004348d
sub rcx, 1
jne 0x140043480
mov rax, rcx
and eax, 3
jbe 0x1400438b3
shr rcx, 2
lea rax, [rax + rcx*2]
dec rcx
add rcx, rax
cmp rdx, rcx
jb 0x1400438b3
test r13, r13
je 0x14004383d
lea rax, [rdx + r13]
cmp rax, r13
jbe 0x14004383d
xor r15d, r15d
xor r12d, r12d
xor eax, eax
test rdi, rdi
je 0x140043834
mov r14d, eax
movabs r11, 0xffffffc07ff1
movabs rdx, 0x100002600
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
xor r10d, r10d
cmp rax, rdi
jae 0x140043781
lfence
nop word [rax + rax]
movzx r10d, byte [rax + rsi]
inc rax
cmp r10d, 0x41
jb 0x140043524
cmp r10b, 0x5a
jbe 0x140043577
lea ecx, [r10 - 0x61]
cmp cl, 0x19
jbe 0x140043577
lea ecx, [r10 - 0x2f]
cmp cl, 0xa
jbe 0x140043577
cmp r10b, 0x2b
je 0x140043577
cmp r10b, 0x3d
je 0x140043571
cmp r10b, 0x20
ja 0x14004354e
bt rdx, r10
jb 0x140043554
mov r15d, 1
cmp rax, rdi
jae 0x140043699
jmp 0x140043510
mov r8, qword [r8 + 0x20]
test r8, r8
je 0x140043326
jmp 0x1400432f0
mov r12d, 1
cmp rax, rdi
jae 0x140043699
lfence
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rax + rsi]
inc rax
cmp r8d, 0x41
jb 0x1400435a4
cmp r8b, 0x5a
jbe 0x1400435e5
lea ecx, [r8 - 0x61]
cmp cl, 0x19
jbe 0x1400435e5
lea ecx, [r8 - 0x2f]
cmp cl, 0xa
jbe 0x1400435e5
cmp r8b, 0x2b
je 0x1400435e5
cmp r8b, 0x3d
je 0x1400435df
cmp r8b, 0x20
ja 0x1400435ce
bt rdx, r8
jb 0x1400435d4
mov r15d, 1
cmp rax, rdi
jae 0x140043699
jmp 0x140043590
mov r12d, 1
cmp rax, rdi
jae 0x140043699
lfence
movzx r9d, byte [rax + rsi]
inc rax
cmp r9d, 0x41
jb 0x140043605
cmp r9b, 0x5a
jbe 0x140043642
lea ecx, [r9 - 0x61]
cmp cl, 0x19
jbe 0x140043642
lea ecx, [r9 - 0x2f]
cmp cl, 0xa
jbe 0x140043642
cmp r9b, 0x2b
je 0x140043642
cmp r9b, 0x3d
je 0x14004363c
cmp r9b, 0x20
ja 0x14004362f
bt rdx, r9
jb 0x140043635
mov r15d, 1
cmp rax, rdi
jae 0x140043699
jmp 0x1400435f1
mov r12d, 1
cmp rax, rdi
jae 0x140043699
lfence
nop word [rax + rax]
movzx ebx, byte [rax + rsi]
inc rax
cmp ebx, 0x41
jb 0x140043661
cmp bl, 0x5a
jbe 0x140043699
lea ecx, [rbx - 0x61]
cmp cl, 0x19
jbe 0x140043699
lea ecx, [rbx - 0x2f]
cmp cl, 0xa
jbe 0x140043699
cmp bl, 0x2b
je 0x140043699
cmp bl, 0x3d
je 0x140043693
cmp bl, 0x20
ja 0x140043686
bt rdx, rbx
jb 0x14004368c
mov r15d, 1
cmp rax, rdi
jae 0x140043699
jmp 0x140043650
mov r12d, 1
lea ecx, [r10 - 0x2b]
cmp ecx, 0x2f
ja 0x1400436a8
bt r11, rcx
jb 0x1400436b5
lea ecx, [r10 - 0x61]
cmp ecx, 0x19
ja 0x140043781
lea ecx, [r8 - 0x2b]
cmp ecx, 0x2f
ja 0x1400436c4
bt r11, rcx
jb 0x1400436d1
lea ecx, [r8 - 0x61]
cmp ecx, 0x19
ja 0x140043781
lea ecx, [r9 - 0x2b]
cmp ecx, 0x2f
ja 0x1400436e0
bt r11, rcx
jb 0x1400436ed
lea ecx, [r9 - 0x61]
cmp ecx, 0x19
ja 0x140043781
lea ecx, [rbx - 0x2b]
cmp ecx, 0x2f
ja 0x1400436fb
bt r11, rcx
jb 0x140043703
lea ecx, [rbx - 0x61]
cmp ecx, 0x19
ja 0x140043781
mov rcx, r10
lea r10, [0x140204270]
movzx edx, byte [rcx + r10]
movzx r8d, byte [r8 + r10]
movzx r11d, byte [r9 + r10]
movzx r9d, byte [rbx + r10]
mov r10d, r8d
shr r10d, 4
and r10d, 3
and edx, 0x3f
shl edx, 2
or r10d, edx
mov ecx, r11d
shr ecx, 2
and ecx, 0xf
and r8d, 0xf
shl r8d, 4
or ecx, r8d
and r11d, 3
shl r11d, 6
and r9d, 0x3f
or r11d, r9d
mov byte [r14 + r13], r10b
mov byte [r14 + r13 + 1], cl
mov byte [r14 + r13 + 2], r11b
add r14, 3
test r12d, r12d
jne 0x140043828
cmp rax, rdi
jae 0x140043828
jmp 0x1400434da
mov ecx, r10d
call fcn.14014f910
test eax, eax
je 0x140043828
mov ecx, r8d
call fcn.14014f910
test eax, eax
je 0x1400437f1
mov ecx, r9d
call fcn.14014f910
test eax, eax
je 0x1400437f1
cmp ebx, 0x3d
jne 0x1400437f1
lea rbx, [0x140204270]
movzx ecx, byte [r10 + rbx]
movzx edx, byte [r8 + rbx]
mov r8d, edx
shr r8d, 4
and r8d, 3
and ecx, 0x3f
shl ecx, 2
or r8d, ecx
movzx ecx, byte [r9 + rbx]
shr ecx, 2
and ecx, 0xf
and edx, 0xf
shl edx, 4
or ecx, edx
mov byte [r14 + r13], r8b
mov byte [r14 + r13 + 1], cl
jmp 0x140043828
mov ecx, r8d
call fcn.14014f910
test eax, eax
je 0x140043828
cmp r9d, 0x3d
jne 0x140043828
cmp ebx, r9d
jne 0x140043828
lea rbx, [0x140204270]
movzx edx, byte [r8 + rbx]
shr dl, 4
and dl, 3
movzx ecx, byte [r10 + rbx]
shl cl, 2
xor dl, cl
mov byte [r14 + r13], dl
mov r14, qword [rbp + 0x27]
mov rbx, qword [rbp + 0xf]
mov r13, qword [rbp - 0x39]
test r15d, r15d
mov r15, qword [rbp - 1]
jmp 0x140043840
test rdx, rdx
jne 0x1400438b3
mov qword [r15], r13
mov rax, qword [rbp - 0x31]
mov qword [r15 + 8], rax
mov rax, qword [rbp - 0x29]
mov qword [r15 + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], 0
mov dword [rbp - 0x21], 1
cmp r14, 0x10
jb 0x1400438a6
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14004389e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004389e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140007ea0
mov qword [rbp + 0x1f], 0
jmp 0x14004395c
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14004390a
mov rdx, qword [rbp - 0x29]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400438eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400438eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007ea0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x39], xmm0
xor edi, edi
mov qword [rbp - 0x29], rdi
jmp 0x14004390c
mov r14, qword [rbp + 0x27]
mov rbx, qword [rbp + 0xf]
jmp 0x14004390c
xor edi, edi
mov qword [r15], rdi
mov qword [r15 + 8], rdi
mov qword [r15 + 0x10], rdi
mov dword [rbp - 0x21], 1
cmp r14, 0x10
jb 0x140043958
lea rdx, [r14 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140043950
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140043950
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140007ea0
mov qword [rbp + 0x1f], rdi
mov rax, r15
mov byte [rbp + 0xf], 0
mov qword [rbp + 0x27], reloc.WS2_32.dll_ntohs
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401c5190
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400022f0
int3