Function at 0x180003aa0
Capabilities:
Read file via mapping

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x118
mov qword [rsp + 0xb8], 0xfffffffffffffffe
lea rcx, [rsp + 0x30]
call fcn.180001700
nop
cmp dword [rsp + 0x138], 0
jne 0x180003b65
lea rcx, [rsp + 0x58]
call fcn.18001a3e0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
xor r8d, r8d
lea rdx, [0x1800753f0]
lea rcx, [rsp + 0x60]
call fcn.180041660
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.18000b4f0
mov r8, qword [rsp + 0xc8]
mov r8, qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x60]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x58]
call fcn.1800017c0
jmp 0x180003bee
lea rcx, [rsp + 0x68]
call fcn.18001a3e0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
xor r8d, r8d
lea rdx, [0x180075440]
lea rcx, [rsp + 0x70]
call fcn.180041660
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.18000b4f0
mov r8, qword [rsp + 0xe8]
mov r8, qword [r8]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1800053c0
nop
lea rcx, [rsp + 0x70]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x68]
call fcn.1800017c0
lea r8, [rsp + 0x30]
lea rdx, [0x180075488]
lea rcx, [rsp + 0x78]
call fcn.180004d70
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
mov rdx, qword [rsp + 0x108]
lea rcx, [rsp + 0x30]
call fcn.180002bf0
nop
lea rcx, [rsp + 0x78]
call fcn.1800017c0
lea rcx, [rsp + 0x30]
call fcn.18000b4f0
mov r8, rax
xor edx, edx
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x180003dfc
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 4
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x180003df1
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 4]
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x40]
add rax, 8
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x138], 0
jne 0x180003d59
cmp qword [0x1800a00e8], 0
je 0x180003cdd
mov eax, dword [0x1800a00f4]
cmp dword [rsp + 0x4c], eax
je 0x180003d54
cmp qword [0x1800a00e8], 0
je 0x180003d0e
mov rax, qword [0x1800a00e8]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.18004f750
mov qword [0x1800a00e8], 0
mov ecx, dword [rsp + 0x48]
call fcn.18004f654
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [0x1800a00e8], rax
mov ecx, dword [rsp + 0x48]
mov rdi, qword [0x1800a00e8]
mov rsi, qword [rsp + 0x50]
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x48]
mov dword [0x1800a00f0], eax
mov eax, dword [rsp + 0x4c]
mov dword [0x1800a00f4], eax
jmp 0x180003de6
cmp qword [0x1800a00f8], 0
je 0x180003d6f
mov eax, dword [0x1800a0104]
cmp dword [rsp + 0x4c], eax
je 0x180003de6
cmp qword [0x1800a00f8], 0
je 0x180003da0
mov rax, qword [0x1800a00f8]
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.18004f750
mov qword [0x1800a00f8], 0
mov ecx, dword [rsp + 0x48]
call fcn.18004f654
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [0x1800a00f8], rax
mov ecx, dword [rsp + 0x48]
mov rdi, qword [0x1800a00f8]
mov rsi, qword [rsp + 0x50]
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x48]
mov dword [0x1800a0100], eax
mov eax, dword [rsp + 0x4c]
mov dword [0x1800a0104], eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x138], 0
jne 0x180003e46
cmp qword [rsp + 0x130], 0
je 0x180003e21
mov rcx, qword [rsp + 0x130]
mov eax, dword [0x1800a00f0]
mov dword [rcx], eax
mov rax, qword [0x1800a00e8]
mov qword [rsp + 0xa0], rax
lea rcx, [rsp + 0x30]
call fcn.1800017c0
mov rax, qword [rsp + 0xa0]
jmp 0x180003ea2
cmp qword [rsp + 0x130], 0
je 0x180003e61
mov rcx, qword [rsp + 0x130]
mov eax, dword [0x1800a0100]
mov dword [rcx], eax
mov rax, qword [0x1800a00f8]
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x30]
call fcn.1800017c0
mov rax, qword [rsp + 0xa8]
jmp 0x180003ea2
add rsp, 0x118
pop rdi
pop rsi
ret