Function at 0x1400615d0
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.140069634
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.140069634
mov qword [rbp - 0x70], rax
lea rdx, [rbx + 8]
test rdi, rdi
je 0x140061694
test rax, rax
je 0x140061682
mov r8, rdi
mov rcx, rax
test rdx, rdx
je 0x14006167d
call sub.VCRUNTIME140.dll_memcpy
jmp 0x140061694
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.1400688bc
nop
mov qword [rsp + 0x78], r15
mov qword [rbp - 0x80], r15
lfence
mov ecx, 0x30
call fcn.1400688c4
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.140062e00
test eax, eax
je 0x140061b32
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsi]
cmp rbx, rsi
je 0x140061b38
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 0x140061721
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 0x140061ad7
mov ecx, dword [rsp + 0x50]
inc ecx
mov eax, 2
mul rcx
cmovo rax, r15
mov rcx, rax
call fcn.140069634
mov r14, rax
mov edx, dword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x14006176d
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 0x1400618ed
lea rax, [0x1400a9138]
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.14004b110
or r12d, 2
mov dword [rsp + 0x40], r12d
mov rdx, qword [rbp + 0xb8]
cmp rdx, 7
jbe 0x140061881
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xa0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006187c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061ade
call fcn.1400688bc
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.140011130
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 0x1400618f2
mov dword [rsp + 0x48], r15d
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.14001ccc0
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, [0x1400d6ef0]
lea rcx, [0x1400d2f38]
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 0x140061b19
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 0x140061b08
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 0x140061aec
mov edi, dword [rsp + 0x54]
test rdi, rdi
je 0x140061a29
mov rdx, qword [rsp + 0x68]
cmp rdx, r15
je 0x140061a09
movzx eax, byte [r14]
mov byte [rdx], al
inc rdx
mov qword [rsp + 0x68], rdx
jmp 0x140061a20
mov r8, r14
lea rcx, [rsp + 0x60]
call fcn.140063720
mov r15, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
inc r14
sub rdi, 1
jne 0x1400619f4
mov r14, qword [rbp - 0x60]
mov rax, qword [r14 + 8]
cmp rax, qword [r14 + 0x10]
je 0x140061a4b
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14001c890
add qword [r14 + 8], 0x18
jmp 0x140061a5c
lea r8, [rsp + 0x60]
mov rdx, rax
mov rcx, r14
call fcn.1400633f0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140061a95
mov rdx, qword [rsp + 0x70]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140061a8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140061ae5
call fcn.1400688bc
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140061aad
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 0x140061710
mov r14d, dword [rsp + 0x48]
xor r15d, r15d
jmp 0x140061b38
mov dword [rsp + 0x48], r15d
jmp 0x140061abe
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 0x140061b19
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 0x140061b28
call sub.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString
mov r14d, dword [rsp + 0x48]
xor r15d, r15d
jmp 0x140061b38
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 0x140061baf
nop dword [rax]
mov rbx, qword [rdi]
mov rdx, qword [rdi + 0x28]
cmp rdx, 0xf
jbe 0x140061b8a
mov rcx, qword [rdi + 0x10]
inc rdx
cmp rdx, 0x1000
jb 0x140061b85
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140061c00
mov rcx, r8
call fcn.1400688bc
mov qword [rdi + 0x20], r15
mov qword [rdi + 0x28], 0xf
mov byte [rdi + 0x10], 0
mov edx, 0x30
mov rcx, rdi
call fcn.1400688bc
mov rdi, rbx
test rbx, rbx
jne 0x140061b50
mov edx, 0x30
mov rcx, qword [rsp + 0x78]
call fcn.1400688bc
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140061bcd
call fcn.1400688bc
mov eax, r14d
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140068870
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