Function at 0x1400057a0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov r14, r8
mov qword [rsp + 0x28], rdx
mov rbx, rcx
mov rax, qword [0x1401132d8]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rax, [rcx + 0x70]
mov qword [rsp + 0xa0], rax
lea rax, [rcx + 0x80]
mov qword [rsp + 0x98], rax
test r8, r8
mov eax, 0x3df90f98
mov ecx, 0x1f71ea06
cmovle ecx, eax
mov dword [rsp + 0x5c], ecx
mov eax, 0xdbce5fde
mov qword [rsp + 0x90], rbx
mov rbp, qword [rsp + 0x28]
jmp 0x140005830
mov rdi, r14
sub rdi, qword [rsp + 0xd8]
mov eax, 0x7381b8c4
nop word cs:[rax + rax]
nop dword [rax]
mov ecx, eax
cmp eax, 0xf4224f69
jle 0x140005890
cmp ecx, 0x3df90f97
jg 0x140005900
cmp ecx, 0x1ba7ede2
jle 0x14000598b
cmp ecx, 0x1ba7ede3
je 0x140005b59
cmp ecx, 0x1f71ea06
je 0x140005b75
mov eax, ecx
cmp ecx, 0x2b9af9d5
jne 0x140005830
mov eax, 0xf4224f6a
xor r15d, r15d
mov r13, qword [rsp + 0x80]
jmp 0x140005830
cmp ecx, 0xa6ecdbaf
jg 0x140005950
cmp ecx, 0x92d57457
jle 0x1400059e4
cmp ecx, 0x92d57458
je 0x140005b8c
cmp ecx, 0x9e8f516c
je 0x140005813
mov eax, ecx
cmp ecx, 0xa0fb6188
jne 0x140005830
mov qword [rsp + 0xb8], r12
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
cmp qword [rax], 0
mov eax, 0x8f2424ab
mov ecx, 0x9e8f516c
cmove eax, ecx
jmp 0x140005830
cmp ecx, 0x6020027c
jle 0x140005aaa
cmp ecx, 0x6020027d
je 0x140005bff
cmp ecx, 0x62144e3e
je 0x140005c1e
mov eax, ecx
cmp ecx, 0x7381b8c4
jne 0x140005830
mov rax, qword [rsp + 0x70]
mov rax, qword [rsp + 0x68]
mov eax, 0xc11ad86e
mov rcx, rdi
mov qword [rsp + 0x30], rdi
jmp 0x140005830
cmp ecx, 0xc11ad86d
jle 0x140005adc
cmp ecx, 0xd33550c4
je 0x140005c36
mov eax, dword [rsp + 0x5c]
cmp ecx, 0xdbce5fde
je 0x140005830
mov eax, ecx
cmp ecx, 0xc11ad86e
jne 0x140005830
jmp 0x140005d56
cmp ecx, 0xf4224f6a
je 0x140005c56
mov eax, ecx
cmp ecx, 0x7be580c
jne 0x140005830
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x50], rsi
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp rax, 0x1000
mov eax, 0x62144e3e
mov ecx, 0xb8013467
cmovae eax, ecx
jmp 0x140005830
cmp ecx, 0x8237da28
je 0x140005c85
mov eax, ecx
cmp ecx, 0x8f2424ab
jne 0x140005830
mov qword [rsp + 0x88], rbx
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xc8], rax
mov eax, 0x91abf19d
nop word cs:[rax + rax]
nop dword [rax]
cmp eax, 0x512ef409
je 0x140005cb4
cmp eax, 0x1f8f1a44
je 0x140005a78
cmp eax, 0x91abf19d
jne 0x140005a40
mov rax, qword [rsp + 0xc0]
cmp rax, qword [rsp + 0xc8]
mov eax, 0x512ef409
mov ecx, 0x1f8f1a44
cmove eax, ecx
jmp 0x140005a40
mov eax, dword [rbx + 0x90]
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rsp + 0x88]
mov rsi, qword [rdx + 0x18]
mov qword [rsi], rcx
mov rsi, qword [rdx + 0x38]
mov qword [rsi], rcx
sub eax, ecx
mov rcx, qword [rdx + 0x50]
mov dword [rcx], eax
mov eax, 0x512ef409
jmp 0x140005a40
cmp ecx, 0x3df90f98
je 0x140005cc6
mov eax, ecx
cmp ecx, 0x4cca51e8
jne 0x140005830
mov r13, r14
sub r13, qword [rsp + 0x78]
mov eax, 0xf4224f6a
mov r15d, 1
jmp 0x140005830
cmp ecx, 0xa6ecdbb0
je 0x140005cd7
mov eax, ecx
cmp ecx, 0xb8013467
jne 0x140005830
mov rax, qword [rsp + 0x40]
mov r9, qword [rax]
mov rcx, qword [rsp + 0x50]
mov edx, 1
mov r8d, 0xfff
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov qword [rsp + 0xb0], rcx
mov rcx, qword [rsp + 0xd8]
sub rcx, rax
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0xd8], rcx
cmp rax, 0xfff
mov eax, 0x4cca51e8
mov ecx, 0x2b9af9d5
cmove eax, ecx
jmp 0x140005830
cmp dword [rsp + 0x24], 0
mov eax, 0x7381b8c4
mov ecx, 0x9e8f516c
cmove eax, ecx
mov rdi, qword [rsp + 0x60]
jmp 0x140005830
cmp qword [rbx + 0x68], 0
mov eax, 0xd33550c4
mov ecx, 0xa6ecdbb0
cmove eax, ecx
jmp 0x140005830
mov rbx, rdi
mov r12, rsi
mov rsi, qword [rsp + 0xd0]
mov rdi, qword [rsp + 0xd8]
cmp rsi, rdi
cmovae rsi, rdi
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x38]
mov rdx, qword [rax]
mov rcx, rbp
mov r8, rsi
call sub.VCRUNTIME140.dll_memcpy
sub rdi, rsi
mov qword [rsp + 0xd8], rdi
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x50]
sub dword [rcx], esi
lea rdx, [rsi + rbp]
mov rax, qword [rax + 0x38]
movsxd rcx, esi
mov rsi, r12
mov r12, rdx
mov rdi, rbx
mov rbx, qword [rsp + 0x90]
add qword [rax], rcx
mov eax, 0xa0fb6188
jmp 0x140005830
mov eax, 0x1ba7ede3
mov dword [rsp + 0x24], 0
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x60], rcx
jmp 0x140005830
cmp qword [rsp + 0x48], 0
mov eax, 0x8237da28
mov ecx, 0x6020027d
cmove eax, ecx
jmp 0x140005830
mov rcx, rbx
mov rdx, qword [rsp + 0x28]
mov r8, r14
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]
mov qword [rsp + 0x30], rax
mov eax, 0xc11ad86e
jmp 0x140005830
test r15d, r15d
mov eax, 0x1ba7ede3
mov ecx, 0x7be580c
cmove eax, ecx
mov rsi, qword [rsp + 0xb0]
mov dword [rsp + 0x24], r15d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0xa8], r13
jmp 0x140005830
mov rax, qword [rsp + 0x40]
mov r9, qword [rax]
mov r8, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub qword [rsp + 0xd8], rax
mov eax, 0x6020027d
jmp 0x140005830
mov eax, 0x7be580c
mov rsi, qword [rsp + 0xb8]
jmp 0x140005830
mov eax, 0xc11ad86e
xor ecx, ecx
mov qword [rsp + 0x30], rcx
jmp 0x140005830
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xd8], r14
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x38]
cmp qword [rcx], 0
je 0x140005d3b
mov rax, qword [rax + 0x50]
movsxd rcx, dword [rax]
mov qword [rsp + 0xd0], rcx
mov eax, 0x92d57458
mov r12, qword [rsp + 0x28]
test rcx, rcx
jne 0x140005830
jmp 0x140005d47
mov qword [rsp + 0xd0], 0
mov eax, 0xa0fb6188
mov r12, qword [rsp + 0x28]
jmp 0x140005830
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140009900
mov rax, qword [rsp + 0x30]
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret