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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x62a040]
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
setb al
test al, al
je 0x4220f1
mov ecx, ebx
call sym.SystemInformer.exe_PhfAcquireQueuedLockExclusive
mov eax, dword ds:[esi + 0x90]
mov eax, dword [eax]
test eax, eax
je 0x4224ca
cmp dword [esi + 0x94], eax
je 0x4224ca
push 0
push 0
push 0x41f
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword ds:[esi + 0x90]
or ebx, 0xffffffff
mov ecx, dword [esi + 0x94]
mov dword [ebp - 0x40], ecx
cmp ecx, dword [eax]
jae 0x422477
mov edx, 0x630c1c
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 0x422183
mov ecx, edx
call sym.SystemInformer.exe_PhfAcquireQueuedLockShared
mov edx, 0x630c1c
mov ecx, ebx
call fcn.00488f50
mov dword [ebp - 0x50], eax
test eax, eax
je 0x422195
lock inc dword [eax - 4]
xor ecx, ecx
mov eax, 5
lock cmpxchg dword [edx], ecx
cmp eax, 5
je 0x4221ac
mov ecx, edx
call sym.SystemInformer.exe_PhfReleaseQueuedLockShared
mov edi, dword ds:[edi + 8]
push 0x120
push 4
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x120
push 0
push eax
mov dword [ebp - 0x3c], eax
call fcn.0057e450
mov esi, dword [ebp - 0x3c]
add esp, 0xc
push 0x34
push 0
push esi
call fcn.0057e450
or dword [esi], 5
add esp, 0xc
mov eax, dword [ebp - 0x3c]
add eax, 0xe4
push 0x38
push 0
push eax
call fcn.0057e450
mov ecx, dword [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 [0x6311b0]
mov ecx, dword [0x6311b4]
add edx, 1
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x54]
adc ecx, 0
mov dword [0x6311b0], edx
mov dword [0x6311b4], 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 ds:[edi + 0x7c]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [edi + 4]
cmp dword [edi], eax
jne 0x42229a
mov ecx, dword [edi + 8]
add eax, eax
mov dword [edi + 4], eax
shl eax, 2
push eax
test ecx, ecx
jne 0x422288
push 4
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x422297
push ecx
push 4
push dword [0x631034]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov dword [edi + 8], eax
mov ecx, dword ds:[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 0x42235f
mov edi, dword [edi + 0x18]
test edi, edi
je 0x422361
mov edx, edi
lea ecx, [ebp - 0x64]
call fcn.00529ac0
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.0058034a
mov eax, dword [edi + 0xc]
add esp, 0xc
test eax, eax
je 0x422349
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.0058034a
add esp, 0xc
cmp dword [edi + 0x28], 0
je 0x42243e
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4223a5
mov eax, dword [eax + 4]
jmp 0x4223aa
xor edi, edi
push dword [ebp - 0x44]
call sym.SystemInformer.exe__PhReferenceProcessItem_4
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4222d3
mov edx, dword [eax + 0x18]
lea ecx, [ebp - 0x64]
call fcn.00529ac0
mov ecx, dword [ebp - 0x44]
mov edi, eax
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4222df
call fcn.004f9e40
jmp 0x4223a0
jmp 0x4222df
mov eax, 0x5c6aec
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push eax
call sym.SystemInformer.exe_PhGetAccessEntries
test al, al
je 0x4223dd
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 [0x631034]
mov dword [ebx + 0x60], eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebx + 0x60], 0
je 0x42243e
push 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 0x780030
push eax
push dword [edi + 0x28]
call fcn.0058034a
mov eax, dword ds:[ebx + 0x60]
add esp, 0xc
test eax, eax
je 0x422409
mov eax, dword [eax + 4]
jmp 0x42240b
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 0x422441
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x422441
call fcn.004f9e40
jmp 0x422441
or ebx, 0xffffffff
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x42245a
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x42245a
call fcn.004f9e40
mov esi, dword [ebp - 0x54]
mov edx, 0x630c1c
mov ecx, dword [ebp - 0x40]
inc ecx
mov dword [ebp - 0x40], ecx
mov eax, dword [esi + 0x90]
cmp ecx, dword [eax]
jb 0x422150
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 0x4224f0
lea edi, [ebx - 1]
lea edx, [edi + 4]
mov eax, edi
mov esi, edx
lock cmpxchg dword [ecx], esi
cmp eax, edi
jne 0x4224f0
jmp 0x4224eb
or edi, 0xffffffff
lock xadd dword [ebx], edi
mov eax, edi
and al, 6
cmp al, 2
jne 0x4224f0
dec edi
mov eax, edi
lea edx, [edi + 4]
mov esi, edx
lock cmpxchg dword [ebx], esi
cmp eax, edi
jne 0x4224f0
mov ecx, ebx
call fcn.0051e5c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057c26f
mov esp, ebp
pop ebp
ret