Function at 0x140148e10
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x298
mov eax, dword [0x1402a5108]
test eax, eax
je 0x1401490e1
mov rcx, qword [0x1402a5128]
test rcx, rcx
je 0x140148fcf
mov edx, 0x8000
call sub.msvcrt.dll__open
cmp eax, 0xffffffff
mov ebx, eax
je 0x140148f90
lea rbp, [rsp + 0x30]
mov ecx, eax
mov rdx, rbp
call qword [sym.imp.msvcrt.dll__fstat64]
cmp eax, 0xffffffff
mov esi, eax
je 0x140148fe0
test esi, esi
movzx eax, word [rsp + 0x36]
mov rdx, qword [rsp + 0x48]
jne 0x140148fe0
and ax, 0xf000
cmp ax, 0x8000
jne 0x140149030
test edx, edx
je 0x1401490a0
cmp edx, 0x258
mov rdi, qword [sym.imp.msvcrt.dll__errno]
je 0x140148ece
lea rcx, str.warning:_invalid_size_of_random_seed_file___not_used_n
call fcn.1400ea0a0
mov rcx, rax
call fcn.1400ea3a0
mov ecx, ebx
call fcn.14016b478
jmp 0x140148fd1
call rdi
cmp dword [rax], 4
mov rsi, rdi
jne 0x140149070
mov r8d, 0x258
mov rdx, rbp
mov ecx, ebx
call sub.msvcrt.dll__read
cmp eax, 0xffffffff
je 0x140148ec0
cmp eax, 0x258
jne 0x140149063
mov ecx, ebx
lea rbx, [rsp + 0x28]
mov esi, 1
call fcn.14016b478
xor r8d, r8d
mov rcx, rbp
mov edx, 0x258
call fcn.140148d00
call sub.msvcrt.dll__getpid
xor r8d, r8d
cdqe
mov edx, 8
mov rcx, rbx
mov qword [rsp + 0x28], rax
call fcn.140148d00
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__time64]
xor r8d, r8d
mov rcx, rbx
mov edx, 8
mov qword [rsp + 0x28], rax
call fcn.140148d00
call sub.msvcrt.dll_clock
xor r8d, r8d
mov rcx, rbx
mov edx, 4
mov dword [rsp + 0x28], eax
call fcn.140148d00
xor r8d, r8d
mov edx, 0x10
xor ecx, ecx
call fcn.140148990
mov eax, esi
mov dword [0x1402a5124], 1
add rsp, 0x298
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rbx, qword [sym.imp.msvcrt.dll__errno]
call rbx
cmp dword [rax], 2
je 0x1401490d0
call rbx
mov ecx, dword [rax]
call fcn.14016b598
mov rbx, qword [0x1402a5128]
lea rcx, str.cant_open___s:__s_n
mov rsi, rax
call fcn.1400ea0a0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400ea3a0
xor esi, esi
mov eax, esi
add rsp, 0x298
pop rbx
pop rsi
pop rdi
pop rbp
ret
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call fcn.14016b598
mov rsi, qword [0x1402a5128]
lea rcx, str.cant_stat___s:__s_n
mov rdi, rax
call fcn.1400ea0a0
mov rdx, rsi
mov r8, rdi
mov rcx, rax
call fcn.1400ea3a0
xor esi, esi
mov ecx, ebx
call fcn.14016b478
mov eax, esi
add rsp, 0x298
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rdi, qword [0x1402a5128]
lea rcx, str.__s_is_not_a_regular_file___ignored_n
call fcn.1400ea0a0
mov rdx, rdi
mov rcx, rax
call fcn.1400ea3a0
mov ecx, ebx
call fcn.14016b478
mov eax, esi
add rsp, 0x298
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov rsi, qword [sym.imp.msvcrt.dll__errno]
nop word [rax + rax]
call rsi
mov ecx, dword [rax]
call fcn.14016b598
mov rbx, qword [0x1402a5128]
lea rcx, str.cant_read___s:__s_n
mov rsi, rax
call fcn.1400ea0a0
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.1400ea430
nop dword [rax]
lea rcx, str.note:_random_seed_file_is_empty_n
call fcn.1400ea0a0
mov rcx, rax
call fcn.1400ea3a0
mov ecx, ebx
call fcn.14016b478
mov dword [0x1402a5124], 1
jmp 0x140148fd1
mov dword [0x1402a5124], 1
xor esi, esi
jmp 0x140148fd1
lea r9, str.read_seed_file
lea rdx, str.random_csprng.c
lea rcx, str.pool_is_locked
mov r8d, 0x2df
call fcn.1400ea370
nop
nop dword [rax]
nop word cs:[rax + rax]