Function at 0x14011f6b0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r14
sub rsp, 0x70
mov rax, qword [0x140377790]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0xc0]
mov rax, rdx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
lea rdx, [0x140327fe8]
mov r12d, r9d
mov dword [rcx], ebx
mov rcx, rax
mov r13, r8
call sub.MSVCR90.dll_fopen
mov rbp, rax
test rax, rax
jne 0x14011f705
lea eax, [rbx + 1]
jmp 0x14011fccb
mov edx, 1
lea rcx, [rsp + 0x34]
mov r9, rax
lea r8d, [rdx + 3]
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0x68], rdi
call sub.MSVCR90.dll_fread
lea rsi, [rsp + 0x34]
lea rdi, [0x1403288a0]
mov ecx, 4
repe cmpsb byte [rsi], byte [rdi]
jne 0x14011f75a
mov edx, 1
lea rcx, [rsp + 0x24]
mov r9, rbp
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
cmp dword [rsp + 0x24], 0xa
je 0x14011f764
mov eax, 1
jmp 0x14011fcbe
lea rcx, [rsp + 0x2c]
mov r8d, r12d
mov rdx, r13
mov qword [rsp + 0x60], r15
call fcn.14011bfb0
mov r15d, dword [rsp + 0x2c]
lea eax, [r15 - 1]
cmp eax, 9
ja 0x14011f796
lea r12, [0x140e26ea0]
cdqe
mov r12, qword [r12 + rax*8]
jmp 0x14011f799
mov r12, rbx
mov edx, 1
lea rcx, [rsp + 0x48]
mov r9, rbp
lea r8d, [rdx + 9]
call sub.MSVCR90.dll_fread
lea rdx, [rsp + 0x48]
mov rdi, r12
sub rdi, rdx
nop word [rax + rax]
movzx ecx, byte [rdx]
movzx eax, byte [rdx + rdi]
sub ecx, eax
jne 0x14011f7d2
inc rdx
test eax, eax
jne 0x14011f7c0
test ecx, ecx
jne 0x14011f82f
lea edx, [rcx + 1]
lea r8d, [rcx + 4]
lea rcx, [rsp + 0x24]
mov r9, rbp
call sub.MSVCR90.dll_fread
mov edx, dword [r12 + 0xc]
cmp dword [rsp + 0x24], edx
jne 0x14011f82f
mov edx, 1
lea rcx, [r12 + 0x10]
mov r9, rbp
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [rsp + 0x38]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
movsxd rdx, dword [rsp + 0x38]
cmp edx, dword [rsp + 0xc8]
je 0x14011f841
mov ecx, r15d
call fcn.14011f540
mov eax, 1
jmp 0x14011fcb9
mov r8, rdx
mov r9, rbp
mov rcx, r14
mov edx, 1
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [rsp + 0x28]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [r12 + 0x20]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
cmp dword [r12 + 0x20], ebx
mov r13d, ebx
jle 0x14011fa53
lea rbx, [r12 + 0x34]
nop dword [rax]
mov edx, 1
movsxd rdi, r13d
mov r9, rbp
lea r8d, [rdx + 3]
imul rdi, rdi, 0x8ca0
lea rcx, [rdi + r12 + 0x28]
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [rdi + r12 + 0x2c]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [rdi + r12 + 0x30]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [rdi + r12 + 0x34]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
mov ecx, dword [rbx - 8]
sub ecx, 2
je 0x14011f98c
cmp ecx, 1
jne 0x14011fa3c
lea rcx, [rdi + r12 + 0x90]
mov r9, rbp
mov edx, 1
mov r8d, 0x8c08
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [rdi + r12 + 0x8c98]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
mov edx, dword [rbx]
lea ecx, [rdx + rdx*2]
shl ecx, 2
call fcn.14014a890
mov ecx, dword [rbx]
mov r9, rbp
lea edx, [rcx + rcx*2]
mov rcx, rax
mov qword [rbx + 0x8c8c], rax
movsxd r8, edx
mov edx, 1
shl r8, 2
call sub.MSVCR90.dll_fread
jmp 0x14011fa3c
mov edx, 1
lea rcx, [rdi + r12 + 0x44]
mov r9, rbp
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [rdi + r12 + 0x48]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [rdi + r12 + 0x4c]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [rdi + r12 + 0x50]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
mov edx, 1
lea rcx, [rdi + r12 + 0x54]
lea r8d, [rdx + 3]
mov r9, rbp
call sub.MSVCR90.dll_fread
mov esi, dword [rbx + 0x10]
mov edi, dword [rbx + 0x1c]
mov eax, esi
cdq
idiv edi
mov ecx, eax
mov dword [rbx + 0x24], eax
imul ecx, edi
cmp ecx, esi
jge 0x14011fa16
inc eax
mov dword [rbx + 0x24], eax
mov esi, dword [rbx + 0x14]
mov edi, dword [rbx + 0x20]
mov eax, esi
cdq
idiv edi
mov ecx, eax
mov dword [rbx + 0x28], eax
imul ecx, edi
cmp ecx, esi
jge 0x14011fa32
inc eax
mov dword [rbx + 0x28], eax
mov eax, dword [rbx + 0x28]
imul eax, dword [rbx + 0x24]
mov dword [rbx + 0x2c], eax
inc r13d
add rbx, 0x8ca0
cmp r13d, dword [r12 + 0x20]
jl 0x14011f8b0
xor ebx, ebx
mov edx, 1
lea rcx, [rsp + 0x20]
mov r9, rbp
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov edx, dword [rsp + 0x20]
mov r8d, 1
mov ecx, r15d
call fcn.14011c2b0
movsxd r8, dword [r12 + 0x1b7780]
mov rcx, qword [r12 + 0x1b7790]
mov r9, rbp
mov edx, 1
call sub.MSVCR90.dll_fread
movsxd r8, dword [r12 + 0x1b7780]
mov rdx, qword [r12 + 0x1b7790]
mov rcx, qword [r12 + 0x1b77a0]
call sub.MSVCR90.dll_memcpy
movsxd r8, dword [rsp + 0x20]
mov rcx, qword [r12 + 0x18]
mov r9, rbp
mov edx, 1
call sub.MSVCR90.dll_fread
mov edx, dword [rsp + 0x28]
lea rcx, [r12 + 0x1b7768]
mov dword [r12 + 0x1b7788], edx
mov eax, dword [rsp + 0x28]
mov edx, 1
mov dword [r12 + 0x1b779c], eax
mov eax, dword [rsp + 0x20]
lea r8d, [rdx + 3]
mov dword [r12 + 0x1b77b8], eax
mov eax, dword [rsp + 0x30]
mov r9, rbp
mov dword [r12 + 0x1b77bc], eax
call sub.MSVCR90.dll_fread
mov ecx, dword [r12 + 0x1b7768]
mov dword [r12 + 0x1b776c], ecx
imul ecx, ecx, 0x2c
call fcn.14014a890
cmp dword [r12 + 0x1b7768], 0
mov qword [r12 + 0x1b7770], rax
jle 0x14011fca7
mov r13, rbx
nop word [rax + rax]
mov rax, qword [r12 + 0x1b7770]
mov edx, 1
movsxd rdi, ebx
lea r8d, [rdx + 3]
mov r9, rbp
imul rdi, rdi, 0x2c
lea rcx, [rdi + rax]
call sub.MSVCR90.dll_fread
mov rdx, qword [r12 + 0x1b7770]
mov r9, rbp
lea rcx, [rdi + rdx + 4]
mov edx, 1
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov rdx, qword [r12 + 0x1b7770]
mov r9, rbp
lea rcx, [rdi + rdx + 8]
mov edx, 1
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov rdx, qword [r12 + 0x1b7770]
mov r9, rbp
lea rcx, [rdi + rdx + 0xc]
mov edx, 1
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov rdx, qword [r12 + 0x1b7770]
mov r9, rbp
lea rcx, [rdi + rdx + 0x10]
mov edx, 1
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov rdx, qword [r12 + 0x1b7770]
mov r9, rbp
lea rcx, [rdi + rdx + 0x14]
mov edx, 1
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov rdx, qword [r12 + 0x1b7770]
mov r9, rbp
lea rcx, [rdi + rdx + 0x1c]
mov edx, 1
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov rdx, qword [r12 + 0x1b7770]
mov r9, rbp
lea rcx, [rdi + rdx + 0x20]
mov edx, 1
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov rdx, qword [r12 + 0x1b7770]
mov r9, rbp
lea rcx, [rdi + rdx + 0x24]
mov edx, 1
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov rdx, qword [r12 + 0x1b7770]
mov r9, rbp
lea rcx, [rdi + rdx + 0x28]
mov edx, 1
lea r8d, [rdx + 3]
call sub.MSVCR90.dll_fread
mov rdx, qword [r12 + 0x1b7770]
inc ebx
mov dword [rdx + r13 + 0x18], 1
add r13, 0x2c
cmp ebx, dword [r12 + 0x1b7768]
jl 0x14011fb50
mov rcx, rbp
call sub.MSVCR90.dll_fclose
mov rdx, qword [rsp + 0x40]
xor eax, eax
mov dword [rdx], r15d
mov r15, qword [rsp + 0x60]
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140291ec0
add rsp, 0x70
pop r14
pop r13
pop r12
pop rbp
pop rbx
ret