Function at 0x4450e0
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 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 + 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, [edi - 8]
mov dword [esp + 0x24], eax
lea edx, [esp + 0x54]
mov eax, dword [edi - 8]
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x28], 0
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [esp + 0x14]
push eax
push edx
mov eax, dword [ecx]
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 0x600000
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ecx, dword [edi - 8]
mov ecx, dword [ecx + 8]
mov dword [ecx + edi + 4], eax
mov byte [esp + 0xd8], 7
or ebx, 0xffffffff
mov edx, dword [esp + 0x1c]
mov eax, ebx
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4452af
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4452d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi - 8]
xor ecx, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [eax + 8]
cmp dword [eax + edi + 4], ecx
setne cl
mov dword [esp + 0x14], ecx
call esi
test eax, eax
jle 0x4452fb
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x14], 0
jne 0x445315
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x5afaa8
push eax
call fcn.00532408
mov eax, dword [edi - 8]
push 0x500000
push 0
push 0
mov eax, dword [eax + 8]
push 6
push dword [eax + edi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [edi - 8]
mov ecx, dword [ecx + 8]
mov dword [ecx + edi + 8], eax
xor ecx, ecx
mov eax, dword [edi - 8]
mov eax, dword [eax + 8]
cmp dword [eax + edi + 8], ecx
setne cl
mov dword [esp + 0x14], ecx
call esi
test eax, eax
jle 0x44535b
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x14], 0
jne 0x445375
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x5afaa8
push eax
call fcn.00532408
mov eax, dword [edi - 8]
push 0x100000
push 0x500000
push 0
mov eax, dword [eax + 8]
push 6
push dword [eax + edi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, dword [edi - 8]
mov ecx, dword [ecx + 8]
mov dword [ecx + edi + 0xc], eax
xor ecx, ecx
mov eax, dword [edi - 8]
mov eax, dword [eax + 8]
cmp dword [eax + edi + 0xc], ecx
setne cl
mov dword [esp + 0x14], ecx
call esi
test eax, eax
jle 0x4453be
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x14], 0
jne 0x4453d8
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x5afaa8
push eax
call fcn.00532408
mov eax, dword [edi - 8]
lea ecx, [edi - 8]
lea edx, [esp + 0x54]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [esp + 0x1c]
push eax
push edx
mov eax, dword [ecx]
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
mov ecx, dword [eax]
mov eax, dword [edi - 8]
push ecx
push 0
mov esi, dword [eax + 8]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
xor ecx, ecx
mov dword [esi + edi + 0x10], eax
test eax, eax
setne cl
mov dword [esp + 0x18], ecx
mov byte [esp + 0xd8], 0xb
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x445465
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, ebx
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44548a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44549c
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x18], 0
jne 0x4454b6
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0x5afaa8
push eax
call fcn.00532408
mov eax, dword [edi - 8]
lea ecx, [edi - 8]
lea edx, [esp + 0x54]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [esp + 0x14]
push eax
push edx
mov eax, dword [ecx]
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
mov ecx, dword [eax]
mov eax, dword [edi - 8]
push ecx
push 0
push 0
mov esi, dword [eax + 8]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov dword [esi + edi + 0x20], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0xf
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x445545
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44556a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44557c
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x445596
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0x5afaa8
push eax
call fcn.00532408
mov eax, dword [edi - 8]
lea ecx, [edi - 8]
lea edx, [esp + 0x54]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [esp + 0x14]
push eax
push edx
mov eax, dword [ecx]
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
mov ecx, dword [eax]
mov eax, dword [edi - 8]
push ecx
push 0
push 0
mov esi, dword [eax + 8]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov dword [esi + edi + 0x24], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0x13
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x445625
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x44564a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44565c
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x445676
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0x5afaa8
push eax
call fcn.00532408
mov eax, dword [edi - 8]
lea ecx, [edi - 8]
lea edx, [esp + 0x54]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [esp + 0x14]
push eax
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
call fcn.00436c90
mov byte [esp + 0xd8], 0x17
mov edx, str.GlobalSC_NetActionsMutex_
push eax
lea ecx, [esp + 0x1c]
call fcn.00435a70
add esp, 4
mov byte [esp + 0xd8], 0x18
mov ecx, dword [eax]
mov eax, dword [edi - 8]
push ecx
push 0
mov esi, dword [eax + 8]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
xor ecx, ecx
mov dword [esi + edi + 0x14], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0x17
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x445703
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x445728
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44573a
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x445754
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0x5afaa8
push eax
call fcn.00532408
mov eax, dword [edi - 8]
lea ecx, [edi - 8]
lea edx, [esp + 0x54]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [esp + 0x14]
push eax
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
call fcn.00436c90
mov byte [esp + 0xd8], 0x1b
mov edx, str.GlobalSC_NetActionsAviableEvent_
push eax
lea ecx, [esp + 0x1c]
call fcn.00435a70
add esp, 4
mov byte [esp + 0xd8], 0x1c
mov ecx, dword [eax]
mov eax, dword [edi - 8]
push ecx
push 0
push 0
mov esi, dword [eax + 8]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov dword [esi + edi + 0x18], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0x1b
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4457e3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0xd8], 6
mov ecx, ebx
mov edx, dword [esp + 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x445808
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x44581a
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x445834
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0x5afaa8
push eax
call fcn.00532408
mov eax, dword [edi - 8]
lea ecx, [edi - 8]
lea edx, [esp + 0x54]
mov eax, dword [eax + 4]
add ecx, eax
lea eax, [esp + 0x14]
push eax
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
call fcn.00436c90
mov byte [esp + 0xd8], 0x1f
mov edx, str.GlobalSC_NetActionsConsumedEvent_
push eax
lea ecx, [esp + 0x1c]
call fcn.00435a70
add esp, 4
mov byte [esp + 0xd8], 0x20
mov ecx, dword [eax]
mov eax, dword [edi - 8]
push ecx
push 0
push 0
mov esi, dword [eax + 8]
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
mov dword [esi + edi + 0x1c], eax
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xd8], 0x1f
mov ecx, ebx
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4458c3
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], ebx
dec ebx
test ebx, ebx
jg 0x4458e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x4458f8
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x445912
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 0x5afaa8
push eax
call fcn.00532408
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