Function at 0x14000a3a0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x140018020]
xor rax, rsp
mov qword [rbp - 0x10], rax
test rcx, rcx
lea rax, [0x140010470]
mov edx, 0x80000000
cmovne rax, rcx
xor edi, edi
xor r9d, r9d
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 3]
mov rcx, rax
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
xor eax, eax
mov byte [rbp - 0x1c], dil
mov dword [rbp - 0x1b], eax
mov word [rbp - 0x17], ax
cmp rbx, 0xffffffffffffffff
je 0x14000a432
lea r9, [rbp - 0x20]
lea r8d, [rdi + 6]
lea rdx, [rbp - 0x1c]
mov rcx, rbx
mov dword [rbp - 0x20], edi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov byte [rbp - 0x16], dil
lea rsi, [rbp - 0x1c]
lea rdi, str.MC0.0
mov ecx, 6
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1.2
mov ecx, 6
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1.40
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1.50
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC2.10
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC2.20
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC2.21
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC2.22
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1001
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1002
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1003
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1004
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1005
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1006
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1007
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1008
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1009
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1010
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1011
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1012
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1013
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1014
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
lea rsi, [rbp - 0x1c]
lea rdi, str.AC1500
mov ecx, 7
repe cmpsb byte [rsi], byte [rdi]
je 0x14000a658
cmp rbx, 0xffffffffffffffff
je 0x14000a651
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x14000a669
cmp rbx, 0xffffffffffffffff
je 0x14000a667
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000c160
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret