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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x62f040]
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 0x4240f1
mov ecx, ebx
call sym.SystemInformer.exe_PhfAcquireQueuedLockExclusive
mov eax, dword ds:[esi + 0x90]
mov eax, dword [eax]
test eax, eax
je 0x4244ca
cmp dword [esi + 0x94], eax
je 0x4244ca
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 0x424477
mov edx, 0x635c2c
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 0x424183
mov ecx, edx
call sym.SystemInformer.exe_PhfAcquireQueuedLockShared
mov edx, 0x635c2c
mov ecx, ebx
call fcn.0048a9f0
mov dword [ebp - 0x50], eax
test eax, eax
je 0x424195
lock inc dword [eax - 4]
xor ecx, ecx
mov eax, 5
lock cmpxchg dword [edx], ecx
cmp eax, 5
je 0x4241ac
mov ecx, edx
call sym.SystemInformer.exe_PhfReleaseQueuedLockShared
mov edi, dword ds:[edi + 8]
push 0x120
push 4
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x120
push 0
push eax
mov dword [ebp - 0x3c], eax
call fcn.005826f0
mov esi, dword [ebp - 0x3c]
add esp, 0xc
push 0x34
push 0
push esi
call fcn.005826f0
or dword [esi], 5
add esp, 0xc
mov eax, dword [ebp - 0x3c]
add eax, 0xe4
push 0x38
push 0
push eax
call fcn.005826f0
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 [0x6361e0]
mov ecx, dword [0x6361e4]
add edx, 1
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x54]
adc ecx, 0
mov dword [0x6361e0], edx
mov dword [0x6361e4], 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 0x42429a
mov ecx, dword [edi + 8]
add eax, eax
mov dword [edi + 4], eax
shl eax, 2
push eax
test ecx, ecx
jne 0x424288
push 4
push dword [0x636044]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
jmp 0x424297
push ecx
push 4
push dword [0x636044]
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 0x42435f
mov edi, dword [edi + 0x18]
test edi, edi
je 0x424361
mov edx, edi
lea ecx, [ebp - 0x64]
call fcn.0052d6a0
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.005845ea
mov eax, dword [edi + 0xc]
add esp, 0xc
test eax, eax
je 0x424349
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.005845ea
add esp, 0xc
cmp dword [edi + 0x28], 0
je 0x42443e
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4243a5
mov eax, dword [eax + 4]
jmp 0x4243aa
xor edi, edi
push dword [ebp - 0x44]
call sym.SystemInformer.exe__PhReferenceProcessItem_4
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4242d3
mov edx, dword [eax + 0x18]
lea ecx, [ebp - 0x64]
call fcn.0052d6a0
mov ecx, dword [ebp - 0x44]
mov edi, eax
add ecx, 0xfffffff8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4242df
call fcn.004fc420
jmp 0x4243a0
jmp 0x4242df
mov eax, 0x5ccc90
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push eax
call sym.SystemInformer.exe_PhGetAccessEntries
test al, al
je 0x4243dd
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 [0x636044]
mov dword [ebx + 0x60], eax
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [ebx + 0x60], 0
je 0x42443e
push 0x10
lea eax, [ebp - 0x34]
mov dword [ebp - 0x38], 0x780030
push eax
push dword [edi + 0x28]
call fcn.005845ea
mov eax, dword ds:[ebx + 0x60]
add esp, 0xc
test eax, eax
je 0x424409
mov eax, dword [eax + 4]
jmp 0x42440b
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 0x424441
add ecx, 0xfffffff8
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x424441
call fcn.004fc420
jmp 0x424441
or ebx, 0xffffffff
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x42445a
lea ecx, [eax - 8]
mov eax, ebx
lock xadd dword [ecx + 4], eax
dec eax
jne 0x42445a
call fcn.004fc420
mov esi, dword [ebp - 0x54]
mov edx, 0x635c2c
mov ecx, dword [ebp - 0x40]
inc ecx
mov dword [ebp - 0x40], ecx
mov eax, dword [esi + 0x90]
cmp ecx, dword [eax]
jb 0x424150
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 0x4244f0
lea edi, [ebx - 1]
lea edx, [edi + 4]
mov eax, edi
mov esi, edx
lock cmpxchg dword [ecx], esi
cmp eax, edi
jne 0x4244f0
jmp 0x4244eb
or edi, 0xffffffff
lock xadd dword [ebx], edi
mov eax, edi
and al, 6
cmp al, 2
jne 0x4244f0
dec edi
mov eax, edi
lea edx, [edi + 4]
mov esi, edx
lock cmpxchg dword [ebx], esi
cmp eax, edi
jne 0x4244f0
mov ecx, ebx
call fcn.00521fe0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058078f
mov esp, ebp
pop ebp
ret