Function at 0x1400826a0
Capabilities:
Decode data using base64 via winapi
Get file size
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x158]
sub rsp, 0x258
mov rax, qword [0x140278ec8]
xor rax, rsp
mov qword [rbp + 0x140], rax
mov rsi, rcx
mov qword [rsp + 0x70], r9
xor edi, edi
mov qword [rsp + 0x68], r8
mov dword [rsp + 0x58], edi
lea rdx, [rsp + 0x50]
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp + 0x120]
call fcn.140082d60
cmp qword [rbp + 0x138], 0x10
lea r15, [rbp + 0x120]
mov r14, qword [rbp + 0x130]
cmovae r15, qword [rbp + 0x120]
cmp r14, 0x10
jae 0x14008273a
movups xmm0, xmmword [r15]
mov qword [rbp - 0x70], 0xf
movups xmmword [rsp + 0x78], xmm0
jmp 0x140082773
movabs rax, 0x7fffffffffffffff
mov rbx, r14
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
call fcn.140002c80
lea r8, [r14 + 1]
mov qword [rsp + 0x78], rax
mov rdx, r15
mov rcx, rax
call fcn.1401879e0
mov qword [rbp - 0x70], rbx
mov rax, qword [rsi]
mov qword [rbp - 0x78], r14
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140082798
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax]
mov qword [rsp + 0x298], r12
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x250], r13
call fcn.140084180
test eax, eax
jne 0x140082808
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x1400827fc
mov rcx, qword [rbp + 0x120]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400827f7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082d57
call fcn.140157a40
mov byte [rbp + 0x120], dil
jmp 0x1400828f9
cmp qword [rbp + 0x138], 0x10
lea rcx, [rbp + 0x120]
mov qword [rsp + 0x30], rdi
mov edx, 0x80000000
cmovae rcx, qword [rbp + 0x120]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140082995
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x1400828a2
xor r9d, r9d
lea rdx, str.D:uworkspace03_27cefwinauto_src_scw_simple_handler.cc
mov r8d, 0x80
lea rcx, [rbp + 0x20]
call fcn.1400c7000
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbx + 8]
mov edi, eax
lea rdx, str.Could_not_create_a_handle_to_the_specified_certificate_file._Error_code:
call fcn.1400025c0
mov rcx, rax
mov edx, edi
call fcn.140050530
mov edi, 1
test dil, 1
je 0x1400828b1
lea rcx, [rbp + 0x20]
call fcn.1400c7360
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x1400828f2
mov rcx, qword [rbp + 0x120]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400828ed
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082d57
call fcn.140157a40
mov byte [rbp + 0x120], 0
mov rax, qword [rsp + 0x48]
movdqa xmm0, xmmword [0x14020a0a0]
movdqu xmmword [rbp + 0x130], xmm0
test rax, rax
je 0x140082928
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140082947
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rsi]
test rdx, rdx
je 0x140082964
mov rax, qword [rdx + 8]
add rdx, 8
movsxd rcx, dword [rax + 4]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
mov r13, qword [rsp + 0x250]
mov r12, qword [rsp + 0x298]
mov rcx, qword [rbp + 0x140]
xor rcx, rsp
call fcn.140157ae0
add rsp, 0x258
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, eax
mov ebx, eax
call fcn.140158844
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], rdi
mov r8d, ebx
mov rdx, rax
mov rcx, r14
mov r15, rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140082a3a
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140082a15
xor r9d, r9d
lea rdx, str.D:uworkspace03_27cefwinauto_src_scw_simple_handler.cc
mov r8d, 0x8a
lea rcx, [rbp + 0x20]
call fcn.1400c7000
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbx + 8]
mov edi, eax
lea rdx, str.Could_not_read_the_certificate_file._Error_code:
call fcn.1400025c0
mov rcx, rax
mov edx, edi
call fcn.140050530
mov edi, 2
test dil, 2
je 0x140082a24
lea rcx, [rbp + 0x20]
call fcn.1400c7360
mov rcx, r15
call fcn.140157a48
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400828b1
mov edx, dword [rsp + 0x40]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rdi
mov rcx, r15
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 6]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov ecx, dword [rsp + 0x44]
call fcn.140158844
mov edx, dword [rsp + 0x40]
mov r12, rax
lea rax, [rsp + 0x58]
mov r9, r12
mov qword [rsp + 0x30], rax
mov r8d, 6
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rdi
mov rcx, r15
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov r8d, dword [rsp + 0x44]
mov rdx, r12
mov ecx, 0x10001
call qword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
mov r13, rax
test rax, rax
jne 0x140082b36
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140082b09
xor r9d, r9d
lea rdx, str.D:uworkspace03_27cefwinauto_src_scw_simple_handler.cc
mov r8d, 0x9d
lea rcx, [rbp + 0x20]
call fcn.1400c7000
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbx + 8]
mov edi, eax
lea rdx, str.Could_not_create_a_certificate_context._Error_code:
call fcn.1400025c0
mov rcx, rax
mov edx, edi
call fcn.140050530
mov edi, 4
test dil, 4
je 0x140082b18
lea rcx, [rbp + 0x20]
call fcn.1400c7360
mov rcx, r15
call fcn.140157a48
mov rcx, r12
call fcn.140157a48
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400828b1
mov rbx, qword [rsp + 0x70]
xorps xmm0, xmm0
xor eax, eax
xor edx, edx
mov qword [rbp + 0x10], rax
mov rcx, rbx
mov rax, qword [rsp + 0x68]
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x58], rax
lea rax, str.Certificate_Window
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x48], rax
movups xmmword [rbp - 0x40], xmm0
mov dword [rbp - 0x60], 0x78
movups xmmword [rbp - 0x30], xmm0
mov dword [rbp - 0x50], edi
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x40], r13
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
call qword [sym.imp.USER32.dll_EnableWindow]
lea rdx, [rsp + 0x5c]
lea rcx, [rbp - 0x60]
call sub.CRYPTUI.dll_CryptUIDlgViewCertificateA
mov edx, 1
mov rcx, rbx
test eax, eax
je 0x140082c90
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, r13
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call fcn.140157a48
mov rcx, r12
call fcn.140157a48
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x140082c14
mov rcx, qword [rbp + 0x120]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140082c0f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140082d57
call fcn.140157a40
mov rax, qword [rsp + 0x48]
movdqa xmm0, xmmword [0x14020a0a0]
mov byte [rbp + 0x120], dil
movdqu xmmword [rbp + 0x130], xmm0
test rax, rax
je 0x140082c4a
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x50]
test rax, rax
je 0x140082c69
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
test rax, rax
je 0x140082c86
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
jmp 0x140082966
call qword [sym.imp.USER32.dll_EnableWindow]
call sub.libcef.dll_cef_get_min_log_level
test eax, eax
jg 0x140082ce2
xor r9d, r9d
lea rdx, str.D:uworkspace03_27cefwinauto_src_scw_simple_handler.cc
mov r8d, 0xbb
lea rcx, [rbp + 0x20]
call fcn.1400c7000
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rbx + 8]
mov edi, eax
lea rdx, str.Cannot_show_certificate._Error_code:
call fcn.1400025c0
mov rcx, rax
mov edx, edi
call fcn.140050530
mov edi, 8
test dil, 8
je 0x140082cf1
lea rcx, [rbp + 0x20]
call fcn.1400c7360
mov rcx, r13
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call fcn.140157a48
mov rcx, r12
call fcn.140157a48
mov rdx, qword [rbp + 0x138]
cmp rdx, 0x10
jb 0x1400828f2
mov rcx, qword [rbp + 0x120]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400828ed
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400828ed
call fcn.140195efc
int3