Function at 0x417290
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rax, qword [rbp + 0x10]
add rax, 2
movzx ecx, word [rax]
and ecx, 0xff00
cmp ecx, 0x100
jne 0x4174aa
mov rax, qword [rbp + 0x10]
add rax, 0x70
mov rcx, qword [rbp + 0x10]
add rcx, 0xa0
mov rdx, qword [rbp + 0x10]
add rdx, 8
mov qword [rbp - 0x28], rax
mov eax, dword [rbp + 0x28]
mov qword [rbp - 0x30], rcx
movzx ecx, word [rdx]
imul eax, ecx
mov ecx, dword [rbp + 0x20]
add ecx, eax
movsxd rcx, ecx
shl rcx, 2
mov rax, qword [rbp - 0x30]
mov rax, qword [rax]
add rax, rcx
mov ecx, 0
mov r9, rcx
movabs rcx, 0
mov r8, rcx
mov ecx, dword [rax]
mov r11, rcx
mov rax, qword [rbp - 0x28]
mov rax, qword [rax]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_SetFilePointer
mov rax, qword [rbp + 0x10]
add rax, 0x70
mov rcx, qword [rbp + 0x10]
add rcx, 0x78
mov rdx, qword [rbp + 0x10]
add rdx, 0xa8
mov qword [rbp - 0x38], rax
mov rax, qword [rbp + 0x10]
add rax, 8
mov qword [rbp - 0x40], rcx
mov ecx, dword [rbp + 0x28]
mov qword [rbp - 0x48], rdx
movzx edx, word [rax]
imul ecx, edx
mov eax, dword [rbp + 0x20]
add eax, ecx
movsxd rax, eax
shl rax, 2
mov rcx, qword [rbp - 0x48]
mov rcx, qword [rcx]
add rcx, rax
movabs rax, 0
mov qword [rsp + 0x20], rax
lea rax, [rbp - 0x1c]
mov r9, rax
mov eax, dword [rcx]
mov r8, rax
mov rax, qword [rbp - 0x40]
mov rax, qword [rax]
mov r11, rax
mov rax, qword [rbp - 0x38]
mov rax, qword [rax]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_ReadFile
mov rax, qword [rbp + 0x10]
add rax, 0x78
mov rcx, qword [rax]
mov qword [rbp - 8], rcx
mov rax, qword [rbp + 0x18]
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
mov rcx, rax
add rax, 1
mov qword [rbp - 8], rax
movzx eax, byte [rcx]
mov byte [rbp - 0x11], al
movzx eax, byte [rbp - 0x11]
and eax, 0x7f
mov dword [rbp - 0x18], eax
mov eax, dword [rbp - 0x18]
cmp eax, 0
je 0x417408
jmp 0x41740d
jmp 0x417566
movzx eax, byte [rbp - 0x11]
and eax, 0x80
cmp eax, 0
je 0x41745f
mov eax, dword [rbp - 0x18]
mov rcx, rax
add eax, 0xffffffff
mov dword [rbp - 0x18], eax
cmp ecx, 0
je 0x41745a
mov rax, qword [rbp - 0x10]
mov rcx, rax
add rax, 1
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 8]
mov rdx, rax
add rax, 1
mov qword [rbp - 8], rax
movzx eax, byte [rdx]
mov byte [rcx], al
jmp 0x417420
jmp 0x4174a0
mov rax, qword [rbp - 8]
mov rcx, rax
add rax, 1
mov qword [rbp - 8], rax
movzx eax, byte [rcx]
mov byte [rbp - 0x11], al
mov eax, dword [rbp - 0x18]
mov rcx, rax
add eax, 0xffffffff
mov dword [rbp - 0x18], eax
cmp ecx, 0
je 0x4174a0
mov rax, qword [rbp - 0x10]
mov rcx, rax
add rax, 1
mov qword [rbp - 0x10], rax
movzx eax, byte [rbp - 0x11]
mov byte [rcx], al
jmp 0x417474
jmp 0x4173d8
mov rax, qword [rbp + 0x10]
add rax, 0x70
mov rcx, qword [rbp + 0x10]
add rcx, 6
mov edx, dword [rbp + 0x20]
mov qword [rbp - 0x50], rax
movzx eax, word [rcx]
imul edx, eax
add edx, 0x200
mov rax, qword [rbp + 0x10]
add rax, 6
mov ecx, dword [rbp + 0x28]
mov qword [rbp - 0x58], rdx
movzx edx, word [rax]
imul ecx, edx
mov rax, qword [rbp + 0x10]
add rax, 8
movzx edx, word [rax]
imul ecx, edx
mov eax, dword [rbp - 0x58]
add eax, ecx
mov ecx, 0
mov r9, rcx
movabs rcx, 0
mov r8, rcx
mov r11, rax
mov rax, qword [rbp - 0x50]
mov rax, qword [rax]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_SetFilePointer
mov rax, qword [rbp + 0x10]
add rax, 0x70
mov rcx, qword [rbp + 0x10]
add rcx, 6
movabs rdx, 0
mov qword [rsp + 0x20], rdx
lea rdx, [rbp - 0x1c]
mov r9, rdx
movzx edx, word [rcx]
mov r8, rdx
mov rcx, qword [rbp + 0x18]
mov r11, rcx
mov rcx, qword [rax]
mov r10, rcx
mov rcx, r10
mov rdx, r11
call sub.kernel32.dll_ReadFile
leave
ret