Function at 0x14000d570
Capabilities:
Read file via mapping

Disassembly:
mov dword [rsp + 8], ecx
sub rsp, 0x98
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x80], eax
cmp dword [rsp + 0x80], 1
je 0x14000d708
cmp dword [rsp + 0x80], 3
je 0x14000d608
cmp dword [rsp + 0x80], 3
jle 0x14000d82e
cmp dword [rsp + 0x80], 5
jle 0x14000d5d5
cmp dword [rsp + 0x80], 6
je 0x14000d829
jmp 0x14000d82e
cmp dword [rsp + 0xa0], 4
jne 0x14000d5ec
mov dword [rsp + 0x84], 1
jmp 0x14000d5f7
mov dword [rsp + 0x84], 0
mov ecx, dword [rsp + 0x84]
call fcn.14000d4c0
jmp 0x14000d82e
lea r8, [0x140035890]
xor edx, edx
mov ecx, 6
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x14000d630
xor eax, eax
jmp 0x14000d830
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x14000d66e
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14000d830
lea rcx, [rsp + 0x30]
call fcn.140020880
nop
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
jmp 0x14000d693
mov rax, qword [rsp + 0x48]
add rax, 0x14
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
movzx eax, word [rax]
test eax, eax
je 0x14000d6cc
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x10], 0
je 0x14000d6bb
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140021090
jmp 0x14000d6ca
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140021670
jmp 0x14000d685
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1000
mov ecx, 0x8000000
call qword [sym.imp.SHELL32.dll_SHChangeNotify]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x30]
call fcn.1400208b0
jmp 0x14000d82e
call fcn.14001dcc0
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.14001ec20
nop
lea rcx, [rsp + 0x60]
call fcn.14000a4a0
test eax, eax
je 0x14000d744
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x60]
call fcn.14000c8b0
mov eax, dword [rsp + 0x68]
jmp 0x14000d830
lea rcx, [rsp + 0x60]
call fcn.14000a6a0
lea rdx, [0x1400358e0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x14000d786
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0x60]
call fcn.14000c8b0
mov eax, dword [rsp + 0x6c]
jmp 0x14000d830
lea rcx, [rsp + 0x58]
call fcn.14001a5d0
nop
lea rcx, [rsp + 0x58]
call fcn.14000a0e0
mov r8, rax
lea rdx, [0x140034900]
lea rcx, [0x1400348f0]
call qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14000a6a0
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
call qword [rax + 0x20]
test eax, eax
je 0x14000d804
call fcn.14000d370
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x58]
call fcn.1400099e0
nop
lea rcx, [rsp + 0x60]
call fcn.14000c8b0
mov eax, dword [rsp + 0x70]
jmp 0x14000d830
mov dword [rsp + 0x74], 1
lea rcx, [rsp + 0x58]
call fcn.1400099e0
nop
lea rcx, [rsp + 0x60]
call fcn.14000c8b0
mov eax, dword [rsp + 0x74]
jmp 0x14000d830
call fcn.14001db50
xor eax, eax
add rsp, 0x98
ret