Function at 0x14000a8d0
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov r15, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [0x14003d8bc]
call fcn.14001f530
test rax, rax
je 0x14000a95f
mov r12, rax
mov rcx, rax
call fcn.14001be50
lea rdx, [rsp + 0x30]
mov ecx, eax
call fcn.14001c0b4
test eax, eax
je 0x14000a9a1
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ab0d
lea rcx, [0x140048348]
lea rdx, str.GetManifestContents:_error_stating_manifest_file:__S
mov r8, r15
call fcn.14000ed50
jmp 0x14000aae5
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ab4e
lea rcx, [0x140048348]
lea rdx, str.GetManifestContents:_error_opening_manifest_file:__S
mov r8, r15
call fcn.14000ed50
xor edi, edi
jmp 0x14000aaef
movsxd rsi, dword [rsp + 0x44]
lea rcx, [rsi + 1]
call fcn.14002171c
test rax, rax
je 0x14000aae5
mov r14, rax
mov rbx, rax
test esi, esi
je 0x14000aa00
mov rbx, r14
nop word cs:[rax + rax]
nop
cmp rsi, 0x7fffffff
mov edi, 0x7fffffff
cmovb rdi, rsi
mov edx, 1
mov rcx, rbx
mov r8, rdi
mov r9, r12
call fcn.140020f94
cmp rax, rdi
jne 0x14000aa54
add rbx, rdi
sub rsi, rdi
jne 0x14000a9d0
mov byte [rbx], 0
movsxd rsi, dword [rsp + 0x44]
lea rcx, [rsi + rsi]
add rcx, 2
call fcn.14002171c
test rax, rax
je 0x14000aa8f
mov rdi, rax
add rsi, 1
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 0x14000aa94
mov rcx, r14
call fcn.140021244
jmp 0x14000aae7
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ab8f
lea rcx, [0x140048348]
lea rdx, str.GetManifestContents:_error_reading_manifest_file:__S
mov r8, r15
call fcn.14000ed50
mov rcx, r14
jmp 0x14000aae0
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000abd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140048348]
lea rdx, str.GetManifestContents:_error_converting_utf8_to_utf16le:__d
mov r8d, eax
call fcn.14000ed50
mov rcx, r14
call fcn.140021244
mov rcx, rdi
call fcn.140021244
xor edi, edi
mov rcx, r12
call fcn.1400209d4
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140023fe0
mov rax, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x140048558]
call fcn.140014020
cmp dword [0x140048558], 0xffffffff
jne 0x14000a944
mov qword [0x140048348], 0
lea rcx, [0x14000ac50]
call fcn.1400141d8
lea rcx, [0x140048558]
call fcn.140014088
jmp 0x14000a944
lea rcx, [0x140048558]
call fcn.140014020
cmp dword [0x140048558], 0xffffffff
jne 0x14000a984
mov qword [0x140048348], 0
lea rcx, [0x14000ac50]
call fcn.1400141d8
lea rcx, [0x140048558]
call fcn.140014088
jmp 0x14000a984
lea rcx, [0x140048558]
call fcn.140014020
cmp dword [0x140048558], 0xffffffff
jne 0x14000aa79
mov qword [0x140048348], 0
lea rcx, [0x14000ac50]
call fcn.1400141d8
lea rcx, [0x140048558]
call fcn.140014088
jmp 0x14000aa79
lea rcx, [0x140048558]
call fcn.140014020
cmp dword [0x140048558], 0xffffffff
jne 0x14000aab9
mov qword [0x140048348], 0
lea rcx, [0x14000ac50]
call fcn.1400141d8
lea rcx, [0x140048558]
call fcn.140014088
jmp 0x14000aab9