Function at 0x140035a90
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 [0x140167c40]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r13, rdx
mov rsi, rcx
add rcx, 0xb8
call fcn.140040c00
xor r12d, r12d
mov qword [rsi + 0xa0], r12
mov dword [rsi + 0x9c], r12d
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rax, qword [rsp + 0x20]
mov qword [rsi + 0xac], rax
movsx rdx, word [r13 + 0x3e]
xor r8d, r8d
mov rcx, rsi
call fcn.140082ed0
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140035b0e
mov rcx, qword [rsi]
lea rdx, [r13 + 0x40]
mov r8, qword [rsi + 0x10]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x1400360ac
cmp qword [rsi + 0x18], 0xf
jbe 0x140035b3b
mov rdi, qword [rsi]
mov rbx, rdi
lea r14, [rcx + rdi]
jmp 0x140035b45
lea r14, [rsi + rcx]
mov rbx, rsi
mov rdi, rsi
mov r15, qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
nop dword [rax]
cmp rbx, r14
je 0x140035b65
movsx ecx, byte [rbx]
call r15
mov byte [rdi], al
inc rbx
inc rdi
jmp 0x140035b50
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
mov r8, r12
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x68], r12
mov rdi, qword [rsi + 0x10]
add rdi, r13
mov eax, dword [rdi + 0x40]
mov dword [rsi + 0x9c], eax
mov eax, dword [rdi + 0x44]
mov dword [rsi + 0xa0], eax
mov eax, dword [rdi + 0x48]
mov dword [rsi + 0xa4], eax
add rdi, 0x51
mov r13d, r12d
mov r15d, 1
mov r11d, 0xeb0
psrldq xmm1, 8
movq r14, xmm1
nop word [rax + rax]
cmp r13d, dword [rsi + 0xa4]
jge 0x140035f2d
xor r10b, r10b
xor r9b, r9b
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
add rdi, 8
test byte [rsp + 0x2e], 0x80
movzx eax, r9b
cmovne eax, r15d
mov byte [rsp + 0x31], al
test byte [rsp + 0x2e], 0x40
movzx eax, r10b
cmovne eax, r15d
mov byte [rsp + 0x30], al
test dx, dx
je 0x140035c2d
add rdi, 2
cmp bx, r11w
jne 0x140035c79
add rdi, 0x16
cmp r14, r8
je 0x140035c62
movsd xmm0, qword [rsp + 0x28]
movsd qword [r14], xmm0
movzx eax, word [rsp + 0x30]
mov word [r14 + 8], ax
add r14, 0xa
mov qword [rsp + 0x60], r14
inc r13d
jmp 0x140035bc0
lea r8, [rsp + 0x28]
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140019670
jmp 0x140035f10
mov rcx, rbx
mov rax, qword [0x14016f0d8]
mov rdx, qword [0x14016f0d0]
sub rax, rdx
sar rax, 5
cmp rax, rbx
jbe 0x1400360d6
shl rcx, 5
add rcx, rdx
xor edx, edx
lea r8d, [rdx + 0xa]
call fcn.14008f760
movsxd rdx, eax
cmp edx, 0x38
ja 0x140035cc4
movabs rax, 0x1fec9560408240c
bt rax, rdx
jb 0x140035d34
cmp ebx, 0x8c6
je 0x140035d34
cmp edx, 0x3f
ja 0x140035ce1
movabs rcx, 0xea00000000000000
bt rcx, rdx
jb 0x140035d34
mov r11d, 0xeb0
cmp ebx, r11d
je 0x140035d34
lea eax, [rdx - 0x42]
cmp eax, 0x3d
ja 0x140035d04
movabs rcx, 0x2006a00c8afed583
bt rcx, rax
jb 0x140035d34
cmp edx, 0xffffff82
je 0x140035d34
cmp edx, 0x82
je 0x140035d34
test bl, 1
jne 0x140035e91
cmp ebx, 0x16ba
jb 0x140035e91
mov eax, 0x172c
cmp bx, ax
ja 0x140035e91
movzx r15d, byte [rdi]
inc rdi
test r15b, r15b
jne 0x140035d63
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.1400162a0
lea rdx, [0x140020060]
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]
cmp r15d, 0x4a
ja case.0x140035d88.0
lea r11, [0x140000000]
movzx eax, byte [r11 + r15 + 0x36148]
mov ecx, dword [r11 + rax*4 + 0x360dc]
add rcx, r11
jmp rcx
movzx eax, word [rdi]
add rdi, 3
add rdi, rax
jmp case.0x140035d88.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.1400162a0
lea rdx, [0x140020060]
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.0x140035d88.0
movzx eax, word [rdi]
add rdi, 6
add rdi, rax
jmp case.0x140035d88.0
movzx eax, byte [rdi + 5]
lea rdi, [rdi + rax*4]
add rdi, 0x11
jmp case.0x140035d88.0
add rdi, 5
jmp case.0x140035d88.0
inc rdi
jmp case.0x140035d88.0
movzx eax, word [rdi + 4]
add rdi, 6
add rdi, rax
jmp case.0x140035d88.0
movzx eax, word [rdi]
add rdi, 0x19
add rdi, rax
jmp case.0x140035d88.0
add rdi, 0x12
jmp case.0x140035d88.0
movzx eax, word [rdi]
add rdi, 2
add rdi, rax
jmp case.0x140035d88.0
movzx eax, word [rdi]
add rdi, 7
add rdi, rax
jmp case.0x140035d88.0
add rdi, 8
jmp case.0x140035d88.0
mov eax, dword [rdi + 1]
lea eax, [rax*4]
movsxd rcx, eax
add rdi, 5
add rdi, rcx
jmp case.0x140035d88.0
add rdi, 6
jmp case.0x140035d88.0
mov eax, 0xd42
mov r11d, 0xeb0
cmp bx, ax
jne 0x140035e91
movzx eax, word [rdi]
add rdi, 2
add rdi, rax
jmp 0x140035e91
movzx eax, word [rdi]
add rdi, 0x22
add rdi, rax
jmp case.0x140035d88.0
add rdi, 0x10
jmp case.0x140035d88.0
add rdi, 5
movzx eax, byte [rdi]
lea rdi, [rdi + rax*4]
add rdi, 4
mov r11d, 0xeb0
mov r8, qword [rsp + 0x20]
cmp r14, r8
je 0x140035ef8
movsd xmm0, qword [rsp + 0x28]
movsd qword [r14], xmm0
movzx eax, word [rsp + 0x30]
mov word [r14 + 8], ax
add r14, 0xa
mov qword [rsp + 0x60], r14
mov r15d, 1
inc r13d
jmp 0x140035bc0
movzx eax, word [rdi]
add rdi, 0x1c
add rdi, rax
jmp case.0x140035d88.0
add rdi, 9
jmp case.0x140035d88.0
movsx rax, word [rdi]
add rdi, 2
add rdi, rax
jmp case.0x140035d88.0
add rdi, 0xe
jmp case.0x140035d88.0
imul ecx, dword [rdi], 0xf
add rdi, 0xc
add rdi, rcx
jmp case.0x140035d88.0
lea r8, [rsp + 0x28]
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.140019670
mov r15d, 1
mov r8, qword [rsp + 0x68]
mov r11d, 0xeb0
mov r14, qword [rsp + 0x60]
mov qword [rsp + 0x20], r8
inc r13d
jmp 0x140035bc0
mov r14d, r12d
mov r15, qword [rsp + 0x58]
nop word [rax + rax]
cmp r14d, dword [rsi + 0xa0]
jge 0x140035fd1
mov ebx, r12d
cmp ebx, dword [rsi + 0x9c]
jge 0x140035fc9
imul ecx, r14d, 0x64
add ecx, ebx
movsxd rax, ecx
lea rax, [rax + rax*4]
movsd xmm0, qword [r15 + rax*2]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [r15 + rax*2 + 8]
mov word [rsp + 0x48], ax
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], r14d
mov dword [rsp + 0x38], ecx
lea rcx, [rsi + 0xb8]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x28]
call fcn.14001ed40
mov rax, qword [rax]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + 0x14], xmm0
mov dword [rax + 0x24], r14d
movd eax, xmm0
cmp ax, 6
jne 0x140035fc5
mov rax, qword [rsp + 0x4c]
mov qword [rsi + 0xac], rax
inc ebx
jmp 0x140035f50
inc r14d
jmp 0x140035f40
mov ebx, dword [rdi + 0xc]
mov eax, dword [rdi + 0x10]
mov dword [rsi + 0xa8], eax
add rdi, 0x14
cmp r12d, ebx
jge 0x140036045
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, [rsi + 0x138]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x28]
call fcn.14001eb00
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 0x140035fe1
mov byte [rsi + 0x98], 1
test r15, r15
je 0x1400360ac
mov r8, qword [rsp + 0x20]
sub r8, r15
movabs rax, 0x6666666666666667
imul r8
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 0x1400360a3
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400360a3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.14010df9c
nop
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14010e0b0
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.14003ee60
nop
mov ebx, dword [rsi + 3]
add byte [rdx - 1056963747], cl
pop rbp
add eax, dword [rax]
rcr byte [rbp + 3], 1
add cl, ah
pop rbp
add eax, dword [rax]
invalid