Function at 0x43a300
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 0xa00000
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 0x43a4bf
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 0x43a4e4
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 0x43a504
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x14], 0
jne 0x43a51e
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push 0x5afaa8
push eax
call fcn.00532408
push 0xa00000
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 0x43a54e
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x14], 0
jne 0x43a568
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 0x43a5e4
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 0x43a609
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x43a617
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x18], 0
jne 0x43a631
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 0x43a6af
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 0x43a6d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x43a6e2
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x43a6fc
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 0x43a77a
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 0x43a79d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
test eax, eax
jle 0x43a7ab
movzx eax, ax
or eax, 0x80070000
cmp dword [esp + 0x1c], 0
jne 0x43a7c5
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