Function at 0x1400615f0
Capabilities:
Decode data using base64 via winapi
Encode data using base64 via winapi
Get system firmware table

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov qword [rbp - 0x60], rdx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
mov dword [rbp - 0x68], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
mov edi, eax
mov ecx, eax
call fcn.140069654
mov rbx, rax
mov r9d, edi
mov r8, rax
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
movsxd rcx, dword [rbx + 4]
mov dword [rbp - 0x64], ecx
mov rdi, rcx
call fcn.140069654
mov qword [rbp - 0x70], rax
lea rdx, [rbx + 8]
test rdi, rdi
je 0x1400616b4
test rax, rax
je 0x1400616a2
mov r8, rdi
mov rcx, rax
test rdx, rdx
je 0x14006169d
call sub.VCRUNTIME140.dll_memcpy
jmp 0x1400616b4
call sub.VCRUNTIME140.dll_memset
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], 0x16
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov rcx, rbx
call fcn.1400688dc
nop
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lfence
mov ecx, 0x30
call fcn.1400688e4
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsp + 0x78], rax
mov r14d, r15d
mov dword [rsp + 0x48], r15d
mov r13d, 1
mov dword [rsp + 0x4c], r13d
lea r8, [rsp + 0x78]
lea rcx, [rbp - 0x70]
call fcn.140062e20
test eax, eax
je 0x140061b52
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x140061b58
lea r15, [r13 - 2]
mov r12d, dword [rsp + 0x40]
mov dword [rsp + 0x40], r12d
nop word [rax + rax]
lea rdi, [rbx + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140061741
mov rcx, qword [rdi]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, dword [rdi + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x140061af7
mov ecx, dword [rsp + 0x50]
inc ecx
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140069654
mov r14, rax
mov edx, dword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14006178d
mov rdi, qword [rdi]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8d, 1
mov rcx, rdi
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x14006190d
lea rax, [0x1400aa138]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
nop
or r12d, 1
mov dword [rsp + 0x40], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t______ptr64__bool____ptr64]
nop
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x54], edx
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void____ptr64]
lea r15, vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp - 0x48], r15
xor edi, edi
mov qword [rbp + 0x20], rdi
mov dword [rbp + 0x28], 4
mov edx, r13d
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int____ptr64]
inc r13d
mov dword [rsp + 0x4c], r13d
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x48]
call fcn.14004b130
or r12d, 2
mov dword [rsp + 0x40], r12d
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x1400618a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006189c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061afe
call fcn.1400688dc
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xb8], 7
mov word [rbp + 0xa0], di
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov qword [rbp + rcx - 0x50], rax
mov rax, qword [rbp - 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x88]
mov dword [rbp + rcx - 0x54], edx
mov qword [rbp - 0x48], r15
lea rcx, [rbp - 0x48]
call fcn.140011150
lea rcx, [rbp - 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp - 0x40]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
jmp 0x140061912
mov dword [rsp + 0x48], r15d
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.14001cce0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor r14d, r14d
mov r15d, r14d
mov qword [rsp + 0x70], r14
lea rcx, str.Hp_Bridge_Network
call qword [sym.imp.Logging.dll_public:_static_class_Hp::Bridge::Logging::TraceLogger____ptr64___cdecl_Hp::Bridge::Logging::LogManager::SetProvider_char_const____ptr64_]
mov rdi, rax
mov qword [rbp - 0x78], rax
lea rdx, [0x1400d7ef0]
lea rcx, [0x1400d3f38]
call qword [sym.imp.VCRUNTIME140.dll___std_type_info_name]
mov rcx, qword [rsp + 0x58]
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringLen
mov r13d, eax
xor edx, edx
mov rcx, qword [rsp + 0x58]
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer
mov r12, rax
mov dword [rsp + 0x44], r14d
test rax, rax
je 0x140061b39
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r14 + 1]
mov edx, r13d
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x140061b28
mov ecx, dword [rsp + 0x44]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
mov ecx, dword [rsp + 0x44]
mov rdi, rax
xor eax, eax
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x54], eax
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
mov r9, r14
lea r8d, [r15 + 1]
mov edx, r13d
mov rcx, r12
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x140061b0c
mov edi, dword [rsp + 0x54]
test rdi, rdi
je 0x140061a49
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
je 0x140061a29
movzx eax, byte [r14]
mov byte [rdx], al
inc rdx
mov qword [rsp + 0x68], rdx
jmp 0x140061a40
mov r8, r14
lea rcx, [rsp + 0x60]
call fcn.140063740
mov r15, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
inc r14
sub rdi, 1
jne 0x140061a14
mov r14, qword [rbp - 0x60]
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x140061a6b
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14001c8b0
add qword [r14 + 8], 0x18
jmp 0x140061a7c
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, r14
call fcn.140063410
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140061ab5
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061aaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061b05
call fcn.1400688dc
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140061acd
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov qword [rsp + 0x58], 0
mov r13d, dword [rsp + 0x4c]
mov r12d, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
mov rax, qword [rbx]
mov rbx, rax
cmp rax, rsi
jne 0x140061730
mov r14d, dword [rsp + 0x48]
xor r15d, r15d
jmp 0x140061b58
mov dword [rsp + 0x48], r15d
jmp 0x140061ade
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.Problem_while_decoding_from_base64.__i
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_wchar_t_const____ptr64____ptr64]
jmp 0x140061b39
lea rdx, str.Problem_while_finding_the_count_of_bytes_to_decode_from_base64.
mov rcx, rdi
call qword [sym.imp.Logging.dll_public:_void___cdecl_Hp::Bridge::Logging::TraceLogger::LogInfo_wchar_t_const____ptr64____ptr64]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140061b48
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov r14d, dword [rsp + 0x48]
xor r15d, r15d
jmp 0x140061b58
mov r14d, 0xffffffff
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx + 8]
mov qword [rax], r15
mov rdi, qword [rcx]
test rdi, rdi
je 0x140061bcf
nop dword [rax]
mov rbx, qword [rdi]
mov rdx, qword [rdi + 0x28]
cmp rdx, 0xf
jbe 0x140061baa
mov rcx, qword [rdi + 0x10]
inc rdx
cmp rdx, 0x1000
jb 0x140061ba5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140061c20
mov rcx, r8
call fcn.1400688dc
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], 0xf
mov byte [rdi + 0x10], 0
mov edx, 0x30
mov rcx, rdi
call fcn.1400688dc
mov rdi, rbx
test rbx, rbx
jne 0x140061b70
mov edx, 0x30
mov rcx, qword [rsp + 0x78]
call fcn.1400688dc
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140061bed
call fcn.1400688dc
mov eax, r14d
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140068890
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3