Function at 0x434d40
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rsi, r8
mov r13, rdx
mov qword [rsp + 0x40], rcx
mov r12, qword [r8 + 8]
mov rbp, qword [r8 + 0x10]
xorps xmm6, xmm6
mov qword [rsp + 0x30], r12
mov rbx, rbp
mov qword [rsp + 0x48], rbp
nop dword [rax + rax]
cmp rbp, r12
jne 0x434d91
mov rax, r12
sub rax, rbx
cmp rax, 0x1f
jbe 0x434e0d
cmp rbx, r12
jae 0x434da6
mov qword [rsi + 0x10], r12
mov rbx, r12
cmp r12, rbp
jb 0x435006
mov rdi, rbx
sub rdi, rbp
jb 0x434ff2
mov r14, qword [rsi]
lea rdx, [r14 + rbp]
mov dword [rsp + 0x50], 0
mov eax, 0xffffffff
cmp rdi, rax
mov r8d, 0xffffffff
cmovb r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, r13
lea r9, [rsp + 0x50]
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x434e34
call sub.kernel32.dll_GetLastError
mov r15d, eax
mov ecx, eax
call fcn.00431ed0
cmp al, 0xb
je 0x434e49
cmp al, 0x23
je 0x434d80
jmp 0x434f5e
mov r8d, 0x20
mov rcx, rsi
mov rdx, rbx
call fcn.004183d0
mov r12, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
cmp rbx, r12
jb 0x434d96
jmp 0x434da6
mov eax, dword [rsp + 0x50]
mov rcx, rax
shr rcx, 8
mov edx, eax
and edx, 0xffff0000
jmp 0x434e4f
xor eax, eax
xor ecx, ecx
xor edx, edx
shl ecx, 8
movzx ecx, cx
or rcx, rdx
movzx eax, al
or rax, rcx
je 0x434fbb
cmp rax, rdi
ja 0x43501a
add rbp, rax
cmp rbp, r12
jne 0x434d80
cmp r12, qword [rsp + 0x30]
jne 0x434d80
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
nop
mov dword [rsp + 0x3c], 0
mov qword [rsp + 0x20], 0
mov rcx, r13
lea rdx, [rsp + 0x50]
mov r8d, 0x20
lea r9, [rsp + 0x3c]
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x434ed8
call sub.kernel32.dll_GetLastError
mov ebp, eax
mov ecx, eax
call fcn.00431ed0
cmp al, 0xb
je 0x434eed
cmp al, 0x23
je 0x434e90
jmp 0x434f7c
mov eax, dword [rsp + 0x3c]
mov rdx, rax
shr rdx, 8
mov ecx, eax
and ecx, 0xffff0000
jmp 0x434ef3
xor ecx, ecx
xor edx, edx
xor eax, eax
shl edx, 8
movzx edx, dx
or rdx, rcx
movzx ebp, al
or rbp, rdx
je 0x434fd5
cmp rbp, 0x21
jae 0x435034
mov rax, qword [rsp + 0x30]
sub rax, rbx
cmp rax, rbp
jb 0x434f43
add r14, rbx
mov rcx, r14
lea rdx, [rsp + 0x50]
mov r8, rbp
call sub.msvcrt.dll_memcpy
add rbx, rbp
mov qword [rsi + 0x10], rbx
add rbp, qword [rsp + 0x30]
jmp 0x434d80
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.004183d0
mov rbx, qword [rsi + 0x10]
mov r14, qword [rsi]
mov r12, qword [rsi + 8]
jmp 0x434f1f
shl r15, 0x20
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], r15
mov qword [rax + 0x10], 0
mov qword [rax], 1
jmp 0x434f9e
shl rbp, 0x20
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], 0
mov eax, 1
mov qword [rcx], rax
mov rbp, qword [rsp + 0x30]
mov qword [rsi + 0x10], rbp
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, rbp
sub rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rax
mov qword [rcx], 0
jmp 0x434f9e
mov rbp, qword [rsp + 0x30]
mov rax, rbp
sub rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov qword [rcx + 8], rax
xor eax, eax
mov qword [rcx], rax
jmp 0x434f9e
lea r8, [0x00440b68]
mov rcx, rbp
mov rdx, rbx
call fcn.0040a170
ud2
lea r8, [0x00440b50]
mov rcx, rbp
mov rdx, r12
call fcn.0040a170
ud2
lea rcx, str.assertion_failed:_n___buf.len__H_D
lea r8, [0x00440b80]
mov edx, 0x20
call fcn.0040a720
ud2
lea r8, [0x00440b98]
mov edx, 0x20
mov rcx, rbp
call fcn.0040a1f0
ud2