Function at 0x140087970
Capabilities:
Read file on windows

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sym.fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sym.read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x1400879b8
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14008798a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret

Function at 0x14009a470
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14009a498
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14009a4e0
cdqe
add rsi, rax
sub rbx, rax
jne 0x14009a4b0
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14009a4ec
call rbp
cmp dword [rax], 4
je 0x14009a4b0
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b02b0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov rax, rdx
shr rax, 0x3e
jne 0x1400b02d0
lea rcx, [rdx + rdx]
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
test rdx, rdx
js 0x1400b02e0
call method.std.__throw_bad_alloc__
nop word [rax + rax]
call method.std.__throw_bad_array_new_length__
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400b28e0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
movabs rax, 0x1fffffffffffffff
mov rcx, qword [rdx]
cmp rax, rcx
jb 0x1400b2941
cmp r8, rcx
jb 0x1400b2910
add rcx, 1
add rcx, rcx
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
add r8, r8
cmp rcx, r8
jae 0x1400b28fb
cmp rax, r8
jae 0x1400b2938
movabs rcx, 0x4000000000000000
mov qword [rdx], rax
add rsp, 0x28
jmp sym.operator_new_unsigned_long_long_
mov qword [rdx], r8
lea rcx, [r8 + 1]
jmp 0x1400b28ff
lea rcx, [0x1400dda80]
call method.std.__throw_length_error_char_const_
nop
nop
nop

Function at 0x1400d4360
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 1
test rcx, rcx
cmovne rax, rcx
mov rbx, rax
mov rcx, rbx
call sym.malloc
test rax, rax
je 0x1400d4387
add rsp, 0x20
pop rbx
ret
call method.std.get_new_handler__
test rax, rax
je sym.operator_new_unsigned_long_long___clone_cold_
call rax
jmp 0x1400d4374

Function at 0x1400d4df0
Capabilities:
Write file on windows

Disassembly:
call sym.abort
mov rcx, rax
call sym.__cxa_begin_catch
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x1400d4e10
Capabilities:
Write file on windows

Disassembly:
mov ecx, 8
call sym.__cxa_allocate_exception
lea r8, [method.std::bad_alloc.bad_alloc__]
lea rdx, [0x1400e5880]
mov rcx, rax
mov rax, qword [0x1400e2500]
add rax, 0x10
mov qword [rcx], rax
call sym.__cxa_throw
nop
nop