Function at 0x4d2a00
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x89c
mov eax, dword [0x5c7004]
xor eax, esp
mov dword [esp + 0x898], eax
mov ecx, dword [ebp + 0x14]
xor dl, dl
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x1c]
push edi
mov dword [esp + 0x2c], ecx
xor edi, edi
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ecx
mov byte [esp + 0x30], 0
mov byte [esp + 0x13], 0
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], edx
test eax, eax
jne 0x4d2ae4
mov edi, edi
cmp dword [0x5cd6d4], edi
jne 0x4d2aa3
test esi, esi
je 0x4d2aa3
push dword [esi]
mov edx, 0x410
lea ecx, [esp + 0x28]
call fcn.004d3720
mov ecx, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jns 0x4d2ad7
lfence
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x898]
xor ecx, esp
call fcn.00534c91
mov esp, ebp
pop ebp
ret 0x1c
lea eax, [esp + 0x24]
push eax
push 0x410
push ebx
call sym.ProcessHacker.exe_PhOpenThreadProcess
mov ecx, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jns 0x4d2ad7
lfence
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x898]
xor ecx, esp
call fcn.00534c91
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x13], 1
test esi, esi
je 0x4d2b1a
mov ecx, dword fs:[0x18]
mov eax, dword [esi + 4]
cmp eax, dword [ecx + 0x24]
mov ecx, dword [esi]
sete al
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x4d2b09
cmp ecx, 4
jne 0x4d2b0f
mov dl, 1
mov dword [esp + 0x14], edx
mov esi, 1
test dl, dl
jne 0x4d2b62
jmp 0x4d2b33
lea ebx, [ebx]
cmp ebx, 0xfffffffe
jne 0x4d2dc5
mov byte [esp + 0x18], 1
mov esi, 1
push 0
push 4
lea eax, [esp + 0x30]
push eax
push 9
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
mov edx, dword [esp + 0x14]
test eax, eax
js 0x4d2b5e
mov eax, dword [esp + 0x28]
cmp eax, dword [0x5cd550]
movzx edx, dl
cmova edx, esi
mov eax, dword [esp + 0x18]
test al, al
jne 0x4d2b83
test dl, dl
jne 0x4d2b83
push 0
push ebx
call dword [sym.imp.ntdll.dll_NtSuspendThread]
mov ecx, dword [esp + 0x30]
test eax, eax
movzx ecx, cl
cmovns ecx, esi
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x18]
test cl, 0x10
je 0x4d2c76
mov eax, dword [0x5cd6d4]
test eax, eax
je 0x4d2c76
push 0
push 0
lea ecx, [esp + 0x4b0]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x7c], ecx
lea ecx, [esp + 0x1c]
push 0x18
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x74]
push ecx
push 0x999921ab
lea ecx, [esp + 0x30]
mov dword [esp + 0x7c], ebx
push ecx
push 0
push 0
push 0
push eax
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 0xfe
mov dword [esp + 0xa4], 0
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
test eax, eax
js 0x4d2c73
push 0x2c
lea eax, [esp + 0xa0]
push 0
push eax
call fcn.00536b00
xor esi, esi
add esp, 0xc
cmp dword [esp + 0x14], esi
jbe 0x4d2c73
jmp 0x4d2c30
mov eax, dword [esp + esi*4 + 0x4a8]
push dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0xa0]
push eax
mov dword [esp + 0xc8], 4
call dword [0x55890c]
nop
call dword [esp + 0x34]
test al, al
je 0x4d2f89
inc esi
cmp esi, dword [esp + 0x14]
jb 0x4d2c30
mov ecx, dword [ebp + 0x18]
test cl, 1
je 0x4d2f89
lea eax, [esp + 0x1d8]
mov dword [esp + 0x1d8], 0x1003f
push eax
push ebx
call dword [sym.imp.ntdll.dll_NtGetContextThread]
mov dword ds:[esp + 0x1c], eax
test eax, eax
js 0x4d2f85
push 0x110
lea eax, [esp + 0xcc]
push 0
push eax
lfence
call fcn.00536b00
mov eax, dword [esp + 0x29c]
add esp, 0xc
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x29c]
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x28c]
mov dword [esp + 0x1d0], 0x110
mov dword [esp + 0xd4], 3
mov dword [esp + 0x104], 3
mov dword [esp + 0xf4], 3
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x24]
xor edi, edi
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xec], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0x28], eax
call fcn.004d1a80
mov eax, dword [0x5cd6c8]
mov ecx, 0x5cf094
mov dword [esp + 0x18], eax
mov eax, dword [0x5cd694]
mov dword [esp + 0x14], eax
call sym.ProcessHacker.exe_PhfAcquireFastLockExclusive
mov esi, dword [0x5cd6b8]
test esi, esi
je 0x4d2e30
jmp 0x4d2d80
cmp dword [0x5cd6a8], edi
je 0x4d2e30
push edi
push edi
push dword [esp + 0x1c]
lea eax, [esp + 0x1e4]
mov ecx, esi
push dword [esp + 0x24]
push edi
push eax
lea eax, [esp + 0xe0]
push eax
push ebx
push dword [esp + 0x48]
push 0x14c
call dword [0x55890c]
call esi
jmp 0x4d2dc0
jmp 0x4d2e6a
push 0
push 0x1c
lea eax, [esp + 0x88]
push eax
push 0
push ebx
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
lea ebx, [ebx]
test eax, eax
js 0x4d2b2e
mov ecx, dword fs:[0x18]
mov esi, 1
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x8c]
movzx edx, dl
cmp eax, dword [ecx + 0x24]
mov eax, dword [esp + 0x88]
cmove edx, esi
mov dword [esp + 0x18], edx
test eax, eax
je 0x4d2e29
jmp 0x4d2e20
cmp eax, 4
jne 0x4d2b33
mov dl, 1
jmp 0x4d2b5e
mov esi, dword [0x5cd6b0]
test esi, esi
je 0x4d2e6c
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x1e0]
mov ecx, esi
push dword [esp + 0x20]
push 0
push eax
lea eax, [esp + 0xdc]
push eax
push ebx
push dword [esp + 0x44]
push 0x14c
call dword [0x55890c]
call esi
mov edi, eax
mov ecx, 0x5cf094
call sym.ProcessHacker.exe_PhfReleaseFastLockExclusive
test edi, edi
je 0x4d2f85
mov ecx, dword [esp + 0xc8]
mov eax, ecx
mov edx, dword [esp + 0xcc]
or eax, edx
je 0x4d2f85
mov eax, ecx
and eax, edx
cmp eax, 0xffffffff
je 0x4d2f85
mov eax, dword [esp + 0xd8]
cmp dword [esp + 0x118], 0
push dword [esp + 0x34]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xec]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xfc]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10c]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x134]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x13c]
mov dword [esp + 0x60], eax
mov eax, 1
mov dword [esp + 0x40], ecx
mov ecx, 0x101
cmovne eax, ecx
mov ecx, esi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1d8]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x40]
push eax
call dword [0x55890c]
mov edi, edi
call esi
test al, al
je 0x4d2f85
mov eax, dword ds:[esp + 0x3c]
mov dword [esp + 0x290], eax
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28c], eax
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x29c], eax
mov dword [esp + 0xf8], eax
jmp 0x4d2d18
mov edi, dword [esp + 0x1c]
cmp byte [esp + 0x30], 0
je 0x4d2f99
push 0
push ebx
call dword [sym.imp.ntdll.dll_NtResumeThread]
cmp byte ds:[esp + 0x13], 0
je 0x4d2fac
push dword [esp + 0x24]
call dword [sym.imp.ntdll.dll_NtClose]
mov ecx, dword [esp + 0x8a4]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00534c91
mov esp, ebp
pop ebp
ret 0x1c