Function at 0x140028f00
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0x90
mov rax, qword [0x1400920c0]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r15, rdx
mov rbx, rcx
mov qword [rbp - 0x11], rcx
mov r13, qword [rbp + 0x7f]
lea rax, vtable.Aggregator.0
mov qword [rcx], rax
xor r12d, r12d
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], 0xffffffffffffffff
mov dword [rcx + 0x1c], r12d
mov qword [rcx + 0x520], r12
mov qword [rcx + 0x528], 0xffffffffffffffff
mov qword [rcx + 0x530], r8
mov dword [rcx + 0x538], r9d
lea rsi, [rcx + 0x5a0]
mov qword [rbp - 0x51], rsi
mov dword [rsi], r12d
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r12
mov ecx, 0x28
call fcn.14003626c
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rsi + 8], rax
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x20], r12
mov qword [rsi + 0x28], r12
mov qword [rsi + 0x30], 7
mov qword [rsi + 0x38], 8
mov dword [rsi], 0x3f800000
mov r14, qword [rsi + 8]
mov ecx, r12d
mov eax, r12d
sar rax, 3
cmp rax, 0x10
jae 0x140029055
mov ecx, 0x80
call fcn.14003626c
mov rdi, rax
mov rcx, qword [rsi + 0x18]
mov rax, qword [rsi + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x140029025
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x140029020
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002904e
mov rcx, r8
call fcn.1400362a8
mov qword [rsi + 0x18], rdi
lea rax, [rdi + 0x80]
mov qword [rsi + 0x20], rax
mov qword [rsi + 0x28], rax
cmp rdi, rax
je 0x14002906a
nop dword [rax]
mov qword [rdi], r14
add rdi, 8
cmp rdi, rax
jne 0x140029040
jmp 0x14002906a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rcx, 7
shr rcx, 3
test rcx, rcx
je 0x14002906a
xor edi, edi
mov rax, r14
rep stosq qword [rdi], rax
mov qword [rbx + 0x5e0], r12
mov qword [rbx + 0x5e8], r12
mov qword [rbx + 0x5f0], r12
mov dword [rbx + 0x5f8], r12d
lea rdi, [rbx + 0x600]
mov qword [rbp - 0x51], rdi
mov qword [rdi + 0x38], r12
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x1400290aa
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax]
mov qword [rdi + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rbx + 0x57c], xmm0
movups xmmword [rbx + 0x58c], xmm0
mov rcx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x1400290c8
mov rcx, qword [r15]
lea rdx, [0x140041970]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
mov rdi, rax
test rax, rax
je 0x1400291b3
lea rcx, [rbx + 0x53c]
mov r9, rax
mov edx, 0x20
mov r8d, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
cmp rax, 1
jne 0x140029217
lea rcx, [rbx + 0x55c]
mov r9, rdi
mov edx, 0x20
mov r8, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rdi
cmp rax, 1
jne 0x140029158
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1400363c0
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov qword [rbp - 0x51], rax
lea rax, str.Unable_to_read_tx_public_key:_
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], 0x20
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 9]
call fcn.140028de0
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140026f60
lea rdx, [0x14006a228]
lea rcx, [rbp - 0x29]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov qword [rbp - 0x31], rax
mov rcx, r15
call fcn.1400295c0
mov qword [rbp - 0x51], rax
lea rax, str.Unable_to_open_:_
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], socket
lea r9, [rbp - 0x31]
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 9]
call fcn.140028e60
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140026f60
lea rdx, [0x14006a228]
lea rcx, [rbp - 0x29]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ecx, dword [rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
mov qword [rbp - 0x51], rax
lea rax, str.Unable_to_read_rx_secret_key:_
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x39], 0x20
lea r8, [rbp - 0x51]
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 9]
call fcn.140028de0
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140026f60
lea rdx, [0x14006a228]
lea rcx, [rbp - 0x29]
call sub.VCRUNTIME140.dll__CxxThrowException
int3