Function at 0x140157414
Capabilities:
Read file on windows

Disassembly:
jmp 0x14033bd90
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, gethostname
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1d8]
mov rax, qword [0x140516ff8]
xor rax, rbp
mov qword [rbp + 0x188], rax
lea rcx, [0x14054a30c]
call fcn.14015817a
cmp qword [rbp + 0x1c0], 0
jg 0x14033bdf4
xor eax, eax
jmp 0x14033bfd6
mov rax, qword [rbp + 0x1b0]
cmp qword [rax + 0x68], 0
je 0x14033be22
mov r8, qword [rbp + 0x1c0]
mov rdx, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x14033bfd6
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x1c0]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jbe 0x14033bebe
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 8]
call fcn.14015152d
mov rax, qword [rax]
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rbp + 0x68]
mov rdx, rax
mov rcx, qword [rbp + 0x1b8]
call fcn.140157a9f
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x1b8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov edx, dword [rbp + 0x68]
mov rcx, qword [rbp + 0x1b0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
mov rax, qword [rbp + 0x1b0]
cmp qword [rax + 0x80], 0
je 0x14033bfc8
mov rcx, qword [rbp + 0x1b0]
call fcn.1401582e2
mov qword [rbp + 0x88], 0xfff
cmp qword [rbp + 8], 0xfff
jbe 0x14033bf73
mov rax, qword [rbp + 0x1b0]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rbp + 0x1b8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x1b8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x1b8], rax
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
cmp qword [rbp + 0xa8], 0xfff
je 0x14033bf6e
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x28]
sub rcx, rax
mov rax, rcx
jmp 0x14033bfd6
jmp 0x14033beea
cmp qword [rbp + 8], 0
jbe 0x14033bfc8
mov rax, qword [rbp + 0x1b0]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 8]
mov edx, 1
mov rcx, qword [rbp + 0x1b8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rbp + 0x178], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x180], rax
mov rax, qword [rbp + 0x178]
mov rcx, qword [rbp + 0x180]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x28]
sub rcx, rax
mov rax, rcx
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.140156eb0
mov rax, rdi
mov rcx, qword [rbp + 0x188]
xor rcx, rbp
call fcn.1401546d3
lea rsp, [rbp + 0x198]
pop rdi
pop rbp
ret