Function at 0x1400100e0
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 [0x14004c030]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [0x140043fee]
call fcn.140020cdc
test rax, rax
je 0x1400101ab
mov rsi, rax
mov rcx, rax
call fcn.14001cadc
lea rdx, [rsp + 0x30]
mov ecx, eax
call fcn.14001cd1c
test eax, eax
je 0x140010202
mov eax, dword [0x14004fe88]
mov ecx, dword [0x14004cde8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140010345
lea rdx, str.GetManifestContents:_error_stating_manifest_file:__S
mov r8, rdi
call fcn.140013970
xor edi, edi
mov rcx, rsi
call fcn.14002215c
test eax, eax
je 0x1400101e1
mov eax, dword [0x14004fe88]
mov ecx, dword [0x14004cde8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400103c7
lea rdx, str.File_close_did_not_execute_successfully
call fcn.140013970
jmp 0x1400101e1
mov eax, dword [0x14004fe88]
mov ecx, dword [0x14004cde8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140010386
lea rdx, str.GetManifestContents:_error_opening_manifest_file:__S
mov r8, rdi
call fcn.140013970
xor edi, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140027fe0
mov rax, rdi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movsxd r12, dword [rsp + 0x44]
lea rcx, [r12 + 1]
call fcn.140023040
test rax, rax
je 0x14001016a
mov rbx, rax
test r12d, r12d
je 0x140010260
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.14002284c
cmp rax, r15
jne 0x1400102b2
add r14, r15
sub r12, r15
jne 0x14001022b
mov ebp, dword [rsp + 0x44]
inc ebp
jmp 0x140010268
mov ebp, 1
mov r14, rbx
mov byte [r14], 0
movsxd rcx, ebp
add rcx, rcx
call fcn.140023040
test rax, rax
je 0x1400102e6
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 0x1400102eb
mov rcx, rbx
call fcn.140022acc
jmp 0x140010337
mov eax, dword [0x14004fe88]
mov ecx, dword [0x14004cde8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140010408
lea rdx, str.GetManifestContents:_error_reading_manifest_file:__S
mov r8, rdi
call fcn.140013970
mov rcx, rbx
jmp 0x140010330
mov eax, dword [0x14004fe88]
mov ecx, dword [0x14004cde8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140010449
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.GetManifestContents:_error_converting_utf8_to_utf16le:__lu
mov r8d, eax
call fcn.140013970
mov rcx, rbx
call fcn.140022acc
mov rcx, rdi
call fcn.140022acc
xor edi, edi
test rsi, rsi
jne 0x14001016c
jmp 0x1400101e1
lea rcx, [0x14004fe88]
call fcn.140015430
cmp dword [0x14004fe88], 0xffffffff
jne 0x14001015b
mov qword [0x14004fc78], 0
lea rcx, [0x1400086f0]
call fcn.1400155c8
lea rcx, [0x14004fe88]
call fcn.140015498
jmp 0x14001015b
lea rcx, [0x14004fe88]
call fcn.140015430
cmp dword [0x14004fe88], 0xffffffff
jne 0x1400101d0
mov qword [0x14004fc78], 0
lea rcx, [0x1400086f0]
call fcn.1400155c8
lea rcx, [0x14004fe88]
call fcn.140015498
jmp 0x1400101d0
lea rcx, [0x14004fe88]
call fcn.140015430
cmp dword [0x14004fe88], 0xffffffff
jne 0x14001019d
mov qword [0x14004fc78], 0
lea rcx, [0x1400086f0]
call fcn.1400155c8
lea rcx, [0x14004fe88]
call fcn.140015498
jmp 0x14001019d
lea rcx, [0x14004fe88]
call fcn.140015430
cmp dword [0x14004fe88], 0xffffffff
jne 0x1400102d7
mov qword [0x14004fc78], 0
lea rcx, [0x1400086f0]
call fcn.1400155c8
lea rcx, [0x14004fe88]
call fcn.140015498
jmp 0x1400102d7
lea rcx, [0x14004fe88]
call fcn.140015430
cmp dword [0x14004fe88], 0xffffffff
jne 0x140010310
mov qword [0x14004fc78], 0
lea rcx, [0x1400086f0]
call fcn.1400155c8
lea rcx, [0x14004fe88]
call fcn.140015498
jmp 0x140010310