Function at 0x421c20
Capabilities:
Check mutex on windows
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x68c
mov eax, dword [0x5c7004]
xor eax, esp
mov dword [esp + 0x688], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x28]
test ecx, ecx
je 0x421c4e
mov ecx, dword [ecx + 4]
jmp 0x421c53
mov ecx, 0x5621e4
mov eax, dword [edi + 0x60]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
push eax
push 0
push 0x104c
push dword [edi]
mov dword [esp + 0x84], 1
mov dword [esp + 0x8c], 1
mov dword [esp + 0x98], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x421c9a
mov ecx, dword [ecx + 4]
jmp 0x421c9f
mov ecx, 0x5621e4
mov eax, dword [edi + 0x64]
mov dword [esp + 0xb4], eax
lea eax, [esp + 0xb0]
push eax
push 0
push 0x104c
push dword [edi]
mov dword [esp + 0xc0], 1
mov dword [esp + 0xc8], 1
mov dword [esp + 0xd4], ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 8]
mov ebx, 0x30
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x421d52
push 0x10
lea eax, [esp + 0x3c0]
mov dword [esp + 0x3bc], 0x780030
push eax
push ecx
call fcn.005388ed
mov eax, dword [edi + 0x68]
add esp, 0xc
mov dword [esp + 0xf0], eax
lea eax, [esp + 0x3b8]
mov dword [esp + 0x100], eax
lea eax, [esp + 0xec]
mov dword [esp + 0xec], 1
push eax
push 0
push 0x104c
push dword [edi]
mov dword [esp + 0x104], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x421d5e
mov eax, dword [eax + 4]
jmp 0x421d63
mov eax, 0x5621e4
lea ecx, [esp + 0x220]
push ecx
lea ecx, [esp + 0x21c]
push ecx
push eax
call sym.ProcessHacker.exe_PhGetAccessEntries
mov ecx, dword ds:[edi + 8]
test al, al
je 0x421e68
push dword [esp + 0x220]
mov esi, dword [esp + 0x21c]
push esi
push dword [ecx + 0x14]
call sym.ProcessHacker.exe_PhGetAccessString
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
cmp dword [eax], 0
je 0x421dfa
push dword [eax + 4]
mov eax, dword [edi + 8]
push dword [eax + 0x14]
push str.0x_x___s_
call sym.ProcessHacker.exe_PhFormatString
add esp, 0xc
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov dword [esp + 0x128], 1
mov dword [esp + 0x12c], 3
mov dword [esp + 0x130], 1
mov eax, dword [eax + 4]
mov dword [esp + 0x13c], eax
lea eax, [esp + 0x128]
jmp 0x421e45
mov eax, dword [edi + 8]
lea ecx, [esp + 0x3bc]
push 0x10
push ecx
mov eax, dword [eax + 0x14]
push eax
mov dword [esp + 0x3c4], 0x780030
call fcn.005388ed
lea eax, [esp + 0x3c4]
mov dword [esp + 0x44], 1
mov dword [esp + 0x58], eax
add esp, 0xc
mov dword [esp + 0x3c], 3
lea eax, [esp + 0x38]
mov dword [esp + 0x40], 1
push eax
push 0
push 0x104c
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x421ec6
mov eax, dword [ecx + 0x14]
lea ecx, [esp + 0x3bc]
push 0x10
push ecx
push eax
mov dword [esp + 0x3c4], 0x780030
call fcn.005388ed
add esp, 0xc
mov dword [esp + 0x38], 1
lea eax, [esp + 0x3b8]
mov dword [esp + 0x3c], 3
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x40], 1
push eax
push 0
push 0x104c
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x18], 0
push eax
push 0x40
lea eax, [esp + 0x240]
mov dword [esp + 0x2c], 0x18
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call dword [sym.imp.ntdll.dll_NtOpenProcess]
nop
cmp eax, 0xc0000022
jne 0x421f4a
cmp byte [0x5cd02b], 0
je 0x422126
lea eax, [esp + 0x10]
mov edx, 0x40
push eax
lea ecx, [esp + 0x238]
call fcn.004dd080
test eax, eax
js 0x422126
mov eax, dword ds:[edi + 8]
lea ecx, [esp + 0x2a8]
push 0
push 0
push 0
push 0
push ecx
lea ecx, [esp + 0x274]
push ecx
push 0
push 0xffffffffffffffff
push dword [eax + 8]
push dword [esp + 0x258]
call sym.ProcessHacker.exe_PhGetHandleInformationEx
test eax, eax
js 0x422118
mov eax, dword [esp + 0x260]
test eax, eax
js 0x422118
push 0xa
lea eax, [esp + 0x3bc]
push eax
push dword [esp + 0x2bc]
call fcn.005388ed
add esp, 0xc
mov dword [esp + 0x164], 1
lea eax, [esp + 0x3b8]
mov dword [esp + 0x168], 4
mov dword [esp + 0x178], eax
lea eax, [esp + 0x164]
mov dword [esp + 0x16c], 1
push eax
push 0
push 0x104c
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
lea eax, [esp + 0x3bc]
push eax
push dword [esp + 0x2b8]
call fcn.005388ed
add esp, 0xc
mov dword [esp + 0x1a0], 1
lea eax, [esp + 0x3b8]
mov dword [esp + 0x1a4], 5
mov dword [esp + 0x1b4], eax
lea eax, [esp + 0x1a0]
mov dword [esp + 0x1a8], 1
push eax
push 0
push 0x104c
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
lea eax, [esp + 0x3bc]
push eax
push dword [esp + 0x2c0]
call fcn.005388ed
add esp, 0xc
mov dword [esp + 0x1dc], 1
lea eax, [esp + 0x3b8]
mov dword [esp + 0x1e0], 6
mov dword [esp + 0x1f0], eax
lea eax, [esp + 0x1dc]
mov dword [esp + 0x1e4], 1
push eax
push 0
push 0x104c
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xa
lea eax, [esp + 0x3bc]
push eax
push dword [esp + 0x2c4]
call fcn.005388ed
add esp, 0xc
mov dword [esp + 0x2e0], 1
lea eax, [esp + 0x3b8]
mov dword [esp + 0x2e4], 7
mov dword [esp + 0x2f4], eax
lea eax, [esp + 0x2e0]
mov dword [esp + 0x2e8], 1
push eax
push 0
push 0x104c
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword ds:[esp + 0x234]
call dword [sym.imp.ntdll.dll_NtClose]
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x4230d8
cmp dword [eax], 0
je 0x4230d8
push 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x12
push ecx
push eax
mov dword [esp + 0x28], str.ALPC_Port
call sym.ProcessHacker.exe_PhEqualStringRef
lea ebx, [ebx]
test al, al
je 0x422271
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x21c], 0
lea ecx, [esp + 0x228]
call fcn.004d3720
test eax, eax
js 0x4230d8
push 0
push 0
push 0x20000
lea eax, [esp + 0x224]
push eax
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push dword [eax + 8]
push dword [esp + 0x23c]
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
push dword ds:[esp + 0x224]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
js 0x4230d8
mov eax, dword [esp + 0x218]
test eax, eax
je 0x4230d8
push 0
push 0xc
lea ecx, [esp + 0x270]
push ecx
push 0
push eax
call dword [sym.imp.ntdll.dll_NtAlpcQueryInformation]
test eax, eax
js 0x422265
push 0xa
lea eax, [esp + 0x3bc]
push eax
push dword [esp + 0x274]
call fcn.005388ed
add esp, 0xc
lea eax, [esp + 0x3b8]
push eax
push 1
push dword [edi + 0x80]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push 0x10
lea eax, [esp + 0x3c0]
mov dword [esp + 0x3bc], 0x780030
push eax
push dword [esp + 0x278]
call fcn.005388ed
add esp, 0xc
lea eax, [esp + 0x3b8]
push eax
push 1
push dword [edi + 0x84]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push dword [esp + 0x218]
jmp 0x4230d2
mov eax, dword [edi + 8]
lea ecx, [esp + 0x238]
push 1
push ecx
mov dword [esp + 0x240], 0x1e
push dword [eax + 0x20]
mov dword [esp + 0x248], str.EtwRegistration
call sym.ProcessHacker.exe_PhEqualStringRef
mov ecx, dword ds:[edi + 8]
test al, al
je 0x4222da
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x4222b0
mov eax, dword [eax + 4]
jmp 0x4222b2
xor eax, eax
push eax
push 1
push dword [edi + 0xc0]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x688]
xor ecx, esp
call fcn.00534c91
mov esp, ebp
pop ebp
ret
push 1
lea eax, [esp + 0x22c]
mov dword [esp + 0x22c], 8
push eax
push dword [ecx + 0x20]
mov dword [esp + 0x238], 0x585098
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x42273d
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x220], 0
lea ecx, [esp + 0x228]
call fcn.004d3720
test eax, eax
js 0x4230d8
push 0
push 0
push 0x2000000
lea eax, [esp + 0x228]
push eax
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push dword [eax + 8]
push dword [esp + 0x23c]
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
push dword [esp + 0x224]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
js 0x4230d8
mov eax, dword ds:[esp + 0x21c]
test eax, eax
je 0x4230d8
push 4
push 8
lea ecx, [esp + 0x2a8]
xor bh, bh
push ecx
lea ecx, [esp + 0x274]
xor bl, bl
push ecx
push eax
call dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
test eax, eax
js 0x4223fc
mov eax, dword [esp + 0x2a0]
add eax, 0xfffffffe
cmp eax, 0x4e
ja case.0x4223c1.9
movzx eax, byte [eax + 0x423104]
jmp dword [eax*4 + 0x4230f0]
push str.Pipe
jmp 0x4223ed
push str.Network
jmp 0x4223ed
mov bh, 1
push str.File_or_directory
jmp 0x4223ed
mov bl, 1
push str.Console
jmp 0x4223ed
push 0x586c48
push 1
push dword [edi + 0x88]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
mov ecx, dword [esp + 0x21c]
lea eax, [esp + 0x264]
push 4
push eax
mov edx, 0x10
call fcn.004ec480
test eax, eax
js 0x42252b
mov eax, dword [esp + 0x264]
mov edx, eax
mov ecx, eax
and edx, 0xfeffffff
or ecx, 0x1000000
test al, 0x30
push 6
cmovne ecx, edx
push 0x5c7968
push ecx
call sym.ProcessHacker.exe_PhGetAccessString
mov ecx, dword [esp + 0x264]
mov esi, eax
push 0
mov dword [esp + 0x344], 1
mov dword [esp + 0x354], 4
mov dword [esp + 0x358], 0x586c54
mov dword [esp + 0x35c], pe_nt_image_headers32
mov dword [esp + 0x36c], ecx
mov byte [esp + 0x366], 0x10
mov dword [esp + 0x374], 1
mov dword [esp + 0x384], 4
mov dword [esp + 0x388], 0x585aac
mov dword [esp + 0x38c], 1
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [esp + 0x39c], eax
lea eax, [esp + 0x48c]
push 0x208
push eax
push 5
lea eax, [esp + 0x350]
mov dword [esp + 0x3ac], ecx
push eax
mov dword [esp + 0x3b4], 1
mov dword [esp + 0x3c4], 2
mov dword [esp + 0x3c8], 0x586c5c
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x422525
lea eax, [esp + 0x488]
push eax
push 1
push dword [edi + 0x8c]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push esi
call sym.ProcessHacker.exe_PhDereferenceObject
test bl, bl
jne 0x4230cb
mov ecx, dword [esp + 0x21c]
lea eax, [esp + 0x278]
push 0x18
push eax
mov edx, 5
call fcn.004ec480
test eax, eax
js 0x4225dc
mov eax, dword [esp + 0x280]
mov ecx, dword [esp + 0x284]
push 0
mov dword [esp + 0x254], eax
lea eax, [esp + 0x424]
push 0x64
push eax
push 1
lea eax, [esp + 0x250]
mov dword [esp + 0x250], 0xc
push eax
mov dword [esp + 0x268], ecx
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x4225b3
lea eax, [esp + 0x420]
push eax
push 1
push dword [edi + 0x94]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
test bh, bh
je 0x4225dc
cmp byte [esp + 0x28d], 0
mov ecx, 0x585098
mov eax, 0x586c60
cmove eax, ecx
push eax
push 1
push dword [edi + 0x88]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
mov ecx, dword [esp + 0x21c]
lea eax, [esp + 0x298]
push 8
push eax
mov edx, 0xe
call fcn.004ec480
test eax, eax
js 0x4230cb
mov ecx, dword [esp + 0x298]
mov eax, ecx
mov edx, dword [esp + 0x29c]
or eax, edx
je 0x4230cb
mov eax, dword [esp + 0x280]
or eax, dword [esp + 0x284]
push 0
push 0x64
je 0x4226e8
fild qword [esp + 0x2a0]
mov dword [esp + 0x2e8], 0x10009
mov eax, 1
mov dword [esp + 0x2f8], ecx
mov dword [esp + 0x2fc], edx
mov dword [esp + 0x300], 1
mov dword [esp + 0x310], 4
mov dword [esp + 0x314], 0x585aac
mov dword [esp + 0x318], 0x4b
fstp qword [esp + 0x230]
fld qword [esp + 0x230]
fild qword [esp + 0x288]
fstp qword [esp + 0x230]
fdiv qword [esp + 0x230]
mov word [esp + 0x31c], ax
mov dword [esp + 0x330], eax
lea eax, [esp + 0x428]
push eax
mov dword [esp + 0x344], 4
lea eax, [esp + 0x2ec]
mov dword [esp + 0x348], 0x586c74
push 4
fmul qword [0x5b96c0]
fstp qword [esp + 0x330]
jmp 0x422712
lea eax, [esp + 0x428]
mov dword [esp + 0x248], 0x10009
push eax
mov dword [esp + 0x25c], ecx
lea eax, [esp + 0x24c]
mov dword [esp + 0x260], edx
push 1
push eax
call sym.ProcessHacker.exe_PhFormatToBuffer
jmp 0x422720
test al, al
je 0x4230cb
lea eax, [esp + 0x420]
push eax
push 1
push dword [edi + 0x90]
jmp 0x4230c4
mov eax, dword [edi + 8]
lea ecx, [esp + 0x228]
push 1
push ecx
mov dword [esp + 0x230], 0xe
push dword [eax + 0x20]
mov dword [esp + 0x238], 0x58635c
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x422a45
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x21c], 0
lea ecx, [esp + 0x268]
call fcn.004d3720
test eax, eax
js 0x4230d8
push 0
push 0
push 5
lea eax, [esp + 0x224]
push eax
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push dword [eax + 8]
push dword [esp + 0x27c]
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
mov esi, eax
test esi, esi
jns 0x4227e9
push 0
push 0
push 1
lea eax, [esp + 0x224]
push eax
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push dword [eax + 8]
push dword [esp + 0x27c]
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
mov esi, eax
push dword [esp + 0x264]
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
js 0x4230d8
mov eax, dword [esp + 0x218]
test eax, eax
je 0x4230d8
push 0
push 0x10
lea ecx, [esp + 0x270]
mov dword [esp + 0x228], 0
push ecx
push 0
mov ebx, 0x585a18
mov dword [esp + 0x234], 0
push eax
mov dword [esp + 0x230], ebx
call dword [sym.imp.ntdll.dll_NtQuerySection]
test eax, eax
js 0x4228f9
mov eax, dword [esp + 0x26c]
test eax, 0x8000000
je 0x422869
mov dword [esp + 0x21c], 0x586c7c
jmp 0x4228a8
test eax, 0x800000
je 0x42287d
mov dword [esp + 0x21c], 0x585098
jmp 0x4228a8
lea ecx, [ecx]
test eax, 0x1000000
je 0x422894
mov dword [esp + 0x21c], 0x586c8c
jmp 0x4228a8
test eax, 0x4000000
mov eax, str.Reserve
cmove eax, ebx
mov dword [esp + 0x21c], eax
mov al, byte [0x5cc1a4]
mov ecx, dword [esp + 0x274]
mov byte [esp + 0x282], al
mov eax, dword [esp + 0x270]
push 0
mov dword [esp + 0x28c], eax
lea eax, [esp + 0x27c]
push 1
push eax
mov dword [esp + 0x284], 0x10c
mov dword [esp + 0x298], ecx
call sym.ProcessHacker.exe_PhFormat
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov dword [esp + 0x220], eax
mov ecx, dword [esp + 0x218]
lea edx, [esp + 0x224]
call fcn.004ea500
test eax, eax
js 0x4229d5
push dword [0x5cf03c]
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [esp + 0x224]
mov esi, eax
test ebx, ebx
je 0x4229c1
mov eax, dword [esi]
cmp eax, 0x40
jae 0x422949
mov dword [esi + eax*4 + 4], ebx
inc dword [esi]
jmp 0x4229c1
cmp dword [esi + 0x10c], 0
jne 0x422975
push 0x100
push 4
push dword [0x5cd55c]
mov dword [esi + 0x108], 0x40
call dword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov dword [esi + 0x10c], eax
mov ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x108]
cmp ecx, eax
jne 0x4229b2
add eax, eax
mov dword [esi + 0x108], eax
shl eax, 2
push eax
push dword [esi + 0x10c]
push 4
push dword [0x5cd55c]
call dword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov ecx, dword [esi + 0x104]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x10c]
mov dword [eax + ecx*4], ebx
inc dword [esi + 0x104]
push ebx
call sym.ProcessHacker.exe_PhResolveDevicePrefix
test eax, eax
je 0x4229dc
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov ebx, eax
jmp 0x4229dc
mov ebx, dword [esp + 0x224]
push dword [esp + 0x21c]
push 1
push dword [edi + 0x98]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
test ebx, ebx
je 0x4229fb
mov eax, dword [ebx + 4]
jmp 0x422a00
mov eax, 0x586ca8
push eax
push 1
push dword [edi + 0x9c]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
mov eax, dword [esp + 0x220]
test eax, eax
je 0x422a22
mov eax, dword ds:[eax + 4]
jmp 0x422a27
mov eax, 0x585a18
push eax
push 1
push dword [edi + 0xa0]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push dword ds:[esp + 0x218]
jmp 0x4230d2
mov eax, dword [edi + 8]
lea ecx, [esp + 0x228]
push 1
push ecx
mov dword [esp + 0x230], 0xc
push dword [eax + 0x20]
mov dword [esp + 0x238], 0x586af8
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x422bf1
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x21c], 0
lea ecx, [esp + 0x224]
call fcn.004d3720
test eax, eax
js 0x4230d8
push 0
push 0
push 1
lea eax, [esp + 0x224]
push eax
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push dword [eax + 8]
push dword [esp + 0x238]
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
push dword [esp + 0x220]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
js 0x4230d8
mov eax, dword [esp + 0x218]
test eax, eax
je 0x4230d8
push 0
push 8
lea ecx, [esp + 0x230]
push ecx
push 0
push eax
call dword [sym.imp.ntdll.dll_NtQueryMutant]
test eax, eax
js 0x422b85
mov eax, dword ds:[esp + 0x228]
cdq
push 0
mov dword [esp + 0x254], eax
lea eax, [esp + 0x244]
push 1
push eax
mov dword [esp + 0x24c], 0x10009
mov dword [esp + 0x260], edx
call sym.ProcessHacker.exe_PhFormat
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
push 1
push dword [edi + 0xa4]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
cmp byte ds:[esp + 0x22d], 0
mov ecx, str.False
mov eax, str.True
cmove eax, ecx
push eax
push 1
push dword [edi + 0xa8]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push 0
push 8
lea eax, [esp + 0x240]
push eax
push 1
push dword [esp + 0x228]
call dword [sym.imp.ntdll.dll_NtQueryMutant]
test eax, eax
js 0x422265
cmp dword [esp + 0x238], 0
je 0x422265
xor edx, edx
lea ecx, [esp + 0x238]
call fcn.004ea5a0
mov esi, eax
push dword [esi + 4]
push 1
push dword [edi + 0xac]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push esi
call sym.ProcessHacker.exe_PhDereferenceObject
push dword [esp + 0x218]
jmp 0x4230d2
mov eax, dword [edi + 8]
lea ecx, [esp + 0x228]
push 1
push ecx
mov dword [esp + 0x230], 0xe
push dword [eax + 0x20]
mov dword [esp + 0x238], 0x584fdc
call sym.ProcessHacker.exe_PhEqualStringRef
lea esp, [esp]
test al, al
je 0x422e6b
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x21c], 0
lea ecx, [esp + 0x224]
call fcn.004d3720
test eax, eax
js 0x4230d8
push 0
push 0
push 0x1000
lea eax, [esp + 0x224]
push eax
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push dword [eax + 8]
push dword [esp + 0x238]
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
push dword ds:[esp + 0x220]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
test esi, esi
js 0x4230d8
mov eax, dword [esp + 0x218]
test eax, eax
je 0x4230d8
lea ecx, [esp + 0x224]
mov esi, 0x103
push ecx
push eax
call sym.ProcessHacker.exe_PhGetProcessImageFileName
test eax, eax
js 0x422d0c
push dword ds:[esp + 0x224]
call sym.ProcessHacker.exe_PhGetFileName
mov ebx, eax
mov eax, dword [esp + 0x224]
test eax, eax
je 0x422ce8
lea ecx, ds:[eax - 8]
or edx, 0xffffffff
lock xadd dword [ecx + 4], edx
dec edx
jne 0x422ce8
call fcn.004c1f60
test ebx, ebx
je 0x422cf1
mov eax, dword [ebx + 4]
jmp 0x422cf6
mov eax, 0x5621e4
push eax
push 1
push dword [edi + 0xb0]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push ebx
call sym.ProcessHacker.exe_PhDereferenceObject
push 0
push 0x18
lea eax, [esp + 0x248]
push eax
push 0
push dword [esp + 0x228]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
push 0
test eax, eax
lea eax, [esp + 0x27c]
push 0x20
cmovns esi, dword [esp + 0x248]
push eax
push 4
push dword [esp + 0x228]
call dword [sym.imp.ntdll.dll_NtQueryInformationProcess]
test eax, eax
js 0x422dda
lea eax, [esp + 0x278]
push eax
lea eax, [esp + 0x26c]
push eax
call sym.ProcessHacker.exe_PhLargeIntegerToLocalSystemTime
lea eax, [esp + 0x268]
push eax
call sym.ProcessHacker.exe_PhFormatDateTime
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
push 1
push dword [edi + 0xb4]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
cmp esi, 0x103
je 0x422265
lea eax, [esp + 0x280]
push eax
lea eax, [esp + 0x26c]
push eax
call sym.ProcessHacker.exe_PhLargeIntegerToLocalSystemTime
lea eax, [esp + 0x268]
push eax
call sym.ProcessHacker.exe_PhFormatDateTime
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
push 1
push dword [edi + 0xb8]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
jmp 0x422dec
lea ebx, [ebx]
cmp esi, 0x103
je 0x422265
push 0
push esi
call sym.ProcessHacker.exe_PhGetStatusMessage
mov ebx, eax
test ebx, ebx
je 0x422dff
mov eax, dword [ebx + 4]
jmp 0x422e04
mov eax, 0x585a18
push eax
push esi
push str.0x_x___s_
call sym.ProcessHacker.exe_PhFormatString
mov esi, eax
add esp, 0xc
test esi, esi
je 0x422e1e
mov eax, dword [esi + 4]
jmp 0x422e23
mov eax, 0x5621e4
push eax
push 1
push dword [edi + 0xbc]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push esi
call sym.ProcessHacker.exe_PhDereferenceObject
lea esp, [esp]
test ebx, ebx
je 0x422265
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x422265
call fcn.004c1f60
push dword [esp + 0x218]
jmp 0x4230d2
mov eax, dword [edi + 8]
lea ecx, [esp + 0x228]
push 1
push ecx
mov dword [esp + 0x230], 0xc
push dword [eax + 0x20]
mov dword [esp + 0x238], str.Thread
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x4230d8
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x220], 0
lea ecx, [esp + 0x224]
call fcn.004d3720
lea ecx, [ecx]
test eax, eax
js 0x4230d8
push 0
push 0
push 0x800
lea eax, [esp + 0x228]
push eax
mov eax, dword [edi + 8]
push 0xffffffffffffffff
push dword [eax + 8]
push dword [esp + 0x238]
call dword [sym.imp.ntdll.dll_NtDuplicateObject]
push dword [esp + 0x220]
mov esi, eax
call dword [sym.imp.ntdll.dll_NtClose]
lea ecx, [ecx]
test esi, esi
js 0x4230d8
mov ecx, dword [esp + 0x21c]
test ecx, ecx
je 0x4230d8
lea edx, [esp + 0x260]
xor bl, bl
call fcn.004dc0e0
test eax, eax
js 0x422f54
mov esi, dword [esp + 0x260]
test esi, esi
je 0x422f39
mov eax, dword [esi + 4]
jmp 0x422f3e
mov eax, 0x5621e4
push eax
push 1
push dword [edi + 0xb0]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push esi
call sym.ProcessHacker.exe_PhDereferenceObject
push 0
push 4
lea eax, [esp + 0x268]
push eax
push 0x14
push dword [esp + 0x22c]
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x42302c
mov eax, dword [esp + 0x260]
test eax, eax
setne bl
mov byte [esp + 0xf], bl
test eax, eax
je 0x42302c
push 0
push 0x1c
lea eax, [esp + 0x248]
push eax
push 0
push dword [esp + 0x22c]
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x42302c
push 0
push dword [esp + 0x244]
call sym.ProcessHacker.exe_PhGetStatusMessage
mov esi, eax
test esi, esi
je 0x422fd0
mov eax, dword [esi + 4]
jmp 0x422fd5
mov eax, 0x585a18
push eax
push dword [esp + 0x244]
push str.0x_x___s_
call sym.ProcessHacker.exe_PhFormatString
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x422ff5
mov eax, dword [ebx + 4]
jmp 0x422ffa
mov eax, 0x5621e4
push eax
push 1
push dword [edi + 0xbc]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push ebx
call sym.ProcessHacker.exe_PhDereferenceObject
test esi, esi
je 0x423028
lea ecx, ds:[esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x423028
call fcn.004c1f60
mov bl, byte [esp + 0xf]
push 0
push 0x20
lea eax, [esp + 0x280]
push eax
push 1
push dword [esp + 0x22c]
call dword [sym.imp.ntdll.dll_NtQueryInformationThread]
test eax, eax
js 0x4230cb
lea eax, ds:[esp + 0x278]
push eax
lea eax, [esp + 0x26c]
push eax
call sym.ProcessHacker.exe_PhLargeIntegerToLocalSystemTime
lea eax, [esp + 0x268]
push eax
call sym.ProcessHacker.exe_PhFormatDateTime
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
push 1
push dword [edi + 0xb4]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
test bl, bl
je 0x4230cb
lea eax, ds:[esp + 0x280]
push eax
lea eax, [esp + 0x26c]
push eax
call sym.ProcessHacker.exe_PhLargeIntegerToLocalSystemTime
lea eax, [esp + 0x268]
push eax
call sym.ProcessHacker.exe_PhFormatDateTime
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov eax, dword [eax + 4]
push eax
push 1
push dword [edi + 0xb8]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push dword [esp + 0x21c]
call dword [sym.imp.ntdll.dll_NtClose]
mov ecx, dword [esp + 0x694]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00534c91
mov esp, ebp
pop ebp
ret