Function at 0x180003eb0
Capabilities:
Read file via mapping

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xf8
mov qword [rsp + 0x98], 0xfffffffffffffffe
lea rcx, [rsp + 0x30]
call fcn.180001700
nop
cmp dword [rsp + 0x120], 0
jne 0x180003f9c
lea rcx, [rsp + 0x68]
call fcn.18001a3e0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
xor r8d, r8d
lea rdx, str.6425fa68b2ec4afbc71fe620ff957239
lea rcx, [rsp + 0x70]
call fcn.180041660
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.18000b4f0
mov r8, qword [rsp + 0xa8]
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
cmp qword [0x1800a0108], 0
je 0x180003f97
mov rcx, qword [0x1800a0108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1800a0108], 0
jmp 0x18000404d
lea rcx, [rsp + 0x78]
call fcn.18001a3e0
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc8], rax
xor r8d, r8d
lea rdx, str.6425fa68b2ec4afb02499be5b5c5b2c5
lea rcx, [rsp + 0x80]
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 + 0x80]
call fcn.1800017c0
nop
lea rcx, [rsp + 0x78]
call fcn.1800017c0
cmp qword [0x1800a0110], 0
je 0x18000404d
mov rcx, qword [0x1800a0110]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1800a0110], 0
lea r8, [rsp + 0x30]
lea rdx, [0x180075538]
lea rcx, [rsp + 0x88]
call fcn.180004d70
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x30]
call fcn.180002bf0
nop
lea rcx, [rsp + 0x88]
call fcn.1800017c0
mov eax, dword [rsp + 0x118]
add rax, 8
mov dword [rsp + 0x58], eax
lea rcx, [rsp + 0x40]
call fcn.180011eb0
lea rcx, [rsp + 0x30]
call fcn.18000b4f0
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov r8d, 4
lea rdx, [rsp + 0x40]
mov rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x18000418c
mov eax, dword [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 6
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x180004168
mov rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x118]
mov dword [rcx], eax
call fcn.18000e540
mov edx, eax
mov rax, qword [rsp + 0x60]
mov dword [rax + 4], edx
mov ecx, dword [rsp + 0x118]
mov rdi, qword [rsp + 0x60]
add rdi, 8
mov rsi, qword [rsp + 0x110]
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
cmp dword [rsp + 0x120], 0
jne 0x180004180
mov rax, qword [rsp + 0x38]
mov qword [0x1800a0108], rax
jmp 0x18000418c
mov rax, qword [rsp + 0x38]
mov qword [0x1800a0110], rax
mov dword [rsp + 0x90], 0
lea rcx, [rsp + 0x30]
call fcn.1800017c0
mov eax, dword [rsp + 0x90]
add rsp, 0xf8
pop rdi
pop rsi
ret