Function at 0x422300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x62d040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x54], esi
lea ebx, [esi + 0x98]
lock bts dword [ebx], 0
jae 0x42232c
mov ecx, ebx
call sym.SystemInformer.exe_PhfAcquireQueuedLockExclusive
mov eax, dword [esi + 0x90]
mov eax, dword [eax]
test eax, eax
je 0x4226fb
lea esp, [esp]
cmp dword [esi + 0x94], eax
je 0x4226fb
push 0
push 0
push 0x41f
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x90]
or ebx, 0xffffffff
mov ecx, dword [esi + 0x94]
mov dword [ebp - 0x40], ecx
cmp ecx, dword [eax]
jae 0x4226a8
mov edx, 0x6333bc
lea ecx, [ecx]
mov eax, dword [eax + 8]
mov dword [ebp - 0x60], 0
mov edi, dword [eax + ecx*4]
mov ecx, 5
mov dword [ebp - 0x4c], edi
xor eax, eax
mov ebx, dword [edi]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x64], ebx
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4223b3
mov ecx, edx
call sym.SystemInformer.exe_PhfAcquireQueuedLockShared
mov edx, 0x6333bc
mov ecx, ebx
call fcn.00489fb0
mov dword ds:[ebp - 0x50], eax
test eax, eax
je 0x4223c8
lock inc dword [eax - 4]
xor ecx, ecx
mov eax, 5
lock cmpxchg dword [edx], ecx
cmp eax, 5
je 0x4223df
mov ecx, edx
call sym.SystemInformer.exe_PhfReleaseQueuedLockShared
mov edi, dword [edi + 8]
push 0x120
push 4
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x120
push 0
push eax
mov dword [ebp - 0x3c], eax
call fcn.00581cf0
mov esi, dword [ebp - 0x3c]
add esp, 0xc
push 0x34
push 0
push esi
call fcn.00581cf0
or dword [esi], 5
add esp, 0xc
mov eax, dword [ebp - 0x3c]
add eax, 0xe4
push 0x38
push 0
push eax
call fcn.00581cf0
mov ecx, dword ds:[ebp - 0x3c]
add esp, 0xc
lea eax, [ecx + 0xe4]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x1c], 7
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x48], edi
mov edx, dword [0x633950]
mov ecx, dword [0x633954]
add edx, 1
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x54]
adc ecx, 0
mov dword [0x633950], edx
mov dword [0x633954], ecx
mov dword [eax + 0x38], edx
mov dword [eax + 0x3c], ecx
lea eax, [ebp - 0x3c]
push eax
push dword [edi + 0x78]
call sym.SystemInformer.exe_PhAddEntryHashtable
mov edi, dword [edi + 0x7c]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [edi + 4]
cmp dword [edi], eax
jne 0x4224c9
mov ecx, dword ds:[edi + 8]
add eax, eax
mov dword [edi + 4], eax
shl eax, 2
push eax
test ecx, ecx
jne 0x4224b4
push 4
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x4224c6
push ecx
push 4
push dword [0x6337d4]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov dword [edi + 8], eax
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov esi, dword [ebp - 0x4c]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [esi]
mov edi, dword [ebp - 0x50]
mov dword [ebx + 0x4c], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x40], eax
test edi, edi
je 0x422589
mov edi, dword [edi + 0x18]
test edi, edi
je 0x42258b
mov edx, edi
lea ecx, [ebp - 0x64]
call fcn.0052c880
mov edi, eax
mov dword [ebx + 0x50], edi
mov ecx, 7
mov eax, dword [esi + 0x10]
lea edi, [ebx + 0xc8]
mov dword [ebx + 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 0x18]
add esi, 0x1c
mov dword [ebx + 0x5c], eax
lea eax, [ebx + 0x68]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x4c]
push 0x10
push eax
mov ecx, dword [edi + 8]
push ecx
mov dword [ebx + 0x64], 0x780030
call fcn.00583bea
mov eax, dword [edi + 0xc]
add esp, 0xc
test eax, eax
je 0x422571
mov dword [ebx + 0x44], eax
lea eax, [ebx + 0x9a]
mov ecx, dword [edi + 0xc]
push 0x10
push eax
push ecx
mov dword [ebx + 0x96], 0x780030
call fcn.00583bea
add esp, 0xc
cmp dword [edi + 0x28], 0
je 0x42266a
mov eax, dword ds:[edi + 0x10]
test eax, eax
je 0x4225d1
mov eax, dword [eax + 4]
jmp 0x4225d6
xor edi, edi
push dword [ebp - 0x44]
call sym.SystemInformer.exe__PhReferenceProcessItem_4
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4224fa
mov edx, dword [eax + 0x18]
lea ecx, [ebp - 0x64]
call fcn.0052c880
mov ecx, dword ds:[ebp - 0x44]
mov edi, eax
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x422507
call fcn.004fbfa0
jmp 0x422507
mov eax, 0x5c9adc
lea ecx, ds:[ebp - 0x58]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push eax
call sym.SystemInformer.exe_PhGetAccessEntries
test al, al
je 0x42260a
push dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
push esi
push dword [edi + 0x28]
call sym.SystemInformer.exe_PhGetAccessString
push esi
push 0
push dword [0x6337d4]
mov dword [ebx + 0x60], eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebx + 0x60], 0
je 0x42266a
push 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 0x780030
push eax
push dword [edi + 0x28]
call fcn.00583bea
mov eax, dword [ebx + 0x60]
add esp, 0xc
test eax, eax
je 0x422634
mov eax, dword [eax + 4]
jmp 0x422636
xor eax, eax
lea ecx, [ebp - 0x38]
push ecx
push eax
push str._s___s_
call sym.SystemInformer.exe_PhFormatString
mov ecx, dword [ebx + 0x60]
add esp, 0xc
mov dword [ebx + 0x60], eax
or ebx, 0xffffffff
test ecx, ecx
je 0x42266d
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x42266d
call fcn.004fbfa0
jmp 0x42266d
or ebx, 0xffffffff
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x422688
lea ecx, ds:[eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x422688
call fcn.004fbfa0
mov esi, dword ds:[ebp - 0x54]
mov edx, 0x6333bc
mov ecx, dword [ebp - 0x40]
inc ecx
mov dword [ebp - 0x40], ecx
mov eax, dword [esi + 0x90]
cmp ecx, dword [eax]
jb 0x422380
push 0
push 0
push 0x404
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0x41f
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x40]
lea ecx, [esi + 0x98]
mov dword [esi + 0x94], eax
lock xadd dword [ecx], ebx
mov eax, ebx
and al, 6
cmp al, 2
jne 0x422725
lea edi, [ebx - 1]
lea edx, [edi + 4]
mov eax, edi
mov esi, edx
lock cmpxchg dword [ecx], esi
cmp eax, edi
jne 0x422725
jmp 0x42271c
or edi, 0xffffffff
lock xadd dword [ebx], edi
mov eax, edi
and al, 6
cmp al, 2
jne 0x422725
dec edi
mov eax, edi
lea edx, [edi + 4]
mov esi, edx
lock cmpxchg dword [ebx], esi
cmp eax, edi
jne 0x422725
mov ecx, ebx
lea esp, [esp]
call fcn.005212a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057fcaf
mov esp, ebp
pop ebp
ret