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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x39c
mov eax, dword [0x5c7004]
xor eax, esp
mov dword [esp + 0x398], eax
push ebx
mov ebx, ecx
mov eax, edx
push esi
push edi
mov dword [esp + 0x14], eax
mov esi, dword [ebx + 0x60]
mov dword [esp + 0x20], ebx
lea esp, [esp]
cmp dword [eax + 0x44], esi
je 0x4ac6f9
mov ecx, dword [eax]
test ecx, ecx
je 0x4ac6e3
add eax, ecx
mov dword [esp + 0x14], eax
jne 0x4ac6d0
lea eax, [esp + 0x2a8]
mov dword [esp + 0x2ac], 0
mov dword [esp + 0x14], eax
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
test esi, esi
jne 0x4ac71f
xor ecx, ecx
test edx, edx
je 0x4ac71f
add eax, 0xdc
nop
cmp dword [eax], 0
jne 0x4ac717
mov dword [eax], ecx
inc ecx
add eax, 0x40
cmp ecx, edx
jb 0x4ac710
xor esi, esi
xor edi, edi
mov edx, dword [ebx]
mov ecx, dword [edx + 0x24]
cmp edi, ecx
jae 0x4ac75b
mov eax, dword [edx]
add eax, 8
mov dword [esp + 0x1c], eax
imul eax, edi
add eax, dword [edx + 0x18]
jmp 0x4ac740
mov edx, eax
inc edi
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18c], edx
cmp dword [edx], 0xffffffff
jne 0x4acc3a
cmp edi, ecx
jb 0x4ac740
test esi, esi
je 0x4ac7c8
lea ecx, [ebx + 4]
call sym.ProcessHacker.exe_PhfAcquireFastLockExclusive
xor edi, edi
cmp dword [esi], edi
jbe 0x4ac7ad
lea ecx, [ecx]
mov eax, dword [esi + 8]
mov eax, dword [eax + edi*4]
mov dword [esp + 0x18c], eax
lea eax, [esp + 0x18c]
push eax
push dword [ebx]
call sym.ProcessHacker.exe_PhRemoveEntryHashtable
mov ecx, dword ds:[esp + 0x18c]
or eax, 0xffffffff
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ac7a8
call fcn.004c1f60
inc edi
cmp edi, dword [esi]
jb 0x4ac770
lea ecx, [ebx + 4]
call sym.ProcessHacker.exe_PhfReleaseFastLockExclusive
lea ecx, [esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ac7c8
call fcn.004c1f60
lea eax, [ebx + 0x70]
push eax
call dword [sym.imp.ntdll.dll_RtlInterlockedFlushSList]
mov edi, eax
test edi, edi
je 0x4ac8e8
lea esp, [esp]
mov esi, edi
mov edi, dword [edi]
cmp dword [esi + 0x20], 0
jne 0x4ac858
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4ac858
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x80]
mov dword [eax + 0x80], ecx
lock inc dword [ecx - 4]
test edx, edx
je 0x4ac81b
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ac81b
call fcn.004c1f60
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x1c]
mov edx, dword [eax + 0x84]
mov dword [eax + 0x84], ecx
test ecx, ecx
je 0x4ac835
lock inc dword [ecx - 4]
test edx, edx
je 0x4ac84c
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ac84c
call fcn.004c1f60
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x88], eax
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x24]
mov edx, dword [eax + 0x74]
mov dword [eax + 0x74], ecx
test edx, edx
je 0x4ac87b
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ac87b
call fcn.004c1f60
mov eax, dword [esi + 8]
mov byte [eax + 0x8d], 1
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4ac89f
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ac89f
call fcn.004c1f60
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4ac8b9
lea ecx, [eax - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ac8b9
call fcn.004c1f60
mov ecx, dword [esi + 8]
or eax, 0xffffffff
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ac8cf
call fcn.004c1f60
push esi
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov edi, edi
test edi, edi
jne 0x4ac7e0
cmp dword [esp + 0x24], 0
jbe 0x4acefd
mov edi, dword [esp + 0x14]
lea esi, [ebx + 4]
add edi, 0xdc
mov dword [esp + 0x14], edi
jmp 0x4ac910
mov eax, dword [edi]
lea ecx, [esp + 0x198]
mov dword [esp + 0x194], ecx
mov ecx, esi
mov dword [esp + 0x198], eax
call sym.ProcessHacker.exe_PhfAcquireFastLockShared
lea eax, [esp + 0x194]
push eax
push dword [ebx]
call sym.ProcessHacker.exe_PhFindEntryHashtable
lea ecx, [ecx]
test eax, eax
je 0x4acf2b
mov esi, dword [eax]
lock inc dword [esi - 4]
lea ecx, [ebx + 4]
call sym.ProcessHacker.exe_PhfReleaseFastLockShared
mov dword ds:[esp + 0x188], esi
test esi, esi
je 0x4acf3d
mov bl, byte [esi + 0x8d]
mov eax, dword [edi - 0x24]
test bl, bl
mov ecx, dword [edi - 0x20]
mov dword [esi + 0x10], eax
setne byte [esp + 0xf]
mov dword [esi + 0x14], ecx
mov eax, dword [esp + 0x188]
mov ecx, dword [edi - 0x1c]
mov edx, dword [edi - 0x18]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x188]
mov ecx, dword [edi + 4]
mov dword [eax + 0x5c], ecx
mov eax, dword [esp + 0x188]
mov ecx, dword [edi + 8]
mov dword [eax + 0x60], ecx
mov eax, dword [esp + 0x188]
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x64], ecx
mov ecx, dword [esp + 0x188]
mov eax, dword [edi + 0x14]
cmp dword [ecx + 0x68], eax
je 0x4ac9d9
mov dword [ecx + 0x68], eax
mov ecx, dword [esp + 0x188]
mov byte [esp + 0xf], 1
cmp dword [ecx + 0x88], 2
lea edx, [ecx + 0x88]
mov ebx, dword [esp + 0x20]
jne 0x4aca3d
mov eax, dword [ebx + 0x88]
or eax, dword [ebx + 0x8c]
je 0x4aca3d
push dword [ecx + 0x7c]
push dword [ecx + 0x78]
mov ecx, ebx
call fcn.004ac480
mov ecx, dword [esp + 0x188]
mov edx, dword [ecx + 0x80]
mov dword [ecx + 0x80], eax
test edx, edx
je 0x4aca31
lea ecx, [edx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4aca31
call fcn.004c1f60
mov ecx, dword [esp + 0x188]
mov byte [esp + 0xf], 1
cmp byte [ecx + 0x8d], 0
je 0x4aca78
cmp dword [ecx + 0x88], 2
jne 0x4aca78
mov eax, dword [edi - 8]
cdq
cmp dword [ecx + 0x78], eax
jne 0x4aca5d
cmp dword [ecx + 0x7c], edx
je 0x4aca78
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
mov ecx, ebx
mov edx, dword [esp + 0x188]
call fcn.004ac380
mov ecx, dword [esp + 0x188]
mov esi, dword [ecx + 0x44]
mov eax, dword [edi + 0xc]
sub eax, dword [ecx + 0x40]
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x188]
mov ecx, dword [edi + 0xc]
mov dword [eax + 0x40], ecx
mov ecx, 1
mov edx, dword [esp + 0x188]
movzx eax, byte [esp + 0xf]
cmp dword [edx + 0x44], esi
cmovne eax, ecx
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x50]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x54]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x98]
push eax
call fcn.004ac5c0
mov edx, dword [esp + 0x188]
test eax, eax
js 0x4acb21
mov edi, dword [esp + 0x98]
mov ecx, edi
sub ecx, dword [edx + 0x48]
mov esi, dword [esp + 0x9c]
mov eax, esi
sbb eax, dword [edx + 0x4c]
mov dword [edx + 0x50], ecx
mov dword [edx + 0x54], eax
mov eax, dword [esp + 0x188]
mov dword [eax + 0x48], edi
mov dword [eax + 0x4c], esi
mov edx, dword [esp + 0x188]
mov eax, dword [esp + 0x3c]
cmp dword [edx + 0x50], eax
jne 0x4acb18
mov eax, dword [esp + 0x10]
cmp dword [edx + 0x54], eax
je 0x4acb1d
mov byte [esp + 0x1c], 1
mov edi, dword [esp + 0x14]
mov ecx, dword [edx + 0x10]
sub ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x14]
sbb eax, dword [edx + 0x24]
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], eax
mov edx, dword [esp + 0x188]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov edx, dword [esp + 0x188]
mov ecx, dword [edx + 0x18]
sub ecx, dword [edx + 0x30]
mov eax, dword [edx + 0x1c]
sbb eax, dword [edx + 0x34]
mov dword [edx + 0x38], ecx
mov dword [edx + 0x3c], eax
mov edx, dword [esp + 0x188]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], ecx
cmp byte [0x5c7a28], 0
mov edx, dword [esp + 0x188]
je 0x4acd05
cmp dword [ebx + 0x60], 0
je 0x4acb96
cmp dword [edx + 0x70], 0
je 0x4acd05
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x54]
mov dword [esp + 0xa0], eax
mov eax, ecx
and ecx, 0x7fffffff
mov dword [esp + 0xa8], 0
and eax, 0x80000000
mov dword [esp + 0xa4], ecx
fild qword [esp + 0xa0]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb8], 0
fild qword [esp + 0xa8]
fchs
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
mov eax, dword [0x5cd498]
mov ecx, dword [0x5cd49c]
mov dword [esp + 0xb0], eax
mov eax, ecx
and ecx, 0x7fffffff
and eax, 0x80000000
mov dword [esp + 0xb4], ecx
fild qword [esp + 0xb0]
mov dword [esp + 0xbc], eax
fild qword [esp + 0xb8]
fchs
faddp st(1)
fstp dword [esp + 0x10]
fdiv dword [esp + 0x10]
jmp 0x4acdc2
xor ecx, ecx
cmp dword [esp + 0x24], ecx
jbe 0x4acc7a
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
add eax, 0xdc
jmp 0x4acc60
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [eax]
mov ebx, dword [esp + 0x20]
je 0x4ac723
inc ecx
add eax, 0x40
cmp ecx, dword [esp + 0x24]
jb 0x4acc60
push dword [edx + 8]
lea eax, [ebx + 0x30]
push eax
call sym.ProcessHacker.exe_PhInvokeCallback
test esi, esi
jne 0x4accb9
push dword [0x5cd4fc]
push 0xc
call sym.ProcessHacker.exe_PhCreateObject
push 8
mov esi, eax
push 4
push dword [0x5cd55c]
mov dword [esi], 0
mov dword [esi + 4], 2
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x18c]
mov ecx, dword [esi]
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x4accef
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push dword [esi + 8]
push 4
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov ecx, dword [esi]
mov dword [esi + 8], eax
mov eax, dword ds:[esi + 8]
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], edx
inc dword [esi]
jmp 0x4ac723
mov eax, dword [edx + 0x38]
add eax, dword [edx + 0x28]
mov ecx, dword [edx + 0x3c]
adc ecx, dword [edx + 0x2c]
mov dword [esp + 0xc0], eax
mov eax, ecx
and ecx, 0x7fffffff
mov dword [esp + 0xc8], 0
and eax, 0x80000000
mov dword [esp + 0xc4], ecx
fild qword [esp + 0xc0]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd8], 0
fild qword [esp + 0xc8]
fchs
faddp st(1)
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
mov eax, dword [0x5d0098]
add eax, dword [0x5d0108]
mov ecx, dword [0x5d009c]
adc ecx, dword [0x5d010c]
add eax, dword [0x5d00f8]
mov dword [esp + 0xd0], eax
adc ecx, dword [0x5d00fc]
mov eax, ecx
and ecx, 0x7fffffff
mov dword [esp + 0xd4], ecx
and eax, 0x80000000
fild qword [esp + 0xd0]
mov dword [esp + 0xdc], eax
fild qword [esp + 0xd8]
fchs
faddp st(1)
fstp dword [esp + 0x10]
fdiv dword [esp + 0x10]
mov eax, dword ds:[esp + 0x188]
fstp dword [eax + 0x58]
mov eax, dword [esp + 0x188]
mov ecx, dword [eax + 0x6c]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x4ace17
push 0
push 0x1c
lea eax, [esp + 0x234]
push eax
push 0
push ecx
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x4ace10
mov ecx, dword [esp + 0x188]
mov eax, dword [esp + 0x244]
mov dword [ecx + 0x6c], eax
jmp 0x4ace1e
mov eax, dword [esp + 0x188]
mov dword [eax + 0x6c], 0x7fffffff
mov esi, dword [esp + 0x188]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
movzx eax, al
cmp dword [esi + 0x6c], ecx
mov ecx, 1
cmovne eax, ecx
cmp dword [esi], 0
mov dword [esp + 0x10], eax
je 0x4aceb0
push 0x2c
lea eax, [esp + 0x250]
mov dword [esp + 0x24c], 0x30
push 0
push eax
call fcn.00536b00
mov bl, byte [esi + 0x8c]
lea eax, [esp + 0x254]
add esp, 0xc
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
mov eax, dword [esp + 0x188]
setne cl
mov byte [eax + 0x8c], cl
mov esi, dword [esp + 0x188]
cmp byte [esi + 0x8c], bl
mov ebx, dword [esp + 0x20]
je 0x4aceac
mov byte [esi + 0x8d], 0
jmp 0x4acebb
mov eax, dword [esp + 0x10]
mov byte [esi + 0x8d], 0
test al, al
je 0x4acecb
push dword [esp + 0x188]
lea eax, [ebx + 0x20]
push eax
call sym.ProcessHacker.exe_PhInvokeCallback
mov ecx, dword ds:[esp + 0x188]
or eax, 0xffffffff
add ecx, 0xfffffff8
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4acee8
call fcn.004c1f60
lea esi, [ebx + 4]
add edi, 0x40
sub dword [esp + 0x24], 1
mov dword [esp + 0x14], edi
jne 0x4ac910
push 0
lea eax, [ebx + 0x40]
push eax
call sym.ProcessHacker.exe_PhInvokeCallback
add dword [ebx + 0x80], 1
mov ecx, dword [esp + 0x3a4]
adc dword [ebx + 0x84], 0
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00534c91
mov esp, ebp
pop ebp
ret
mov ecx, esi
call sym.ProcessHacker.exe_PhfReleaseFastLockShared
mov dword [esp + 0x188], 0
mov eax, dword [0x5cce94]
push dword [0x5cd4d8]
mov esi, dword [edi]
add eax, 0x90
push eax
mov dword [esp + 0x198], 0
mov dword [0x5cce90], 0x90
call sym.ProcessHacker.exe_PhCreateObject
mov edi, eax
push 0x8c
push 0
lea ecx, [edi + 4]
push ecx
call fcn.00536b00
add esp, 0xc
mov dword [edi], esi
mov edx, edi
mov ecx, 6
push 0
call fcn.00416440
mov esi, dword [esp + 0x14]
mov dword [esp + 0x188], edi
mov eax, dword [esi - 0x14]
mov ecx, dword [esi - 0x10]
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov eax, dword [esp + 0x188]
mov ecx, dword [esi - 0x24]
mov edx, dword [esi - 0x20]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x188]
mov ecx, dword [esi - 0x1c]
mov edx, dword [esi - 0x18]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x188]
mov ecx, dword [esi + 0xc]
sub ecx, dword [eax + 0x40]
mov dword [eax + 0x44], ecx
mov eax, dword [esp + 0x188]
mov ecx, dword [esi + 0xc]
mov dword [eax + 0x40], ecx
mov eax, dword [esp + 0x188]
mov ecx, dword [esi + 4]
mov dword [eax + 0x5c], ecx
mov eax, dword [esp + 0x188]
mov ecx, dword [esi + 8]
mov dword [eax + 0x60], ecx
mov eax, dword [esp + 0x188]
mov ecx, dword [esi + 0x10]
mov dword [eax + 0x64], ecx
mov eax, dword [esp + 0x188]
mov ecx, dword [esi + 0x14]
mov dword [eax + 0x68], ecx
cmp dword [ebx + 0x60], 0
je 0x4ad478
cmp byte [0x5cd02b], 0
mov eax, dword [esp + 0x188]
mov dword [esp + 0x28], 0
lea edi, [eax + 0x70]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
je 0x4ad125
mov dword [esp + 0x90], eax
mov eax, dword [0x5cd6d8]
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], 0x40
mov dword [esp + 0x94], 0
test eax, eax
je 0x4ad09e
push 0
push 0
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x90]
push 0x10
push eax
lea eax, [esp + 0x178]
jmp 0x4ad249
push 0
push 0
lea eax, [esp + 0x9c]
mov dword [esp + 0x40], 1
mov dword [esp + 0x48], eax
lea eax, [esp + 0x48]
push 4
mov dword [esp + 0x130], eax
lea eax, [esp + 0x44]
push eax
push 0x9999200b
lea eax, [esp + 0x12c]
mov dword [esp + 0x134], 0x4dd530
push eax
push 0
push 0x4dd440
push 0
push dword [0x5cd6d4]
mov dword [esp + 0x150], 0xc0000001
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
nop
call dword [sym.imp.ntdll.dll_NtTestAlert]
push 0
push 0
lea eax, [esp + 0x90]
push 0x10
push eax
lea eax, [esp + 0x178]
jmp 0x4ad249
push eax
lea eax, [esp + 0xec]
mov dword [esp + 0xec], 0x18
push eax
push 0x40
push edi
mov dword [esp + 0xfc], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
call dword [sym.imp.ntdll.dll_NtOpenThread]
lea esp, [esp]
cmp eax, 0xc0000022
jne 0x4ad266
mov cl, byte [0x5cd02b]
test cl, cl
je 0x4ad274
lea eax, [esp + 0x28]
mov dword [esp + 0x78], edi
mov dword [esp + 0x80], eax
mov eax, dword [0x5cd6d8]
mov dword [esp + 0x7c], 0x40
mov dword [esp + 0x84], 0
test eax, eax
je 0x4ad1cd
mov dword [esp + 0x84], eax
jmp 0x4ad234
push 0
push 0
lea eax, [esp + 0x8c]
mov dword [esp + 0x50], 1
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
push 4
mov dword [esp + 0x144], eax
lea eax, [esp + 0x54]
push eax
push 0x9999200b
lea eax, [esp + 0x140]
mov dword [esp + 0x148], 0x4dd530
push eax
push 0
push 0x4dd440
push 0
push dword [0x5cd6d4]
mov dword [esp + 0x164], 0xc0000001
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
call dword [sym.imp.ntdll.dll_NtTestAlert]
push 0
push 0
lea eax, [esp + 0x80]
push 0x10
push eax
lea eax, [esp + 0x180]
push 0x99992193
push eax
push 0
push 0
push 0
push dword [0x5cd6d4]
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
jns 0x4ad478
mov cl, byte [0x5cd02b]
mov eax, dword [esp + 0x188]
mov dword [esp + 0x30], 0
lea edi, [eax + 0x70]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
test cl, cl
je 0x4ad34f
mov dword [esp + 0x70], eax
mov eax, dword [0x5cd6d8]
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], 0x800
mov dword [esp + 0x74], 0
test eax, eax
je 0x4ad2d4
push 0
push 0
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
push 0x10
push eax
lea eax, [esp + 0x188]
jmp 0x4ad460
push 0
push 0
lea eax, [esp + 0x7c]
mov dword [esp + 0x58], 1
mov dword [esp + 0x54], eax
lea eax, [esp + 0x54]
push 4
mov dword [esp + 0x158], eax
lea eax, [esp + 0x5c]
push eax
push 0x9999200b
lea eax, [esp + 0x154]
mov dword [esp + 0x15c], 0x4dd530
push eax
push 0
push 0x4dd440
push 0
push dword [0x5cd6d4]
mov dword [esp + 0x178], 0xc0000001
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
call dword [sym.imp.ntdll.dll_NtTestAlert]
push 0
push 0
lea eax, [esp + 0x70]
push 0x10
push eax
lea eax, [esp + 0x188]
jmp 0x4ad460
push eax
lea eax, [esp + 0x104]
mov dword [esp + 0x104], 0x18
push eax
push 0x800
push edi
mov dword [esp + 0x114], 0
mov dword [esp + 0x11c], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
call dword [sym.imp.ntdll.dll_NtOpenThread]
cmp eax, 0xc0000022
jne 0x4ad478
cmp byte [0x5cd02b], 0
je 0x4ad478
lea eax, ds:[esp + 0x30]
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], eax
mov eax, dword [0x5cd6d8]
mov dword [esp + 0x5c], 0x800
mov dword [esp + 0x64], 0
test eax, eax
je 0x4ad3ea
mov dword [esp + 0x64], eax
jmp 0x4ad44e
push 0
push 0
lea eax, [esp + 0x6c]
mov dword [esp + 0x20], 1
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push 4
mov dword [esp + 0x16c], eax
lea eax, [esp + 0x24]
push eax
push 0x9999200b
lea eax, [esp + 0x168]
mov dword [esp + 0x170], 0x4dd530
push eax
push 0
push 0x4dd440
push 0
push dword [0x5cd6d4]
mov dword [esp + 0x18c], 0xc0000001
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
call dword [sym.imp.ntdll.dll_NtTestAlert]
push 0
push 0
lea eax, [esp + 0x60]
push 0x10
push eax
lea eax, [esp + 0x190]
push 0x99992193
push eax
push 0
push 0
push 0
push dword [0x5cd6d4]
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
mov edx, dword [esp + 0x188]
lea eax, [esp + 0xe0]
push eax
mov ecx, ebx
call fcn.004ac5c0
test eax, eax
js 0x4ad4c8
mov edx, dword [esp + 0x188]
mov edi, dword [esp + 0xe0]
mov ecx, edi
mov esi, dword [esp + 0xe4]
mov eax, esi
sub ecx, dword [edx + 0x48]
sbb eax, dword [edx + 0x4c]
mov dword [edx + 0x50], ecx
mov dword [edx + 0x54], eax
mov eax, dword [esp + 0x188]
mov dword [eax + 0x48], edi
mov dword [eax + 0x4c], esi
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x188]
mov ecx, dword [edx + 0x10]
sub ecx, dword [edx + 0x20]
mov eax, dword [edx + 0x14]
sbb eax, dword [edx + 0x24]
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], eax
mov edx, dword [esp + 0x188]
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0x14]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov edx, dword [esp + 0x188]
mov ecx, dword [edx + 0x18]
sub ecx, dword [edx + 0x30]
mov eax, dword [edx + 0x1c]
sbb eax, dword [edx + 0x34]
mov dword [edx + 0x38], ecx
mov dword [edx + 0x3c], eax
mov edx, dword [esp + 0x188]
mov eax, dword [edx + 0x18]
mov ecx, dword [edx + 0x1c]
mov dword [edx + 0x30], eax
mov dword [edx + 0x34], ecx
mov ecx, dword [esp + 0x188]
mov eax, dword [ecx + 0x70]
test eax, eax
je 0x4ad54d
push 0
push 4
lea ecx, [esp + 0x198]
push ecx
push 9
push eax
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
mov ecx, dword [esp + 0x188]
mov eax, dword [esp + 0x190]
test eax, eax
jne 0x4ad562
mov eax, dword [esi - 8]
mov dword [esp + 0x190], eax
cdq
mov dword [ecx + 0x78], eax
mov dword [ecx + 0x7c], edx
mov eax, dword [esp + 0x188]
mov ecx, dword [eax + 0x70]
test ecx, ecx
je 0x4ad5aa
push 0
push 0x1c
lea eax, [esp + 0x234]
push eax
push 0
push ecx
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x4ad5a3
mov ecx, dword [esp + 0x188]
mov eax, dword [esp + 0x244]
mov dword [ecx + 0x6c], eax
jmp 0x4ad5b1
mov eax, dword [esp + 0x188]
mov dword [eax + 0x6c], 0x7fffffff
mov eax, dword [ebx + 0x88]
or eax, dword [ebx + 0x8c]
je 0x4ad5e6
mov eax, dword [esp + 0x188]
mov ecx, ebx
push dword [eax + 0x7c]
lea edx, [eax + 0x88]
push dword [eax + 0x78]
call fcn.004ac480
mov ecx, dword [esp + 0x188]
mov dword [ecx + 0x80], eax
mov edx, dword [esp + 0x188]
cmp dword [edx + 0x80], 0
jne 0x4ad6db
mov dword [edx + 0x88], 2
mov edi, dword [0x5cd4f8]
test byte [edi], 1
je 0x4ad648
lea esi, [edi + 0x10]
push esi
call dword [sym.imp.ntdll.dll_RtlInterlockedPopEntrySList]
test eax, eax
je 0x4ad62a
lock dec dword [esi + 8]
add eax, 8
mov byte [eax + 2], 2
jmp 0x4ad65f
mov eax, dword [esi + 0x10]
add eax, 8
push eax
push 4
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
add eax, 8
mov byte [eax + 2], 2
jmp 0x4ad65f
push 0x42
push 4
lfence
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov byte [eax + 2], 0
lock inc dword [edi + 4]
mov dword [eax + 4], 1
xor edx, edx
movzx ecx, byte [edi + 2]
mov word [eax], cx
lea ecx, [eax + 8]
mov dword [ecx], 0x30
lea eax, [ecx + 8]
mov dword [ecx + 4], eax
mov word [eax + 0x30], dx
mov eax, dword [esp + 0x188]
push 0x10
mov dword [eax + 0x80], ecx
mov eax, dword [esp + 0x18c]
mov ecx, dword [eax + 0x78]
mov eax, dword [eax + 0x80]
mov eax, dword [eax + 4]
mov dword [eax], 0x780030
add eax, 4
push eax
push ecx
call fcn.005388ed
mov eax, dword [esp + 0x194]
add esp, 0xc
mov esi, dword [eax + 0x80]
push dword [esi + 4]
call sym.ProcessHacker.exe_PhCountStringZ
add eax, eax
mov dword [esi], eax
mov edx, dword [esp + 0x188]
mov esi, dword ds:[edx]
test esi, esi
je 0x4ad730
push 0x2c
lea eax, [esp + 0x280]
mov dword [esp + 0x27c], 0x30
push 0
push eax
call fcn.00536b00
add esp, 0xc
lea eax, [esp + 0x278]
push eax
push esi
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
test eax, eax
mov eax, dword [esp + 0x188]
setne cl
mov byte [eax + 0x8c], cl
mov edx, dword [esp + 0x188]
mov ecx, ebx
call fcn.004ac380
lea esi, ds:[ebx + 4]
mov ecx, esi
call sym.ProcessHacker.exe_PhfAcquireFastLockExclusive
lea eax, [esp + 0x188]
push eax
push dword [ebx]
call sym.ProcessHacker.exe_PhAddEntryHashtable
mov ecx, esi
call sym.ProcessHacker.exe_PhfReleaseFastLockExclusive
push dword [esp + 0x188]
lea eax, [ebx + 0x10]
push eax
call sym.ProcessHacker.exe_PhInvokeCallback
mov edi, dword [esp + 0x14]
jmp 0x4aceeb