Function at 0x14000dc90
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 [0x140048030]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rdx, [0x140040444]
call fcn.14001edb4
test rax, rax
je 0x14000dd17
mov rsi, rax
mov rcx, rax
call fcn.14001ac1c
lea rdx, [rsp + 0x30]
mov ecx, eax
call fcn.14001ae5c
test eax, eax
je 0x14000dd52
mov eax, dword [0x14004be88]
mov ecx, dword [0x140048de8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000deb0
lea rdx, str.GetManifestContents:_error_stating_manifest_file:__S
mov r8, rdi
call fcn.1400128e0
jmp 0x14000de85
mov eax, dword [0x14004be88]
mov ecx, dword [0x140048de8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000def1
lea rdx, str.GetManifestContents:_error_opening_manifest_file:__S
mov r8, rdi
call fcn.1400128e0
xor edi, edi
jmp 0x14000de8f
movsxd r12, dword [rsp + 0x44]
lea rcx, [r12 + 1]
call fcn.140021118
test rax, rax
je 0x14000de85
mov rbx, rax
test r12d, r12d
je 0x14000ddb0
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.140020924
cmp rax, r15
jne 0x14000de02
add r14, r15
sub r12, r15
jne 0x14000dd7b
mov ebp, dword [rsp + 0x44]
inc ebp
jmp 0x14000ddb8
mov ebp, 1
mov r14, rbx
mov byte [r14], 0
movsxd rcx, ebp
add rcx, rcx
call fcn.140021118
test rax, rax
je 0x14000de36
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 0x14000de3b
mov rcx, rbx
call fcn.140020ba4
jmp 0x14000de87
mov eax, dword [0x14004be88]
mov ecx, dword [0x140048de8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000df32
lea rdx, str.GetManifestContents:_error_reading_manifest_file:__S
mov r8, rdi
call fcn.1400128e0
mov rcx, rbx
jmp 0x14000de80
mov eax, dword [0x14004be88]
mov ecx, dword [0x140048de8]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000df73
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.GetManifestContents:_error_converting_utf8_to_utf16le:__lu
mov r8d, eax
call fcn.1400128e0
mov rcx, rbx
call fcn.140020ba4
mov rcx, rdi
call fcn.140020ba4
xor edi, edi
mov rcx, rsi
call fcn.140020234
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140025ef0
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, [0x14004be88]
call fcn.1400135f0
cmp dword [0x14004be88], 0xffffffff
jne 0x14000dd03
mov qword [0x14004bc78], 0
lea rcx, [0x140003a50]
call fcn.140013788
lea rcx, [0x14004be88]
call fcn.140013658
jmp 0x14000dd03
lea rcx, [0x14004be88]
call fcn.1400135f0
cmp dword [0x14004be88], 0xffffffff
jne 0x14000dd3c
mov qword [0x14004bc78], 0
lea rcx, [0x140003a50]
call fcn.140013788
lea rcx, [0x14004be88]
call fcn.140013658
jmp 0x14000dd3c
lea rcx, [0x14004be88]
call fcn.1400135f0
cmp dword [0x14004be88], 0xffffffff
jne 0x14000de27
mov qword [0x14004bc78], 0
lea rcx, [0x140003a50]
call fcn.140013788
lea rcx, [0x14004be88]
call fcn.140013658
jmp 0x14000de27
lea rcx, [0x14004be88]
call fcn.1400135f0
cmp dword [0x14004be88], 0xffffffff
jne 0x14000de60
mov qword [0x14004bc78], 0
lea rcx, [0x140003a50]
call fcn.140013788
lea rcx, [0x14004be88]
call fcn.140013658
jmp 0x14000de60