Function at 0x14000ac50
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov r15, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, [0x14003da10]
call fcn.14001edb4
test rax, rax
je 0x14000ace1
mov r12, rax
mov rcx, rax
call fcn.14001b4c0
lea rdx, [rsp + 0x38]
mov ecx, eax
call fcn.14001b724
test eax, eax
je 0x14000ad23
mov eax, dword [0x1400480c8]
mov ecx, dword [0x140045e74]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ae8a
lea rcx, [0x140047eb8]
lea rdx, str.GetManifestContents:_error_stating_manifest_file:__S
mov r8, r15
call fcn.140011390
jmp 0x14000ae60
mov eax, dword [0x1400480c8]
mov ecx, dword [0x140045e74]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000aecb
lea rcx, [0x140047eb8]
lea rdx, str.GetManifestContents:_error_opening_manifest_file:__S
mov r8, r15
call fcn.140011390
xor edi, edi
jmp 0x14000ae6a
movsxd rsi, dword [rsp + 0x4c]
lea rcx, [rsi + 1]
call fcn.140020e74
test rax, rax
je 0x14000ae60
mov r14, rax
test esi, esi
je 0x14000ad7e
mov r13d, 0x7fffffff
mov rbx, r14
cmp rsi, r13
mov edi, 0x7fffffff
cmovb rdi, rsi
mov edx, 1
mov rcx, rbx
mov r8, rdi
mov r9, r12
call fcn.1400206ec
cmp rax, rdi
jne 0x14000adcf
add rbx, rdi
sub rsi, rdi
jne 0x14000ad4a
mov esi, dword [rsp + 0x4c]
inc esi
jmp 0x14000ad86
mov esi, 1
mov rbx, r14
mov byte [rbx], 0
movsxd rcx, esi
add rcx, rcx
call fcn.140020e74
test rax, rax
je 0x14000ae0a
mov rdi, rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
mov edx, 8
mov r8, r14
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x14000ae0f
mov rcx, r14
call fcn.14002099c
jmp 0x14000ae62
mov eax, dword [0x1400480c8]
mov ecx, dword [0x140045e74]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000af0c
lea rcx, [0x140047eb8]
lea rdx, str.GetManifestContents:_error_reading_manifest_file:__S
mov r8, r15
call fcn.140011390
mov rcx, r14
jmp 0x14000ae5b
mov eax, dword [0x1400480c8]
mov ecx, dword [0x140045e74]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000af4d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140047eb8]
lea rdx, str.GetManifestContents:_error_converting_utf8_to_utf16le:__d
mov r8d, eax
call fcn.140011390
mov rcx, r14
call fcn.14002099c
mov rcx, rdi
call fcn.14002099c
xor edi, edi
mov rcx, r12
call fcn.140020258
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140023680
mov rax, rdi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [0x1400480c8]
call fcn.140013880
cmp dword [0x1400480c8], 0xffffffff
jne 0x14000acc6
mov qword [0x140047eb8], 0
lea rcx, [0x14000afc0]
call fcn.140013a38
lea rcx, [0x1400480c8]
call fcn.1400138e8
jmp 0x14000acc6
lea rcx, [0x1400480c8]
call fcn.140013880
cmp dword [0x1400480c8], 0xffffffff
jne 0x14000ad06
mov qword [0x140047eb8], 0
lea rcx, [0x14000afc0]
call fcn.140013a38
lea rcx, [0x1400480c8]
call fcn.1400138e8
jmp 0x14000ad06
lea rcx, [0x1400480c8]
call fcn.140013880
cmp dword [0x1400480c8], 0xffffffff
jne 0x14000adf4
mov qword [0x140047eb8], 0
lea rcx, [0x14000afc0]
call fcn.140013a38
lea rcx, [0x1400480c8]
call fcn.1400138e8
jmp 0x14000adf4
lea rcx, [0x1400480c8]
call fcn.140013880
cmp dword [0x1400480c8], 0xffffffff
jne 0x14000ae34
mov qword [0x140047eb8], 0
lea rcx, [0x14000afc0]
call fcn.140013a38
lea rcx, [0x1400480c8]
call fcn.1400138e8
jmp 0x14000ae34