Function at 0x1400334c0
Capabilities:
Read file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
push rbp
push r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov r15, rdx
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 4
lea r8d, [r14 + 3]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x48], rax
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140033521
lea eax, [rbp + 2]
add rsp, 0xb0
pop r15
pop r14
pop rbp
ret
xor eax, eax
mov qword [rsp + 0xa8], rsi
xorps xmm0, xmm0
mov word [rsp + 0x88], ax
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x78]
mov rcx, rbp
lea r8d, [rax + 0x12]
mov rsi, r14
movups xmmword [rsp + 0x78], xmm0
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14003356a
lea r14d, [rax + 2]
mov r15, rbp
jmp 0x140033951
lea rdx, [0x140086640]
lea rcx, [rsp + 0x78]
call fcn.14000c480
test eax, eax
je 0x14003358d
mov r14d, 3
mov r15, rbp
jmp 0x140033951
movzx eax, byte [rsp + 0x89]
mov qword [rsp + 0xa0], rdi
movzx edi, byte [rsp + 0x88]
shl edi, 8
add edi, eax
mov ecx, edi
mov dword [rsp + 0x40], edi
call fcn.1400462e4
mov qword [rsp + 0x58], rax
mov rsi, rax
test rax, rax
jne 0x1400335ce
lea r14d, [rax + 4]
mov r15, rbp
jmp 0x140033949
mov qword [rsp + 0xd0], rbx
mov ecx, 0x20
mov qword [rsp + 0x98], r12
mov qword [rsp + 0x90], r13
call fcn.1400462e4
mov rcx, rax
mov qword [rsp + 0x70], rax
mov r12, rax
call fcn.140005f10
mov eax, 0x64
mov dword [rsp + 0x50], r14d
mov edx, eax
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
mov r13d, r14d
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x1400337d0
mov edi, r14d
mov dword [rsp + 0x54], r14d
test r13d, r13d
mov qword [rsp + 0x20], r14
mov r12d, r14d
lea r9, [rsp + 0x60]
cmove r12d, ebx
mov rdx, rsi
mov ebx, dword [rsp + 0x40]
mov rcx, rbp
mov r8d, ebx
sub r8d, r12d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140033790
cmp byte [rsi], 0xd
jne 0x140033782
movzx ebp, byte [rsi + 3]
movzx eax, byte [rsi + 4]
mov esi, r14d
shl ebp, 8
add ebp, eax
je 0x140033778
mov r13, qword [rsp + 0x58]
nop word [rax + rax]
lea eax, [rsi*2 + 8]
movzx edx, byte [rax + r13]
lea eax, [rsi*2 + 9]
movzx eax, byte [rax + r13]
shl edx, 8
add edx, eax
sub edx, r12d
je 0x140033765
mov ecx, edx
lea rax, [rsp + 0x64]
movzx edx, byte [r13]
lea r9, [rsp + 0x68]
add rcx, r13
mov qword [rsp + 0x20], rax
mov r8d, ebx
call fcn.1400343c0
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x140033761
mov edi, dword [rsp + 0x64]
test edi, edi
je 0x14003373a
test r15, r15
je 0x14003371b
lea r8, [0x140033980]
mov rdx, rbx
mov rcx, r15
call fcn.140005d80
test al, al
jne 0x14003371b
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], r14b
jne 0x140033710
jmp 0x14003374a
mov ecx, 0x10
call fcn.1400462e4
mov rcx, qword [rsp + 0x70]
mov rdx, rax
mov qword [rax], rbx
mov dword [rax + 8], edi
call fcn.1400057c0
jmp 0x140033761
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r14b
jne 0x140033741
xor edx, edx
mov rcx, rbx
call fcn.1400452a0
mov rcx, rbx
call fcn.1400462d0
mov qword [rsp + 0x68], r14
mov ebx, dword [rsp + 0x40]
inc esi
cmp esi, ebp
jb 0x140033690
mov r13d, dword [rsp + 0x50]
mov edi, dword [rsp + 0x54]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
mov r12, qword [rsp + 0x70]
cmp qword [r12 + 8], r14
jne 0x1400337cc
jmp 0x140033795
mov r12, qword [rsp + 0x70]
add edi, ebx
inc r13d
mov eax, 0x64
mov dword [rsp + 0x50], r13d
test r13d, r13d
mov dword [rsp + 0x54], edi
mov ebx, r14d
mov rcx, rbp
cmove ebx, eax
xor r9d, r9d
add ebx, edi
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
jne 0x140033630
mov edi, dword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
test r12, r12
je 0x140033931
mov rsi, r14
cmp qword [r12 + 8], r14
jbe 0x14003391a
mov ebp, dword [rsp + 0xf0]
mov r13d, dword [rsp + 0xe8]
nop dword [rax + rax]
cmp qword [0x140063138], r14
jne 0x140033827
mov ecx, 0x20
call fcn.1400462e4
mov qword [0x140063138], rax
test rax, rax
je 0x140033827
mov rcx, rax
call fcn.140005f10
mov rax, qword [r12]
mov edx, edi
mov r9, qword [rsp + 0xe0]
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r13d
mov rcx, qword [rax + rsi*8]
mov r8d, dword [rcx + 8]
mov rcx, r15
call fcn.1400345f0
mov rdi, qword [0x140063138]
test rdi, rdi
je 0x1400338ca
mov rbx, r14
cmp qword [rdi + 8], rbx
jbe 0x1400338ad
mov rax, qword [rdi]
mov rcx, qword [rax + rbx*8]
test rcx, rcx
je 0x1400338a4
mov r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], r14w
jne 0x140033876
add r8, r8
xor edx, edx
call fcn.1400452a0
mov rcx, qword [rdi]
mov rcx, qword [rcx + rbx*8]
call fcn.1400462d0
mov rdi, qword [0x140063138]
mov rax, qword [rdi]
mov qword [rax + rbx*8], r14
inc rbx
cmp rbx, qword [rdi + 8]
jb 0x140033863
xor edx, edx
mov rcx, rdi
call fcn.140005c80
mov rcx, qword [0x140063138]
call fcn.1400462d0
mov qword [0x140063138], r14
mov rax, qword [r12]
mov rbx, qword [rax + rsi*8]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400338fc
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], r14b
jne 0x1400338e1
xor edx, edx
call fcn.1400452a0
mov rcx, qword [rbx]
call fcn.1400462d0
mov qword [rbx], r14
mov rcx, rbx
mov dword [rbx + 8], r14d
call fcn.1400462d0
mov edi, dword [rsp + 0x40]
inc rsi
cmp rsi, qword [r12 + 8]
jb 0x140033800
xor edx, edx
mov rcx, r12
call fcn.140005c80
mov rcx, r12
call fcn.1400462d0
mov rsi, qword [rsp + 0x58]
mov r12, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xd0]
mov r13, qword [rsp + 0x90]
mov rdi, qword [rsp + 0xa0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call fcn.1400462d0
mov rsi, qword [rsp + 0xa8]
mov eax, r14d
add rsp, 0xb0
pop r15
pop r14
pop rbp
ret