Function at 0x14000a800
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.14001f3d0
test rax, rax
je 0x14000a88f
mov r12, rax
mov rcx, rax
call fcn.14001bcf0
lea rdx, [rsp + 0x30]
mov ecx, eax
call fcn.14001bf54
test eax, eax
je 0x14000a8d1
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 0x14000aa3d
lea rcx, [0x140048348]
lea rdx, str.GetManifestContents:_error_stating_manifest_file:__S
mov r8, r15
call fcn.14000ec80
jmp 0x14000aa15
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 0x14000aa7e
lea rcx, [0x140048348]
lea rdx, str.GetManifestContents:_error_opening_manifest_file:__S
mov r8, r15
call fcn.14000ec80
xor edi, edi
jmp 0x14000aa1f
movsxd rsi, dword [rsp + 0x44]
lea rcx, [rsi + 1]
call fcn.1400215bc
test rax, rax
je 0x14000aa15
mov r14, rax
mov rbx, rax
test esi, esi
je 0x14000a930
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.140020e34
cmp rax, rdi
jne 0x14000a984
add rbx, rdi
sub rsi, rdi
jne 0x14000a900
mov byte [rbx], 0
movsxd rsi, dword [rsp + 0x44]
lea rcx, [rsi + rsi]
add rcx, 2
call fcn.1400215bc
test rax, rax
je 0x14000a9bf
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 0x14000a9c4
mov rcx, r14
call fcn.1400210e4
jmp 0x14000aa17
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 0x14000aabf
lea rcx, [0x140048348]
lea rdx, str.GetManifestContents:_error_reading_manifest_file:__S
mov r8, r15
call fcn.14000ec80
mov rcx, r14
jmp 0x14000aa10
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 0x14000ab00
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.14000ec80
mov rcx, r14
call fcn.1400210e4
mov rcx, rdi
call fcn.1400210e4
xor edi, edi
mov rcx, r12
call fcn.140020874
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140023e80
mov rax, rdi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000a874
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000a874
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000a8b4
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000a8b4
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000a9a9
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000a9a9
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000a9e9
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000a9e9