Function at 0x140010da4
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 [0x140163470]
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.1400ebf40
lea r8d, [r14 + 0x7e]
lea rcx, [rbp - 0x4e]
xor edx, edx
mov word [rbp - 0x50], r14w
call fcn.1400ebf40
mov edi, r14d
lea ebx, [r14 + 0xa]
mov edx, 0x1d9b6a3b
mov ecx, 0xc9c71024
mov r8d, 0x9f63db84
call fcn.1400015fc
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.14000fd88
test al, al
je 0x140010e98
mov edx, 0xfa6553df
mov ecx, 0x2e392a12
mov r8d, 0x789de24c
call fcn.1400015fc
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 0x140010e75
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 0x140010e85
inc edi
dec ebx
cmp ebx, 8
jge 0x140010e0e
cmp word [rsp + 0x70], r14w
je 0x140011049
mov edx, 0xf4c361cd
mov ecx, 0x209f180e
mov r8d, 0x763bd056
call fcn.1400015fc
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.140011250
lea rdx, [rbp + 0xb0]
mov ecx, 0x23
call fcn.14000fce0
mov edx, 0xa913a438
mov ecx, 0x7d4fde69
mov r8d, 0x2beb15b7
movsxd rbx, eax
call fcn.1400015fc
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 0x14001103c
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 0x140011033
mov cl, byte [rsp + 0x60]
cmp cl, 0x88
jne 0x140010fc1
mov dword [rsp + 0x4c], 1
jmp 0x140010fdf
cmp cl, 0x8b
jne 0x140010fd0
mov dword [rsp + 0x4c], 2
jmp 0x140010fdf
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 0x14001102b
cmp al, 0x8c
je 0x14001102b
cmp al, 0x8d
jne 0x140010ff9
mov dword [rsp + 0x50], 4
jmp 0x140011033
cmp al, 0x8b
jne 0x140011007
mov dword [rsp + 0x50], 2
jmp 0x140011033
cmp al, 0x8a
jne 0x140011012
mov dword [rsp + 0x50], r12d
jmp 0x140011033
cmp al, 0x88
jne 0x140011020
mov dword [rsp + 0x50], 1
jmp 0x140011033
cmp al, 0x89
jne 0x140011033
mov dword [rsp + 0x50], r14d
jmp 0x140011033
mov dword [rsp + 0x50], 5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14001e290
mov eax, edi
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.1400e8bc0
jnp 0x140011066
add byte [rbp + rcx*4 - 0x64], cl
and al, 0xd0
add eax, dword [rax]
add byte [rcx - 0x75], cl
pop rbx
invalid
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret