Function at 0x140092fd0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rdi, r8
mov qword [rsp + 0x40], rdx
movabs r15, 0xea3bad5abf58fc64
movabs r13, 0xa475b2b6ce56665c
movabs rbp, 0x3d62dd84af5c5b34
movabs r12, 0x3d62dd8425e44dec
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x90], r8
lea rcx, [r12 + 0x47fc0eee]
lea rsi, [rbp - 0x48c8e56]
lea r14, [r12 + 0x46b0a9e5]
lea rbx, [r12 + 0x28a883ce]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x88], r8
jmp 0x140093070
lea rax, [rbp - 0x97d8a57]
cmp rcx, r14
cmove rcx, rax
nop word cs:[rax + rax]
cmp rcx, rsi
jge 0x140093100
cmp rcx, r14
jge 0x140093150
cmp rcx, rbx
jge 0x1400931f9
cmp rcx, r12
jge 0x14009333a
lea rax, [r12 - 0x8f074c9]
cmp rcx, rax
jne 0x140093070
mov rax, qword [rsp + 0x38]
mov r9, qword [rax + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add rbx, rax
mov qword [rsp + 0x40], rbx
mov rbx, qword [rsp + 0x80]
sub qword [rsp + 0x30], rax
lea rcx, [rbp + 0x1b918f57]
lea rdx, [rbp + 0x4972694a]
cmp rax, 0xfff
cmove rcx, rdx
jmp 0x140093070
lea rax, [rbp + 0x2097bc94]
cmp rcx, rax
jae 0x1400931b0
lea r8, [rbp + 0x4a09595]
cmp rcx, r8
jae 0x140093237
cmp rcx, rbp
jae 0x140093371
lea rax, [rbp - 0x48c8e56]
cmp rcx, rax
jne 0x140093070
lea rcx, [rbp + 0x4b79cee2]
cmp dword [rsp + 0x74], 0
cmovne rcx, r14
jmp 0x140093070
lea rax, [r12 + 0x5b4fd142]
cmp rcx, rax
jae 0x14009328d
lea rax, [r12 + 0x47fc0eee]
cmp rcx, rax
jb 0x140093056
lea rdx, [r12 + 0x4ebeab04]
cmp rcx, rdx
jae 0x1400934eb
cmp rcx, rax
jne 0x140093070
lea rax, [r12 + 0x647f4df5]
lea rcx, [rbp + 0x3b3fa098]
cmp qword [rsp + 0x90], 0
cmovle rcx, rax
jmp 0x140093070
lea rdx, [rbp + 0x3b3fa098]
cmp rcx, rdx
jae 0x1400932ef
lea rdx, [rbp + 0x24b8bc34]
cmp rcx, rdx
jae 0x14009338f
cmp rcx, rax
jne 0x140093070
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x30]
mov qword [rsp + 0x68], rdi
lea rcx, [r15 + 0x33bd958d]
jmp 0x14009347a
lea rax, [r12 + 0x33a7d025]
cmp rcx, rax
jae 0x1400933b8
lea rax, [r12 + 0x28a883ce]
cmp rcx, rax
jne 0x140093070
lea rcx, [rbp - 0x8c5b85b]
lea rax, [rbp + 0xaa8c9cf]
cmp dword [rsp + 0x70], 0
cmove rcx, rax
jmp 0x140093070
lea rdx, [rbp + 0xaa8c9cf]
cmp rcx, rdx
jae 0x1400933f3
cmp rcx, r8
jne 0x140093070
mov qword [rsp + 0x30], rdi
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx + 0x38]
cmp qword [rdx], 0
je 0x140093755
mov rcx, qword [rcx + 0x50]
mov ecx, dword [rcx]
movsxd rdx, ecx
mov qword [rsp + 0x58], rdx
mov rcx, rax
test edx, edx
jne 0x140093070
lea rcx, [rbp + 0x2d7c854]
jmp 0x140093070
lea rdx, [rbp - 0x97d8a57]
cmp rcx, rdx
jae 0x140093417
lea rdx, [r12 + 0x647f4df5]
cmp rcx, rdx
jae 0x140093511
cmp rcx, rax
jne 0x140093070
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 0x18]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
add rax, 0x70
mov qword [rsp + 0x68], rax
lea rax, [r13 + 0x38bcdfe]
mov rcx, rax
jmp 0x1400936d1
lea rax, [rbp + 0x4b79cee2]
cmp rcx, rax
jae 0x140093438
lea rax, [rbp + 0x4972694a]
cmp rcx, rax
jae 0x14009352d
cmp rcx, rdx
jne 0x140093070
mov rax, qword [rsp + 0x38]
lea rcx, [r12 + 0x4ebeab04]
lea rdx, [rbp + 0x4a09595]
cmp qword [rax + 0x68], 0
cmove rcx, rdx
jmp 0x140093070
lea rax, [r12 + 0x1a540b73]
cmp rcx, rax
jae 0x140093554
lea rax, [rbp + 0x24b8bc34]
cmp rcx, r12
mov edx, 0
mov r8d, dword [rsp + 0x2c]
cmove r8d, edx
mov dword [rsp + 0x2c], r8d
cmove rcx, rax
jmp 0x140093070
lea rax, [rbp + 0x2d7c854]
cmp rcx, rax
jae 0x14009357b
cmp rcx, rbp
jne 0x140093070
jmp 0x14009376a
lea rax, [rbp + 0x343ce99d]
cmp rcx, rax
jae 0x1400935a7
cmp rcx, rdx
jne 0x140093070
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x74], eax
mov rcx, rsi
jmp 0x140093070
lea rdx, [r12 + 0x349ca066]
cmp rcx, rdx
jae 0x1400935c3
cmp rcx, rax
jne 0x140093070
lea rax, [r12 - 0x8f074c9]
lea rcx, [rbp + 0x343ce99d]
cmp qword [rsp + 0x30], 0x1000
cmovae rcx, rax
jmp 0x140093070
lea rax, [rbp + 0x1b918f57]
cmp rcx, rax
jae 0x1400935d9
lea rax, [r12 + 0x33a7d025]
cmp rcx, rdx
cmove rcx, rax
jmp 0x140093070
lea rax, [rbp - 0x8c5b85b]
cmp rcx, rax
jae 0x140093601
cmp rcx, rdx
jne 0x140093070
mov rcx, rbp
jmp 0x140093070
lea rdx, [rbp + 0x4dbbab63]
cmp rcx, rdx
jae 0x140093614
lea rdx, [r12 + 0x1a540b73]
jmp 0x140093608
movabs rdx, 0xea3bad5a178821fd
cmp rcx, rdx
cmove rcx, r15
lea rdx, [rsp + 0x58]
cmove rax, rdx
lea rdx, [r15 + 0x10c4d11]
nop word cs:[rax + rax]
cmp rcx, rdx
jge 0x1400934b0
cmp rcx, r15
jb 0x140093460
jne 0x140093490
jmp 0x140093653
lea r8, [r15 + 0x33bd958d]
cmp rcx, r8
jl 0x1400934d9
mov rcx, qword [rsp + 0x60]
cmp rcx, qword [rsp + 0x68]
movabs rcx, 0xea3bad5a178821fd
cmovb rdx, rcx
mov rcx, rdx
jmp 0x14009347a
cmp rcx, rdx
cmove rcx, r15
lea rdx, [rsp + 0x30]
cmove rax, rdx
jmp 0x14009347a
jne 0x140093070
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov r8, rdi
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 + 0x50], rax
mov rcx, rbp
jmp 0x140093070
mov eax, 0
mov rdx, qword [rsp + 0x50]
cmove rdx, rax
mov qword [rsp + 0x50], rdx
cmove rcx, rbp
jmp 0x140093070
lea rdx, [r12 + 0x349ca066]
cmp rcx, rax
mov eax, 0
mov r8d, dword [rsp + 0x2c]
cmove r8d, eax
mov dword [rsp + 0x2c], r8d
cmove rcx, rdx
jmp 0x140093070
jne 0x140093070
mov rax, rdi
sub rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x97d8a57]
mov dword [rsp + 0x2c], 1
jmp 0x140093070
jne 0x140093070
mov rax, qword [rsp + 0x38]
lea rcx, [r12 + 0x5b4fd142]
lea rdx, [r12 + 0x1a540b73]
cmp qword [rax + 0x80], 0
cmove rcx, rdx
jmp 0x140093070
jne 0x140093070
lea rcx, [rbp + 0x4dbbab63]
cmp qword [rsp + 0x30], 0
cmove rcx, r12
jmp 0x140093070
jne 0x140093070
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x70], eax
mov rcx, rbx
jmp 0x140093070
jne 0x140093070
mov rax, rdi
sub rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rcx, [r12 + 0x349ca066]
mov dword [rsp + 0x2c], 1
jmp 0x140093070
lea rdx, [rbp + 0x24b8bc34]
cmp rcx, rax
cmove rcx, rdx
jmp 0x140093070
jne 0x140093070
mov rax, qword [rsp + 0x38]
mov r9, qword [rax + 0x80]
mov r14, qword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rsp + 0x40]
mov r8, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub r14, rax
mov qword [rsp + 0x30], r14
mov r14, qword [rsp + 0x78]
mov rcx, r12
jmp 0x140093070
mov r14, qword [rax]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x38]
mov rdx, qword [rax]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
sub rdi, r14
mov qword [rsp + 0x30], rdi
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x50]
sub dword [rcx], r14d
add rbx, r14
mov qword [rsp + 0x40], rbx
mov rbx, qword [rsp + 0x80]
mov rax, qword [rax + 0x38]
movsxd rcx, r14d
mov r14, qword [rsp + 0x78]
add qword [rax], rcx
lea rcx, [rbp + 0x2d7c854]
mov rdi, qword [rsp + 0x88]
jmp 0x140093070
mov rcx, qword [rsp + 0x60]
cmp rcx, qword [rsp + 0x68]
cmovne rdx, r13
mov rcx, rdx
lea rdx, [r13 - 0x4e0c2e17]
nop dword [rax + rax]
cmp rcx, r13
jb 0x140093700
cmp rcx, rax
jae 0x1400936c0
cmp rcx, r13
jne 0x1400936e0
jmp 0x140093748
cmp rcx, rdx
jne 0x1400936e0
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx + 0x90]
mov rdx, qword [rsp + 0x48]
mov rdx, qword [rdx + 0x88]
mov r8, qword [rsp + 0x48]
mov r8, qword [r8 + 0x88]
mov r9, qword [rsp + 0x48]
mov r10, qword [r9 + 0x18]
mov qword [r10], r8
mov r8, qword [r9 + 0x38]
mov qword [r8], rdx
sub ecx, edx
mov rdx, qword [r9 + 0x50]
mov dword [rdx], ecx
mov rcx, r13
jmp 0x1400936d1
lea rcx, [r12 + 0x33a7d025]
jmp 0x140093070
mov qword [rsp + 0x58], 0
lea rcx, [rbp + 0x2d7c854]
jmp 0x140093070
mov rax, qword [rsp + 0x50]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret