Function at 0x452470
Capabilities:
Access peb ldr_data
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55f5ab
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5b3680]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x5b3680]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x34], vtable.ATL::CAcl.0
mov dword [esp + 0x38], 0
mov byte [esp + 0x3c], 0
mov dword [esp + 0x40], 2
mov dword [esp + 0xd8], 0
lea eax, [esp + 0x44]
mov dword [esp + 0x34], vtable.ATL::CDacl.0
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0xd8], 3
lea ecx, [esp + 0x64]
call fcn.0043afd0
mov byte [esp + 0xd8], 4
sub esp, 8
lea ecx, [esp + 0x3c]
push eax
call fcn.0043b240
mov byte [esp + 0xd8], 3
lea ecx, [esp + 0x64]
call fcn.00434290
lea ecx, [esp + 0x64]
call fcn.0043adb0
mov byte [esp + 0xd8], 5
sub esp, 8
lea ecx, [esp + 0x3c]
push eax
call fcn.0043b240
mov byte [esp + 0xd8], 3
lea ecx, [esp + 0x64]
call fcn.00434290
mov dword [esp + 0x2c], vtable.ATL::CSecurityDesc.0
mov dword [esp + 0x30], 0
mov byte [esp + 0xd8], 6
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.0043ab90
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x54]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esp + 0x28], 0xc
mov dword [esp + 0x30], 0
call dword [eax + 4]
mov ecx, eax
call fcn.00436c90
mov byte [esp + 0xd8], 7
mov edx, str.GlobalSC_FileMapping_
push eax
lea ecx, [esp + 0x20]
call fcn.00435a70
add esp, 4
mov byte [esp + 0xd8], 8
push dword [eax]
lea eax, [esp + 0x24]
push 0x200000
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [esi + 8], eax
mov byte [esp + 0xd8], 7
mov edx, dword [esp + 0x1c]
or edi, 0xffffffff
add edx, 0xfffffff0
mov eax, edi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45262f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, edi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452654
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
cmp dword [esi + 8], eax
setne al
mov dword [esp + 0x14], eax
call ebx
test eax, eax
jle 0x452674
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x14], 0
jne 0x45268e
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x5afaa8
push eax
call fcn.00532408
push 0x100000
push 0
push 0
push 6
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
mov dword [esi + 0xc], eax
test eax, eax
setne cl
mov dword [esp + 0x14], ecx
call ebx
test eax, eax
jle 0x4526be
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x14], 0
jne 0x4526d8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x5afaa8
push eax
call fcn.00532408
push 0x100000
push 0x100000
push 0
push 6
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
mov dword [esi + 0x10], eax
test eax, eax
setne cl
mov dword [esp + 0x14], ecx
call ebx
test eax, eax
jle 0x45270b
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x14], 0
jne 0x452718
push eax
call fcn.004027b0
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, eax
call fcn.00436c90
mov byte [esp + 0xd8], 0xb
mov edx, str.GlobalSC_SharedMemoryMutex_
push eax
lea ecx, [esp + 0x18]
call fcn.00435a70
add esp, 4
mov byte [esp + 0xd8], 0xc
push dword [eax]
lea eax, [esp + 0x24]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
xor ecx, ecx
mov dword [esi + 0x14], eax
test eax, eax
setne cl
mov dword [esp + 0x18], ecx
mov byte [esp + 0xd8], 0xb
mov ecx, edi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452794
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, edi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4527b9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x4527c7
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x18], 0
jne 0x4527e1
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0x5afaa8
push eax
call fcn.00532408
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, eax
call fcn.00436c90
mov byte [esp + 0xd8], 0xf
mov edx, str.GlobalSC_DataAvaliableEvent_
push eax
lea ecx, [esp + 0x1c]
call fcn.00435a70
add esp, 4
mov byte [esp + 0xd8], 0x10
push dword [eax]
lea eax, [esp + 0x24]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov dword [esi + 0x1c], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0xf
mov ecx, edi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45285f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, edi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452884
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x452892
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x4528ac
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0x5afaa8
push eax
call fcn.00532408
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, eax
call fcn.00436c90
mov byte [esp + 0xd8], 0x13
mov edx, str.GlobalSC_DataConsumedEvent_
push eax
lea ecx, [esp + 0x1c]
call fcn.00435a70
add esp, 4
mov byte [esp + 0xd8], 0x14
push dword [eax]
lea eax, [esp + 0x24]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov dword [esi + 0x24], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0x13
mov ecx, edi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45292a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, edi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45294f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x45295d
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x452977
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0x5afaa8
push eax
call fcn.00532408
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, eax
call fcn.00436c90
mov byte [esp + 0xd8], 0x17
mov edx, 0x58b664
push eax
lea ecx, [esp + 0x1c]
call fcn.00435a70
add esp, 4
mov byte [esp + 0xd8], 0x18
push dword [eax]
lea eax, [esp + 0x24]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
xor ecx, ecx
mov dword [esi + 0x18], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0x17
mov ecx, edi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4529f3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, edi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452a18
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x452a26
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x452a33
push eax
call fcn.004027b0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, eax
call fcn.00436c90
mov byte [esp + 0xd8], 0x1b
mov edx, str.GlobalSC_PrnActionAviableEvent_
push eax
lea ecx, [esp + 0x1c]
call fcn.00435a70
add esp, 4
mov byte [esp + 0xd8], 0x1c
push dword [eax]
lea eax, [esp + 0x24]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov dword [esi + 0x20], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0x1b
mov ecx, edi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452ab1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, edi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452ad6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x452ae4
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x452af1
push eax
call fcn.004027b0
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
lea ecx, [esp + 0x58]
push ecx
mov ecx, esi
call dword [eax + 4]
mov ecx, eax
call fcn.00436c90
mov byte [esp + 0xd8], 0x1f
mov edx, str.GlobalSC_PrnActionConsumedEvent_
push eax
lea ecx, [esp + 0x1c]
call fcn.00435a70
add esp, 4
mov byte [esp + 0xd8], 0x20
push dword [eax]
lea eax, [esp + 0x24]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov dword [esi + 0x28], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0x1f
mov ecx, edi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x452b6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x452b92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x452ba0
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x452bad
push eax
call fcn.004027b0
mov byte [esp + 0xd8], 3
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.ATL::CSecurityDesc.0
call fcn.0043acd0
mov dword [esp + 0xd8], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0043b380
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.005295e2
mov esp, ebp
pop ebp
ret