Function at 0x433f30
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 0x433f81
mov rax, r12
sub rax, rbx
cmp rax, 0x1f
jbe 0x433ffd
cmp rbx, r12
jae 0x433f96
mov qword [rsi + 0x10], r12
mov rbx, r12
cmp r12, rbp
jb 0x4341f6
mov rdi, rbx
sub rdi, rbp
jb 0x4341e2
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 0x434024
call sub.kernel32.dll_GetLastError
mov r15d, eax
mov ecx, eax
call fcn.004310c0
cmp al, 0xb
je 0x434039
cmp al, 0x23
je 0x433f70
jmp 0x43414e
mov r8d, 0x20
mov rcx, rsi
mov rdx, rbx
call fcn.004175c0
mov r12, qword [rsi + 8]
mov rbx, qword [rsi + 0x10]
cmp rbx, r12
jb 0x433f86
jmp 0x433f96
mov eax, dword [rsp + 0x50]
mov rcx, rax
shr rcx, 8
mov edx, eax
and edx, 0xffff0000
jmp 0x43403f
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 0x4341ab
cmp rax, rdi
ja 0x43420a
add rbp, rax
cmp rbp, r12
jne 0x433f70
cmp r12, qword [rsp + 0x30]
jne 0x433f70
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 0x4340c8
call sub.kernel32.dll_GetLastError
mov ebp, eax
mov ecx, eax
call fcn.004310c0
cmp al, 0xb
je 0x4340dd
cmp al, 0x23
je 0x434080
jmp 0x43416c
mov eax, dword [rsp + 0x3c]
mov rdx, rax
shr rdx, 8
mov ecx, eax
and ecx, 0xffff0000
jmp 0x4340e3
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 0x4341c5
cmp rbp, 0x21
jae 0x434224
mov rax, qword [rsp + 0x30]
sub rax, rbx
cmp rax, rbp
jb 0x434133
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 0x433f70
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.004175c0
mov rbx, qword [rsi + 0x10]
mov r14, qword [rsi]
mov r12, qword [rsi + 8]
jmp 0x43410f
shl r15, 0x20
mov rax, qword [rsp + 0x40]
mov qword [rax + 8], r15
mov qword [rax + 0x10], 0
mov qword [rax], 1
jmp 0x43418e
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 0x43418e
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 0x43418e
lea r8, [0x0043fa18]
mov rcx, rbp
mov rdx, rbx
call fcn.00409360
ud2
lea r8, [0x0043fa00]
mov rcx, rbp
mov rdx, r12
call fcn.00409360
ud2
lea rcx, str.assertion_failed:_n___buf.len__
lea r8, [0x0043fa30]
mov edx, 0x20
call fcn.00409910
ud2
lea r8, [0x0043fa48]
mov edx, 0x20
mov rcx, rbp
call fcn.004093e0
ud2