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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55dca7
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 edi, 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 + 0x20], vtable.ATL::CSecurityDesc.0
mov dword [esp + 0x24], 0
mov byte [esp + 0xd8], 6
lea eax, [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.0043ab90
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x54]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [edi]
push ecx
mov ecx, edi
mov dword [esp + 0x30], 0xc
mov dword [esp + 0x38], 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 + 0x2c]
push 0x500000
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [edi + 8], eax
mov byte [esp + 0xd8], 7
mov edx, dword [esp + 0x1c]
or esi, 0xffffffff
add edx, 0xfffffff0
mov eax, esi
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x451e9f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, esi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x451ec4
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 [edi + 8], eax
setne al
mov dword [esp + 0x14], eax
call ebx
test eax, eax
jle 0x451ee4
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x14], 0
jne 0x451efe
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x5afaa8
push eax
call fcn.00532408
push 0x500000
push 0
push 0
push 6
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
mov dword [edi + 0xc], eax
test eax, eax
setne cl
mov dword [esp + 0x14], ecx
call ebx
test eax, eax
jle 0x451f2e
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x14], 0
jne 0x451f48
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x5afaa8
push eax
call fcn.00532408
lea eax, [esp + 0x1c]
push eax
mov eax, dword [edi]
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
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 + 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
xor ecx, ecx
mov dword [edi + 0x10], eax
test eax, eax
setne cl
mov dword [esp + 0x18], ecx
mov byte [esp + 0xd8], 0xb
mov ecx, esi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x451fc4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, esi
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x451fe9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x451ff7
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x18], 0
jne 0x452011
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 [edi]
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
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 + 0x2c]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov dword [edi + 0x14], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0xf
mov ecx, esi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45208f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, esi
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4520b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x4520c2
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x4520dc
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 [edi]
lea ecx, [esp + 0x58]
push ecx
mov ecx, edi
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 + 0x2c]
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov dword [edi + 0x18], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0x13
mov ecx, esi
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45215a
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], esi
dec esi
test esi, esi
jg 0x45217d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x45218b
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x4521a5
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0x5afaa8
push eax
call fcn.00532408
mov byte [esp + 0xd8], 3
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], 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