Function at 0x180073b20
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov edi, dword [rsp + 0xb0]
lea eax, [r8 + 0x5e8]
mov dword [rsp + 0x30], eax
mov r15d, r8d
mov r9, rdx
mov r13, rcx
cmp r8d, eax
jae 0x180073de5
mov rsi, qword [rsp + 0xc8]
xor r14d, r14d
mov rdx, qword [rsp + 0xc0]
lea r8, [0x180000000]
cmp r15d, 0x138
ja 0x180073dbf
je 0x180073d9c
lea eax, [r15 - 0x3c]
cmp eax, 0xf9
ja case.0x180073bad.66
movzx eax, byte [r8 + rax + 0x73e74]
mov ecx, dword [r8 + rax*4 + 0x73e58]
add rcx, r8
jmp rcx
mov rax, qword [rsp + 0x38]
cmp rax, qword [r13]
je case.0x180073bad.66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
jmp 0x180073de7
mov rax, qword [rsi]
mov rcx, qword [rax + 0x2d0]
mov rax, qword [rcx + 0x70]
mov qword [rsp + 0x40], rax
jmp case.0x180073bad.66
mov r8d, dword [r13]
mov ecx, dword [rsi]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
movsxd rcx, eax
mov qword [rsp + 0x38], rcx
jmp case.0x180073bad.66
mov rcx, qword [rsi]
mov r8, qword [rsp + 0x40]
mov edx, dword [rcx + 0x30c]
imul edx, dword [r8 + 0x4a4]
mov eax, dword [rcx + 0x304]
imul eax, dword [r8 + 0x4a8]
mov rbp, qword [rcx + 0x358]
add rdx, rax
movzx eax, byte [rcx + 0x9f1]
add rdx, qword [r8 + 0x4b0]
cmp al, 5
jne 0x180073ccc
cmp dword [rcx + 0x314], 0
jle 0x180073cad
lea rbx, [rdx + 2]
nop dword [rax]
mov r9d, 0x6a
mov qword [rsp + 0x48], rbp
xor r8d, r8d
lea rcx, [rsp + 0x48]
xor edx, edx
call fcn.180006190
lea r9, [rsp + 0x50]
mov word [rsp + 0xb0], ax
xor r8d, r8d
mov qword [rsp + 0x50], rbx
xor edx, edx
mov dword [rsp + 0x20], 0x103
lea rcx, [rsp + 0xb0]
call fcn.18006e120
mov rax, qword [rsi]
add rbx, 4
add rbp, 2
inc r14d
cmp r14d, dword [rax + 0x314]
jl 0x180073c50
xor r14d, r14d
add r15d, 0x7e
cmp r15d, dword [rsp + 0x30]
jae 0x180073de5
mov r9, qword [rsp + 0xa8]
jmp 0x180073b68
cmp al, 2
jne case.0x180073bad.66
cmp dword [rcx + 0x314], 0
mov r12d, r14d
jle case.0x180073bad.66
lea r14, [rdx + 2]
mov r9d, 0x6a
mov qword [rsp + 0x50], r14
xor r8d, r8d
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.180006190
mov r9d, 0x6a
mov qword [rsp + 0x48], rbp
xor r8d, r8d
lea rcx, [rsp + 0x48]
xor edx, edx
movzx ebx, ax
call fcn.180006190
add ax, bx
mov qword [rsp + 0x58], r14
lea r9, [rsp + 0x58]
mov word [rsp + 0xb0], ax
xor r8d, r8d
mov dword [rsp + 0x20], 0x103
xor edx, edx
lea rcx, [rsp + 0xb0]
call fcn.18006e120
mov rax, qword [rsi]
add r14, 4
add rbp, 2
inc r12d
cmp r12d, dword [rax + 0x314]
jl 0x180073ce0
jmp 0x180073cad
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x388]
test rax, rax
je 0x180073d88
mov rcx, qword [rsi]
mov rdx, rax
mov rbx, qword [rax + 0x10]
call qword [rax]
mov rax, rbx
test rbx, rbx
jne 0x180073d71
mov rcx, qword [rsi]
mov qword [rcx + 0x388], r14
jmp case.0x180073bad.66
mov dword [rsi], r14d
jmp case.0x180073bad.66
mov r8d, dword [r13]
mov ecx, dword [r9]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__write]
cdqe
mov qword [rsp + 0x38], rax
cmp rax, qword [r13]
jne 0x180073bbe
jmp case.0x180073bad.66
mov eax, r15d
sub eax, 0x17a
je 0x180073dff
sub eax, 0x39
je 0x180073e50
sub eax, 3
je 0x180073e48
sub eax, 0x42
je 0x180073de5
cmp eax, 0x3c
jne case.0x180073bad.66
mov eax, edi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rsi]
mov qword [rax + 0x390], r14
cmp byte [r9], 0
je 0x180073e48
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x398]
test rax, rax
je 0x180073e37
nop
mov rcx, qword [rsi]
mov rdx, rax
mov rbx, qword [rax + 0x10]
call qword [rax]
mov rax, rbx
test rbx, rbx
jne 0x180073e20
mov rcx, qword [rsi]
mov qword [rcx + 0x398], r14
mov rax, qword [rsi]
mov qword [rax + 0x3a0], r14
mov edi, r14d
jmp case.0x180073bad.66
mov eax, r14d
jmp 0x180073de7