Function at 0x1000da20
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
call fcn.1000e3e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0
push 0
mov dword [0x1004e60c], eax
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [0x1004eaf4], eax
call fcn.1000d970
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push 0x1004f5a0
push 0x2939
push 0
push 4
push 0
push 0xffffffffffffffff
mov byte [ebp - 1], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push 0
push 0
push 0
push 0xf001f
push eax
mov dword [0x10059ef0], eax
call edi
mov dword [0x1004f598], eax
test eax, eax
je 0x1000dc46
call fcn.10009020
mov eax, dword [0x1004f598]
mov ecx, dword [eax + 0x11b]
push 0x1004f54c
push ecx
push 0
push 4
push 0
push 0xffffffffffffffff
call esi
push 0
push 0
push 0
push 0xf001f
push eax
mov dword [0x10059ef4], eax
call edi
mov dword [0x10059eec], eax
test eax, eax
je 0x1000dc46
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0x1004f670
push 0
push 0
call edi
mov esi, eax
test esi, esi
je 0x1000db4d
call fcn.10025930
test eax, eax
je 0x1000db4d
push 0
lea edx, [ebp - 0xc]
push edx
push 1
push str.S:_ML__NRNWNX___LW_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x1000db4d
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
push eax
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
test eax, eax
je 0x1000db43
mov ecx, dword [ebp - 8]
push ecx
push 0
push 0
push 0
push 0x10
push 6
push 0x1004f670
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x1004eb1c], esi
test esi, esi
je 0x1000dc46
push 0
push 0
push 0
call edi
mov dword [0x1004eb04], eax
test eax, eax
je 0x1000dc46
push 0x1004f630
push 0
push 0
call edi
mov esi, eax
test esi, esi
je 0x1000dbe5
call fcn.10025930
test eax, eax
je 0x1000dbe5
push 0
lea eax, [ebp - 8]
push eax
push 1
push str.S:_ML__NRNWNX___LW_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
je 0x1000dbe5
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push ecx
mov dword [ebp - 0xc], 0
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorSacl]
test eax, eax
je 0x1000dbdb
mov edx, dword [ebp - 0xc]
push edx
push 0
push 0
push 0
push 0x10
push 6
push 0x1004f630
call dword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [0x1004eb10], esi
test esi, esi
je 0x1000dc46
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
call esi
mov dword [0x1004eb08], eax
test eax, eax
je 0x1000dc46
push 0
push 0
push 1
push 0
call esi
mov dword [0x1004eb00], eax
test eax, eax
je 0x1000dc46
push 0
push 0
push 0
push 0
call esi
mov dword [0x1004eb0c], eax
test eax, eax
je 0x1000dc46
push 0x1004f5dc
push 0
push 0
push 0
call esi
mov dword [0x1004eafc], eax
test eax, eax
mov al, 1
jne 0x1000dc49
mov al, byte [ebp - 1]
pop edi
pop esi
mov esp, ebp
pop ebp
ret