Function at 0x14000aa20
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, rcx
mov rax, qword [0x140049030]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [0x1400412ec]
call fcn.14001f324
test rax, rax
je 0x14000aab2
mov rsi, rax
mov rcx, rax
call fcn.14001b18c
lea rdx, [rsp + 0x30]
mov ecx, eax
call fcn.14001b3cc
test eax, eax
je 0x14000aaf4
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ac60
lea rcx, [0x14004bfb8]
lea rdx, str.GetManifestContents:_error_stating_manifest_file:__S
mov r8, rdi
call fcn.1400117c0
jmp 0x14000ac35
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000aca1
lea rcx, [0x14004bfb8]
lea rdx, str.GetManifestContents:_error_opening_manifest_file:__S
mov r8, rdi
call fcn.1400117c0
xor edi, edi
jmp 0x14000ac3f
movsxd r12, dword [rsp + 0x44]
lea rcx, [r12 + 1]
call fcn.140021688
test rax, rax
je 0x14000ac35
mov rbx, rax
test r12d, r12d
je 0x14000ab52
mov r13d, 0x7fffffff
mov r14, rbx
cmp r12, r13
mov r15d, 0x7fffffff
cmovb r15, r12
mov edx, 1
mov rcx, r14
mov r8, r15
mov r9, rsi
call fcn.140020e94
cmp rax, r15
jne 0x14000aba4
add r14, r15
sub r12, r15
jne 0x14000ab1d
mov ebp, dword [rsp + 0x44]
inc ebp
jmp 0x14000ab5a
mov ebp, 1
mov r14, rbx
mov byte [r14], 0
movsxd rcx, ebp
add rcx, rcx
call fcn.140021688
test rax, rax
je 0x14000abdf
mov rdi, rax
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
mov edx, 8
mov r8, rbx
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14000abe4
mov rcx, rbx
call fcn.140021114
jmp 0x14000ac37
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ace2
lea rcx, [0x14004bfb8]
lea rdx, str.GetManifestContents:_error_reading_manifest_file:__S
mov r8, rdi
call fcn.1400117c0
mov rcx, rbx
jmp 0x14000ac30
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ad23
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x14004bfb8]
lea rdx, str.GetManifestContents:_error_converting_utf8_to_utf16le:__lu
mov r8d, eax
call fcn.1400117c0
mov rcx, rbx
call fcn.140021114
mov rcx, rdi
call fcn.140021114
xor edi, edi
mov rcx, rsi
call fcn.1400207a4
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140026460
mov rax, rdi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x14000aa97
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x14000aa97
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x14000aad7
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x14000aad7
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x14000abc9
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x14000abc9
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x14000ac09
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x14000ac09