Function at 0x140034fa0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x140129bc8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r13, rdx
mov r14, rcx
add rcx, 0xb8
call fcn.140040940
xor r12d, r12d
mov qword [r14 + 0xa0], r12
mov dword [r14 + 0x9c], r12d
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rax, qword [rsp + 0x20]
mov qword [r14 + 0xac], rax
movsx rdx, word [r13 + 0x3e]
xor r8d, r8d
mov rcx, r14
call fcn.1400a5d00
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14003501e
mov rcx, qword [r14]
lea rdx, [r13 + 0x40]
mov r8, qword [r14 + 0x10]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x14003559c
cmp qword [r14 + 0x18], 0x10
jb 0x14003504b
mov rdi, qword [r14]
mov rbx, rdi
lea rsi, [rcx + rdi]
jmp 0x140035055
lea rsi, [r14 + rcx]
mov rbx, r14
mov rdi, r14
mov r15, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
nop dword [rax]
cmp rbx, rsi
je 0x140035075
movsx ecx, byte [rbx]
call r15
mov byte [rdi], al
inc rbx
inc rdi
jmp 0x140035060
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r9, r12
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x68], r12
mov rdi, qword [r14 + 0x10]
add rdi, r13
mov eax, dword [rdi + 0x40]
mov dword [r14 + 0x9c], eax
mov eax, dword [rdi + 0x44]
mov dword [r14 + 0xa0], eax
mov eax, dword [rdi + 0x48]
mov dword [r14 + 0xa4], eax
add rdi, 0x51
mov r13d, r12d
mov r15d, 0xeb0
psrldq xmm1, 8
movq rsi, xmm1
nop word [rax + rax]
mov r8, rdi
cmp r13d, dword [r14 + 0xa4]
jge 0x140035423
xor r11b, r11b
xor r10b, r10b
movzx ebx, word [rdi]
mov word [rsp + 0x28], bx
movzx eax, word [rdi + 2]
mov word [rsp + 0x2a], ax
movzx edx, word [rdi + 4]
mov word [rsp + 0x2c], dx
movzx eax, word [rdi + 6]
mov word [rsp + 0x2e], ax
shr ax, 8
mov byte [rsp + 0x2f], al
test byte [rsp + 0x2e], 0x80
movzx eax, r10b
mov r10d, 1
cmovne eax, r10d
mov byte [rsp + 0x31], al
test byte [rsp + 0x2e], 0x40
movzx eax, r11b
cmovne eax, r10d
mov byte [rsp + 0x30], al
mov edi, 0xa
test dx, dx
mov eax, 8
cmove edi, eax
add rdi, r8
cmp bx, r15w
jne 0x140035196
add rdi, 0x16
cmp rsi, r9
je 0x14003517f
movsd xmm0, qword [rsp + 0x28]
movsd qword [rsi], xmm0
movzx eax, word [rsp + 0x30]
mov word [rsi + 8], ax
add rsi, 0xa
mov qword [rsp + 0x60], rsi
inc r13d
jmp 0x1400350d0
lea r8, [rsp + 0x28]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140018e20
jmp 0x14003540c
mov rcx, rbx
mov rax, qword [0x140130380]
mov rdx, qword [0x140130378]
sub rax, rdx
sar rax, 5
cmp rax, rbx
jbe 0x1400355c6
shl rcx, 5
add rcx, rdx
xor edx, edx
lea r8d, [rdx + 0xa]
call fcn.1400b2ba0
movsxd rdx, eax
cmp edx, 0x38
ja 0x1400351e1
movabs rax, 0x1fec9560408240c
bt rax, rdx
jb 0x14003524e
cmp ebx, 0x8c6
je 0x14003524e
cmp edx, 0x3f
ja 0x1400351fe
movabs rcx, 0xea00000000000000
bt rcx, rdx
jb 0x14003524e
cmp ebx, 0xeb0
je 0x14003524e
lea eax, [rdx - 0x42]
cmp eax, 0x3d
ja 0x14003521e
movabs rcx, 0x2006a00c8afed583
bt rcx, rax
jb 0x14003524e
cmp edx, 0xffffff82
je 0x14003524e
cmp edx, 0x82
je 0x14003524e
test bl, 1
jne case.0x1400352a5.0
cmp ebx, 0x16ba
jb case.0x1400352a5.0
mov eax, 0x172c
cmp bx, ax
ja case.0x1400352a5.0
movzx r15d, byte [rdi]
inc rdi
test r15b, r15b
jne 0x14003527d
lea rdx, str.Cannot_serialize_itemType_0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140015ec0
lea rdx, [0x14001f050]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rax, r15
cmp r15d, 0x4a
ja case.0x1400352a5.0
lea r15, [0x140000000]
movzx eax, byte [r15 + rax + 0x35638]
mov ecx, dword [r15 + rax*4 + 0x355cc]
add rcx, r15
jmp rcx
movzx eax, word [rdi]
add rdi, 3
add rdi, rax
jmp case.0x1400352a5.0
lea rdx, str.Safe_Vault_Found
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140015ec0
lea rdx, [0x14001f050]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp case.0x1400352a5.0
movzx eax, word [rdi]
add rdi, 6
add rdi, rax
jmp case.0x1400352a5.0
movzx eax, byte [rdi + 5]
lea rdi, [rdi + rax*4]
add rdi, 0x11
jmp case.0x1400352a5.0
add rdi, 5
jmp case.0x1400352a5.0
movzx eax, word [rdi + 4]
add rdi, 6
add rdi, rax
jmp case.0x1400352a5.0
movzx eax, word [rdi]
add rdi, 0x19
add rdi, rax
jmp case.0x1400352a5.0
inc rdi
jmp case.0x1400352a5.0
add rdi, 0x12
jmp case.0x1400352a5.0
add rdi, 8
jmp case.0x1400352a5.0
inc rdi
mov eax, dword [rdi]
lea eax, [rax*4]
movsxd rcx, eax
add rcx, 4
add rdi, rcx
jmp case.0x1400352a5.0
add rdi, 6
jmp case.0x1400352a5.0
mov eax, 0xd42
cmp bx, ax
jne case.0x1400352a5.0
movzx eax, word [rdi]
add rdi, 2
add rdi, rax
jmp case.0x1400352a5.0
movzx eax, word [rdi]
add rdi, 0x22
add rdi, rax
jmp case.0x1400352a5.0
add rdi, 0x10
jmp case.0x1400352a5.0
add rdi, 5
movzx eax, byte [rdi]
lea rdi, [rdi + rax*4]
add rdi, 4
mov r9, qword [rsp + 0x20]
cmp rsi, r9
je 0x1400353f4
movsd xmm0, qword [rsp + 0x28]
movsd qword [rsi], xmm0
movzx eax, word [rsp + 0x30]
mov word [rsi + 8], ax
add rsi, 0xa
mov qword [rsp + 0x60], rsi
mov r15d, 0xeb0
inc r13d
jmp 0x1400350d0
movzx eax, word [rdi]
add rdi, 7
add rdi, rax
jmp case.0x1400352a5.0
movzx eax, word [rdi]
add rdi, 0x1c
add rdi, rax
jmp case.0x1400352a5.0
add rdi, 9
jmp case.0x1400352a5.0
movsx rax, word [rdi]
add rdi, 2
add rdi, rax
jmp case.0x1400352a5.0
add rdi, 0xe
jmp case.0x1400352a5.0
imul ecx, dword [rdi], 0xf
add rdi, 0xc
add rdi, rcx
jmp case.0x1400352a5.0
lea r8, [rsp + 0x28]
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140018e20
mov r15d, 0xeb0
mov r9, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x20], r9
inc r13d
jmp 0x1400350d0
mov esi, r12d
mov r15, qword [rsp + 0x58]
nop dword [rax + rax]
cmp esi, dword [r14 + 0xa0]
jge 0x1400354be
mov ebx, r12d
cmp ebx, dword [r14 + 0x9c]
jge 0x1400354b7
imul edx, esi, 0x64
add edx, ebx
movsxd rax, edx
lea rcx, [rax + rax*4]
movsd xmm0, qword [r15 + rcx*2]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [r15 + rcx*2 + 8]
mov word [rsp + 0x48], ax
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x38], edx
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x28]
lea rcx, [r14 + 0xb8]
call fcn.14001db50
mov rax, qword [rax]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x14], xmm0
mov dword [rax + 0x24], esi
movd eax, xmm0
cmp ax, 6
jne 0x1400354b3
mov rax, qword [rsp + 0x4c]
mov qword [r14 + 0xac], rax
inc ebx
jmp 0x140035440
inc esi
jmp 0x140035430
mov ebx, dword [rdi + 0xc]
mov eax, dword [rdi + 0x10]
mov dword [r14 + 0xa8], eax
add rdi, 0x14
nop
cmp r12d, ebx
jge 0x140035534
movzx eax, word [rdi]
mov word [rsp + 0x40], ax
mov eax, dword [rdi + 2]
mov dword [rsp + 0x44], eax
mov eax, dword [rdi + 6]
mov dword [rsp + 0x48], eax
movzx eax, byte [rdi + 0xa]
mov byte [rsp + 0x4c], al
movzx eax, byte [rdi + 0xb]
mov byte [rsp + 0x4d], al
mov eax, dword [rdi + 0xc]
mov dword [rsp + 0x50], eax
add rdi, 0x10
lea rcx, [r14 + 0x138]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x28]
call fcn.14001d910
mov rcx, qword [rax]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx + 0x14], xmm0
mov eax, dword [rsp + 0x50]
mov dword [rcx + 0x24], eax
inc r12d
jmp 0x1400354d0
mov byte [r14 + 0x98], 1
test r15, r15
je 0x14003559c
mov r9, qword [rsp + 0x20]
sub r9, r15
movabs rax, 0x6666666666666667
imul r9
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rdx, [rdx + rdx*4]
add rdx, rdx
mov rax, r15
cmp rdx, 0x1000
jb 0x140035593
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140035593
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400d2c80
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400d2da0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.14003eae0
nop
adc dword [rbx + 3], 0
cmpsd dword [rsi], dword [rdi]
push rdx
add eax, dword [rax]
ficom word [rdx + 3]
add ch, ch
push rdx
add eax, dword [rax]
invalid