Function at 0x485c9e
Capabilities:
Read file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x460
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov eax, 0
mov byte [rbp - 1], al
lea rax, [0x00677e66]
mov qword [rbp - 0x30], rax
mov eax, 2
mov dword [rbp - 0x28], eax
mov eax, 1
mov dword [rbp - 0x24], eax
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x30]
mov r11, rax
lea rax, [rbp - 0x20]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea rax, [rsp + 0x20]
mov ecx, 0x10
mov r8, rcx
lea rcx, [rbp - 0x20]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea rax, [rsp + 0x30]
mov ecx, 0x10
mov r8, rcx
mov rcx, qword [rbp + 0x18]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea r8, [rsp + 0x20]
lea r11, [rsp + 0x30]
lea rax, [rbp - 0x90]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00487de1
mov eax, 0x30
mov r8, rax
lea rax, [rbp - 0x90]
mov r11, rax
lea rax, [rbp - 0x60]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
movzx eax, byte [rbp - 0x60]
cmp eax, 0
je 0x485ddb
movabs rax, 0x28
mov r8, rax
lea rax, [rbp - 0x60]
mov r11, rax
lea rax, [rbp - 0xc8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0x10]
mov ecx, 0x38
mov r8, rcx
lea rcx, [rbp - 0xc8]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x486451
mov rax, qword [rbp - 0x38]
mov qword [rbp - 0x10], rax
mov eax, 1
mov byte [rbp - 1], al
mov rax, qword [rbp - 0x10]
mov r11, rax
lea rax, [rbp - 0x128]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0047a4ce
mov eax, 0x30
mov r8, rax
lea rax, [rbp - 0x128]
mov r11, rax
lea rax, [rbp - 0xf8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
movzx eax, byte [rbp - 0xf8]
cmp eax, 0
je 0x485eaf
movzx eax, byte [rbp - 1]
cmp eax, 0
je 0x485e5a
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_fclose
movabs rax, 0x28
mov r8, rax
lea rax, [rbp - 0xf8]
mov r11, rax
lea rax, [rbp - 0x160]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0x10]
mov ecx, 0x38
mov r8, rcx
lea rcx, [rbp - 0x160]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x486451
mov eax, dword [rbp - 0xd0]
mov dword [rbp - 0x164], eax
mov eax, dword [rbp - 0x164]
cmp eax, 0
jne 0x4860a0
mov rax, qword [rbp - 0x10]
mov r11, rax
lea rax, [rbp - 0x1f8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0047ab9f
mov eax, 0x48
mov r8, rax
lea rax, [rbp - 0x1f8]
mov r11, rax
lea rax, [rbp - 0x1b0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
movzx eax, byte [rbp - 0x1b0]
cmp eax, 0
je 0x485f8e
movzx eax, byte [rbp - 1]
cmp eax, 0
je 0x485f39
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_fclose
movabs rax, 0x28
mov r8, rax
lea rax, [rbp - 0x1b0]
mov r11, rax
lea rax, [rbp - 0x230]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memcpy
mov rax, qword [rbp + 0x10]
mov ecx, 0x38
mov r8, rcx
lea rcx, [rbp - 0x230]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x486451
mov eax, 0x20
mov r8, rax
lea rax, [rbp - 0x188]
mov r11, rax
lea rax, [rbp - 0x250]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea rax, [rbp - 0x250]
mov r11, rax
lea rax, [rbp - 0x270]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0040c0f4
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x270]
mov r11, rax
lea rax, [rbp - 0x260]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea rax, [rbp - 0x250]
mov r10, rax
mov rcx, r10
call fcn.0040c2de
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x260]
mov r11, rax
lea rax, [rbp - 0x2b8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x2a8]
mov r11, rax
lea rax, [rbp - 0x2b8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0043033a
movzx eax, byte [rbp - 1]
cmp eax, 0
je 0x486077
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_fclose
mov rax, qword [rbp + 0x10]
mov ecx, 0x38
mov r8, rcx
lea rcx, [rbp - 0x2a8]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x486451
mov eax, dword [rbp - 0x164]
add eax, 1
movsxd rax, eax
mov r10, rax
mov rcx, r10
call fcn.004273d2
mov qword [rbp - 0x2c0], rax
mov eax, dword [rbp - 0x164]
movsxd rax, eax
mov rcx, qword [rbp - 0x10]
mov r9, rcx
mov r8, rax
movabs rax, 1
mov r11, rax
mov rax, qword [rbp - 0x2c0]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_fread
shl rax, 0x20
shr rax, 0x20
mov dword [rbp - 0x2c4], eax
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_feof
mov dword [rbp - 0x2c8], eax
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_ferror
mov dword [rbp - 0x2cc], eax
mov eax, dword [rbp - 0x2c8]
cmp eax, 0
jne 0x4862bb
mov eax, dword [rbp - 0x2cc]
cmp eax, 0
je 0x4862bb
mov rax, qword [rbp - 0x2c0]
mov r10, rax
mov rcx, r10
call fcn.00428404
mov eax, 1
mov byte [rbp - 0x340], al
movabs rax, 7
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x33f]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
lea rax, str.fread_failed
mov qword [rbp - 0x370], rax
mov eax, 0xc
mov dword [rbp - 0x368], eax
mov eax, 1
mov dword [rbp - 0x364], eax
lea rax, [rsp + 0x20]
mov ecx, 0x10
mov r8, rcx
lea rcx, [rbp - 0x370]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
lea r11, [rsp + 0x20]
lea rax, [rbp - 0x360]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00430adb
mov eax, 0x20
mov r8, rax
lea rax, [rbp - 0x360]
mov r11, rax
lea rax, [rbp - 0x338]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0
mov byte [rbp - 0x318], al
movabs rax, 0xf
mov r8, rax
mov eax, 0
mov r11, rax
lea rax, [rbp - 0x317]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memset
mov eax, 0x38
mov r8, rax
lea rax, [rbp - 0x340]
mov r11, rax
lea rax, [rbp - 0x308]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
movzx eax, byte [rbp - 1]
cmp eax, 0
je 0x486292
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_fclose
mov rax, qword [rbp + 0x10]
mov ecx, 0x38
mov r8, rcx
lea rcx, [rbp - 0x308]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x486451
mov eax, dword [rbp - 0x2c4]
movsxd rax, eax
mov rcx, qword [rbp - 0x2c0]
add rcx, rax
mov eax, 0
mov byte [rcx], al
mov eax, dword [rbp - 0x2c4]
cmp eax, 0
jne 0x486396
mov rax, qword [rbp - 0x2c0]
mov r11, rax
lea rax, [rbp - 0x3c8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00434e9b
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x3c8]
mov r11, rax
lea rax, [rbp - 0x3b8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x3a8]
mov r11, rax
lea rax, [rbp - 0x3b8]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0043033a
movzx eax, byte [rbp - 1]
cmp eax, 0
je 0x48636d
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_fclose
mov rax, qword [rbp + 0x10]
mov ecx, 0x38
mov r8, rcx
lea rcx, [rbp - 0x3a8]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x486451
mov eax, dword [rbp - 0x2c4]
mov r8, rax
mov rax, qword [rbp - 0x2c0]
mov r11, rax
lea rax, [rbp - 0x420]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.00434f12
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x420]
mov r11, rax
lea rax, [rbp - 0x410]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
mov eax, 0x10
mov r8, rax
lea rax, [rbp - 0x400]
mov r11, rax
lea rax, [rbp - 0x410]
mov r10, rax
mov rcx, r10
mov rdx, r11
call fcn.0043033a
movzx eax, byte [rbp - 1]
cmp eax, 0
je 0x486428
mov rax, qword [rbp - 0x10]
mov r10, rax
mov rcx, r10
call sub.msvcrt.dll_fclose
mov rax, qword [rbp + 0x10]
mov ecx, 0x38
mov r8, rcx
lea rcx, [rbp - 0x400]
mov r11, rcx
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.msvcrt.dll_memmove
jmp 0x486451
leave
ret