Function at 0x14001cee0
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x2e8]
sub rsp, 0x3d0
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor r14d, r14d
mov rsi, r8
lea rcx, [rsp + 0x72]
lea r8d, [r14 + 0x3e]
xor edx, edx
mov word [rsp + 0x70], r14w
call fcn.1400ea1b0
lea r8d, [r14 + 0x7e]
lea rcx, [rbp - 0x4e]
xor edx, edx
mov word [rbp - 0x50], r14w
call fcn.1400ea1b0
mov edi, r14d
lea ebx, [r14 + 0xa]
mov edx, 0x33d58b59
mov ecx, 0x8bfee788
mov r8d, 0xf4a5b43b
call fcn.140001720
lea rcx, [rbp - 0x50]
mov r8d, ebx
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rbp - 0x50]
mov rcx, 0xffffffff80000002
call fcn.14001bec4
test al, al
je 0x14001cfd4
mov edx, 0x483db5f1
mov ecx, 0xf016daf2
mov r8d, 0x8f4d8abf
call fcn.140001720
lea rcx, [rbp - 0x50]
mov r8d, ebx
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
lea rcx, [rsp + 0x70]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], r14w
jne 0x14001cfb1
lea r8, [rbp - 0x50]
xor edx, edx
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
inc rdx
test ax, ax
jne 0x14001cfc1
inc edi
dec ebx
cmp ebx, 8
jge 0x14001cf4a
cmp word [rsp + 0x70], r14w
je 0x14001d185
mov edx, 0xfc5ddfbf
mov ecx, 0x4476b0b2
mov r8d, 0x3b2de0f9
call fcn.140001720
lea r8, [rsp + 0x72]
lea rcx, [rbp + 0x30]
mov rdx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
or dword [rsp + 0x4c], 0xffffffff
or dword [rsp + 0x50], 0xffffffff
lea rax, [rbp + 0x30]
mov dword [rsp + 0x48], 7
mov qword [rsp + 0x40], rax
call fcn.14001d38c
lea rdx, [rbp + 0xb0]
mov ecx, 0x23
call fcn.14001be1c
mov edx, 0xfe5c665f
mov ecx, 0x46770ac0
mov r8d, 0x392c590d
movsxd rbx, eax
call fcn.140001720
lea rcx, [rbp + 0xb0]
lea rcx, [rcx + rbx*2]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov r12d, 3
mov qword [rsp + 0x30], r14
lea rcx, [rbp + 0xb0]
lea r8d, [r12 - 2]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], r12d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001d178
xor eax, eax
lea r9, [rsp + 0x58]
lea r8d, [r12 + 5]
lea rdx, [rsp + 0x60]
mov rcx, rbx
mov byte [rsp + 0x60], r14b
mov dword [rsp + 0x61], eax
mov word [rsp + 0x65], ax
mov byte [rsp + 0x67], al
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [rsp + 0x58], 8
jne 0x14001d16f
mov cl, byte [rsp + 0x60]
cmp cl, 0x88
jne 0x14001d0fd
mov dword [rsp + 0x4c], 1
jmp 0x14001d11b
cmp cl, 0x8b
jne 0x14001d10c
mov dword [rsp + 0x4c], 2
jmp 0x14001d11b
mov eax, dword [rsp + 0x4c]
cmp cl, 0x8d
cmove eax, r12d
mov dword [rsp + 0x4c], eax
mov al, byte [rsp + 0x64]
cmp al, 0x8f
je 0x14001d167
cmp al, 0x8c
je 0x14001d167
cmp al, 0x8d
jne 0x14001d135
mov dword [rsp + 0x50], 4
jmp 0x14001d16f
cmp al, 0x8b
jne 0x14001d143
mov dword [rsp + 0x50], 2
jmp 0x14001d16f
cmp al, 0x8a
jne 0x14001d14e
mov dword [rsp + 0x50], r12d
jmp 0x14001d16f
cmp al, 0x88
jne 0x14001d15c
mov dword [rsp + 0x50], 1
jmp 0x14001d16f
cmp al, 0x89
jne 0x14001d16f
mov dword [rsp + 0x50], r14d
jmp 0x14001d16f
mov dword [rsp + 0x50], 5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.140016bd0
mov eax, edi
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1400e79e0
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret