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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
or eax, esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], edi
jne 0x4ac11c
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4ac0f3
mov dword [eax], 3
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4ac0fc
mov dword [eax], edi
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4ac105
mov dword [eax], edi
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4ac12b
mov dword [eax], edi
mov dword [eax + 4], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov ecx, ebx
call fcn.004abcd0
cmp dword [0x54b5f8], edi
jne 0x4ac136
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
push 0x154
push 4
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x58
push 0
push eax
mov dword [esp + 0x18], eax
call fcn.004dce30
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, 0x54aee4
mov dword [eax], 0x58
mov dword [eax + 0x50], 0x80
call sym.ProcessHacker.exe_PhfAcquireFastLockExclusive
push dword [esp + 0xc]
lea eax, [esp + 0x2c]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebx + 0xc]
call dword [0x54b5f8]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x10], ecx
inc ecx
mov dword [esp + 0x18], ecx
cmp ecx, 0x80
jbe 0x4ac201
push eax
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esp + 0x10]
lea eax, [ecx*2 + 0x56]
push eax
push 4
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push 0x58
push 0
push eax
mov dword [esp + 0x18], eax
call fcn.004dce30
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x18]
push eax
mov dword [eax], 0x58
mov dword [eax + 0x50], ecx
lea eax, [esp + 0x2c]
push eax
push esi
push dword [ebp + 0xc]
push dword [ebx + 0xc]
call dword [0x54b5f8]
mov ecx, 0x54aee4
call sym.ProcessHacker.exe_PhfReleaseFastLockExclusive
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov eax, ecx
or eax, edx
jne 0x4ac235
lea eax, [esp + 0x14]
push eax
push esi
push dword [ebp + 0xc]
push ebx
call sym.ProcessHacker.exe_PhGetModuleFromAddress
mov edi, dword [esp + 0x14]
mov ebx, eax
jmp 0x4ac2b9
mov dword [esp + 0x4c], edx
xor eax, eax
lea edx, [ebx + 8]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], edx
mov ecx, 5
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4ac25a
mov ecx, edx
call sym.ProcessHacker.exe_PhfAcquireQueuedLockShared
mov esi, dword [ebx + 0x24]
test esi, esi
je 0x4ac29c
push esi
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebx + 0x30]
call eax
test eax, eax
je 0x4ac28d
jns 0x4ac277
mov esi, dword [esi + 4]
jmp 0x4ac27a
mov esi, dword [esi + 8]
test esi, esi
je 0x4ac29c
push esi
lea eax, [esp + 0x3c]
push eax
mov eax, dword [ebx + 0x30]
call eax
test eax, eax
jne 0x4ac270
test esi, esi
je 0x4ac29c
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x4ac29c
lock inc dword [edi - 4]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov eax, 5
lock cmpxchg dword [ecx], edx
cmp eax, 5
je 0x4ac2b5
call sym.ProcessHacker.exe_PhfReleaseQueuedLockShared
mov ebx, dword [esp + 0x18]
test edi, edi
jne 0x4ac317
push dword [0x54b7b4]
mov dword [esp + 0x18], 2
push 0x3a
call sym.ProcessHacker.exe_PhCreateObject
mov esi, eax
xor ecx, ecx
lea eax, [esi + 8]
mov dword [esp + 0x10], esi
push 0x10
mov dword [esi + 4], eax
mov dword [esi], 0x30
mov word [eax + 0x30], cx
mov eax, dword [esi + 4]
mov dword [eax], 0x780030
add eax, 4
push eax
push dword [ebp + 0xc]
call fcn.004dec37
add esp, 0xc
push dword [esi + 4]
call sym.ProcessHacker.exe_PhCountStringZ
add eax, eax
xor ebx, ebx
mov dword [esi], eax
jmp 0x4ac478
push edi
call sym.ProcessHacker.exe_PhGetBaseName
mov ecx, dword [esp + 0xc]
mov esi, eax
mov dword [esp + 0x24], esi
mov eax, dword [ecx + 0x4c]
test eax, eax
jne 0x4ac392
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi]
sub eax, ebx
mov dword [esp + 0x70], eax
mov eax, dword [esi]
add eax, 0x26
mov dword [esp + 0x40], ecx
mov ecx, dword [esi + 4]
push eax
push 3
lea eax, [esp + 0x38]
mov dword [esp + 0x1c], 1
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 1
mov dword [esp + 0x64], 6
mov dword [esp + 0x68], 0x531bfc
mov dword [esp + 0x6c], 0x10a
mov byte [esp + 0x76], 0x10
call sym.ProcessHacker.exe_PhFormat
xor ebx, ebx
jmp 0x4ac474
add eax, eax
push eax
lea eax, [ecx + 0x54]
push eax
call sym.ProcessHacker.exe_PhCreateStringEx
mov edx, dword [esp + 0x28]
mov ebx, eax
mov ecx, edx
mov dword [esp + 0x14], 0
or ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], 1
mov dword [esp + 0x48], 0
mov dword [esp + 0x60], 1
jne 0x4ac402
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [esp + 0x44], eax
mov eax, 0x21
mov word [esp + 0x58], ax
mov eax, dword [ebx]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x40], ecx
mov ecx, dword [ebx]
mov dword [esp + 0x74], eax
add ecx, 2
mov eax, dword [esi]
add eax, ecx
push eax
push 3
lea eax, [esp + 0x38]
jmp 0x4ac46e
mov eax, dword [esi]
mov ecx, dword [ebx]
mov dword [esp + 0x40], eax
add ecx, 0x28
mov eax, dword [esi + 4]
mov dword [esp + 0x44], eax
mov eax, 0x21
mov word [esp + 0x58], ax
mov eax, dword [ebx]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x74], eax
mov eax, dword [esi]
add eax, ecx
mov dword [esp + 0x78], 1
push eax
mov dword [esp + 0x8c], 6
lea eax, [esp + 0x34]
mov dword [esp + 0x90], 0x531bfc
mov dword [esp + 0x94], 0x10a
mov dword [esp + 0xa4], edx
mov byte [esp + 0x9e], 0x10
push 5
push eax
call sym.ProcessHacker.exe_PhFormat
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4ac485
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4ac496
mov dword [eax], edi
test edi, edi
je 0x4ac496
lock inc dword [edi - 4]
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x4ac4a7
mov dword [eax], ebx
test ebx, ebx
je 0x4ac4a7
lock inc dword [ebx - 4]
mov ecx, dword [ebp + 0x20]
test ecx, ecx
je 0x4ac4bb
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 4], eax
or esi, 0xffffffff
test edi, edi
je 0x4ac4d4
lea ecx, [edi - 8]
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ac4d4
call fcn.004a2a20
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4ac4ee
lea ecx, [eax - 8]
mov eax, esi
lock xadd dword [ecx + 4], eax
dec eax
jne 0x4ac4ee
call fcn.004a2a20
test ebx, ebx
je 0x4ac502
lea ecx, [ebx - 8]
lock xadd dword [ecx + 4], esi
dec esi
jne 0x4ac502
call fcn.004a2a20
push dword [esp + 0xc]
push 0
push dword [0x54b674]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c