Function at 0x4ee960
Capabilities:
Access peb ldr_data
Get process heap flags
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
test byte [0x630a88], 1
push ebx
push esi
mov ebx, ecx
push edi
mov edi, edx
mov dword [esp + 0x14], ebx
jne 0x4eebe6
mov eax, 0x630a88
lock bts dword [eax], 0x1f
jb 0x4ee996
mov al, 1
jmp 0x4ee9aa
test byte [0x630a88], 1
jne 0x4ee9a8
xor edx, edx
mov ecx, eax
call sym.SystemInformer.exe_PhfWaitForEvent
xor al, al
test al, al
je 0x4eebe6
push 0
call sym.SystemInformer.exe_PhCreateSymbolProvider
push eax
mov dword [esp + 0x1c], eax
call sym.SystemInformer.exe__PhLoadSymbolProviderOptions_4
mov ecx, dword fs:[0x18]
mov dword [esp + 0x38], 0x1c
mov dword [esp + 0x3c], str.kernelbase.dll
mov byte [esp + 0x13], 0
mov ecx, dword [ecx + 0x30]
push dword [ecx + 0xa0]
call dword [sym.imp.ntdll.dll_RtlEnterCriticalSection]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 0xc]
add ebx, 0xc
mov esi, dword [ebx]
cmp esi, ebx
je 0x4eea3d
mov dword [esp + 0x20], 0x1c
lea ecx, [ecx]
cmp word [esi + 0x2c], 0x1c
mov eax, dword [esi + 0x30]
mov dword [esp + 0x24], eax
jb 0x4eea37
push 1
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call sym.SystemInformer.exe_PhEqualStringRef
test al, al
jne 0x4eec53
mov esi, dword [esi]
cmp esi, ebx
jne 0x4eea10
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x28]
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
push dword [ecx + 0xa0]
call dword [sym.imp.ntdll.dll_RtlLeaveCriticalSection]
or ebx, 0xffffffff
cmp byte [esp + 0x13], 0
je 0x4eea98
push dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
cdq
push edx
push eax
push esi
push dword [esp + 0x28]
call sym.SystemInformer.exe_PhLoadModuleSymbolProvider
lea ecx, [esi - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4eea98
call fcn.004fbfa0
lea eax, [esp + 0x58]
push eax
push str.GetAppModelPolicy
push dword [esp + 0x20]
call sym.SystemInformer.exe_PhGetSymbolFromName
test al, al
je 0x4eeb85
mov dword ds:[esp + 0x2c], 0
call fcn.0051f820
test eax, eax
je 0x4eeb85
mov ecx, dword ds:[esp + 0x58]
mov eax, ecx
and eax, 0xfffff000
mov dword [esp + 0x54], 0x1000
mov dword [esp + 0x50], eax
and ecx, 0xfff
lea eax, [esp + 0x2c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x78], eax
lea eax, [esp + 0x48]
push 0x20
mov dword [esp + 0x80], eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x54], 1
push eax
push 1
push 2
push 0xffffffffffffffff
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x88], 1
mov dword [esp + 0x8c], 0
call fcn.0051f820
mov esi, eax
mov ecx, eax
call dword [0x5a38e4]
call esi
cmp eax, 0xc0000045
je 0x4eeb7c
test eax, eax
js 0x4eeb85
mov eax, dword [esp + 0x58]
mov dword [0x63524c], eax
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], ebx
dec ebx
jne 0x4eeb99
call fcn.004fbfa0
mov ebx, 0x630a88
lock bts dword [ebx], 0
jb 0x4eebe2
mov esi, dword [0x630a8c]
test esi, esi
je 0x4eebb8
push 0
push esi
call dword [sym.imp.ntdll.dll_NtSetEvent]
mov eax, 0xfffffffe
lock xadd dword [ebx], eax
shr eax, 1
and eax, 0x7fff
sub eax, 1
jne 0x4eebe2
test esi, esi
je 0x4eebe2
push esi
call dword [sym.imp.ntdll.dll_NtClose]
mov dword [0x630a8c], 0
mov ebx, dword [esp + 0x14]
mov esi, dword [0x63524c]
test esi, esi
je 0x4eecb7
mov eax, dword [0x62dbb0]
cmp edi, 0x38
jl 0x4eec05
mov edi, edi
cmp eax, 0x72
jb 0x4eec45
cmp edi, 0x30
jl 0x4eec0f
cmp eax, 0x6d
jb 0x4eec45
cmp edi, 0x2e
jl 0x4eec19
cmp eax, 0x6b
jb 0x4eec45
cmp edi, 0x2d
jl 0x4eec25
mov edi, edi
cmp eax, 0x6a
jb 0x4eec45
cmp edi, 0x2a
jl 0x4eec2f
cmp eax, 0x69
jb 0x4eec45
cmp edi, 0x23
jl 0x4eec39
cmp eax, 0x68
jb 0x4eec45
cmp edi, 0x1f
jl 0x4eec9f
mov edi, edi
cmp eax, 0x67
jae 0x4eec9f
mov eax, 0xc0000003
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test esi, esi
je 0x4eea3d
mov eax, dword ds:[esi + 0x18]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x1c], eax
movzx eax, word [esi + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x28]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
push eax
call sym.SystemInformer.exe_PhDosPathNameToNtPathName
mov esi, eax
test esi, esi
je 0x4eec95
mov byte [esp + 0x13], 1
jmp 0x4eea51
mov byte [esp + 0x13], 0
jmp 0x4eea4d
push dword [ebp + 8]
mov ecx, esi
push edi
push ebx
call dword [0x5a38e4]
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, 0xc000007a
pop ebx
mov esp, ebp
pop ebp
ret 4