Function at 0x41f640
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 [0x5ac004]
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 0x41f66e
mov ecx, dword [ecx + 4]
jmp 0x41f673
mov ecx, 0x54a060
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 0x41f6ba
mov ecx, dword [ecx + 4]
jmp 0x41f6bf
mov ecx, 0x54a060
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 0x41f772
push 0x10
lea eax, [esp + 0x3c0]
mov dword [esp + 0x3bc], 0x780030
push eax
push ecx
call fcn.00522341
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 0x41f77e
mov eax, dword [eax + 4]
jmp 0x41f783
mov eax, 0x54a060
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 0x41f888
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 0x41f81a
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 0x41f865
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.00522341
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 [0x5b1dac]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
jmp 0x41f8e6
mov eax, dword [ecx + 0x14]
lea ecx, [esp + 0x3bc]
push 0x10
push ecx
push eax
mov dword [esp + 0x3c4], 0x780030
call fcn.00522341
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 0x41f96a
cmp byte [0x5b18bb], 0
je 0x41fb46
lea eax, [esp + 0x10]
mov edx, 0x40
push eax
lea ecx, [esp + 0x238]
call fcn.004cbf00
test eax, eax
js 0x41fb46
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 0x41fb38
mov eax, dword [esp + 0x260]
test eax, eax
js 0x41fb38
push 0xa
lea eax, [esp + 0x3bc]
push eax
push dword [esp + 0x2bc]
call fcn.00522341
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.00522341
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.00522341
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.00522341
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 0x420af8
cmp dword [eax], 0
je 0x420af8
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 0x41fc91
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x21c], 0
lea ecx, [esp + 0x228]
call fcn.004c3180
test eax, eax
js 0x420af8
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 0x420af8
mov eax, dword [esp + 0x218]
test eax, eax
je 0x420af8
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 0x41fc85
push 0xa
lea eax, [esp + 0x3bc]
push eax
push dword [esp + 0x274]
call fcn.00522341
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.00522341
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 0x420af2
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 0x41fcfa
mov eax, dword [ecx + 0x24]
test eax, eax
je 0x41fcd0
mov eax, dword [eax + 4]
jmp 0x41fcd2
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.0051e068
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], 0x56c740
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x42015d
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x220], 0
lea ecx, [esp + 0x228]
call fcn.004c3180
test eax, eax
js 0x420af8
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 0x420af8
mov eax, dword ds:[esp + 0x21c]
test eax, eax
je 0x420af8
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 0x41fe1c
mov eax, dword [esp + 0x2a0]
add eax, 0xfffffffe
cmp eax, 0x4e
ja case.0x41fde1.9
movzx eax, byte [eax + 0x420b24]
jmp dword [eax*4 + 0x420b10]
push str.Pipe
jmp 0x41fe0d
push str.Network
jmp 0x41fe0d
mov bh, 1
push str.File_or_directory
jmp 0x41fe0d
mov bl, 1
push str.Console
jmp 0x41fe0d
push 0x56e374
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.004d32c0
test eax, eax
js 0x41ff4b
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 0x5ac928
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], 0x56e380
mov dword [esp + 0x35c], 0x108
mov dword [esp + 0x36c], ecx
mov byte [esp + 0x366], 0x10
mov dword [esp + 0x374], 1
mov dword [esp + 0x384], 4
mov dword [esp + 0x388], 0x56d1bc
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], 0x56e388
call sym.ProcessHacker.exe_PhFormatToBuffer
test al, al
je 0x41ff45
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 0x420aeb
mov ecx, dword [esp + 0x21c]
lea eax, [esp + 0x278]
push 0x18
push eax
mov edx, 5
call fcn.004d32c0
test eax, eax
js 0x41fffc
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 0x41ffd3
lea eax, [esp + 0x420]
push eax
push 1
push dword [edi + 0x94]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
test bh, bh
je 0x41fffc
cmp byte [esp + 0x28d], 0
mov ecx, 0x56c740
mov eax, 0x56e38c
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.004d32c0
test eax, eax
js 0x420aeb
mov ecx, dword [esp + 0x298]
mov eax, ecx
mov edx, dword [esp + 0x29c]
or eax, edx
je 0x420aeb
mov eax, dword [esp + 0x280]
or eax, dword [esp + 0x284]
push 0
push 0x64
je 0x420108
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], 0x56d1bc
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], 0x56e3a0
push 4
fmul qword [0x59f0d0]
fstp qword [esp + 0x330]
jmp 0x420132
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 0x420140
test al, al
je 0x420aeb
lea eax, [esp + 0x420]
push eax
push 1
push dword [edi + 0x90]
jmp 0x420ae4
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], 0x56da48
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x420465
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x21c], 0
lea ecx, [esp + 0x268]
call fcn.004c3180
test eax, eax
js 0x420af8
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 0x420209
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 0x420af8
mov eax, dword [esp + 0x218]
test eax, eax
je 0x420af8
push 0
push 0x10
lea ecx, [esp + 0x270]
mov dword [esp + 0x228], 0
push ecx
push 0
mov ebx, 0x56d084
mov dword [esp + 0x234], 0
push eax
mov dword [esp + 0x230], ebx
call dword [sym.imp.ntdll.dll_NtQuerySection]
test eax, eax
js 0x420319
mov eax, dword [esp + 0x26c]
test eax, 0x8000000
je 0x420289
mov dword [esp + 0x21c], 0x56e3a8
jmp 0x4202c8
test eax, 0x800000
je 0x42029d
mov dword [esp + 0x21c], 0x56c740
jmp 0x4202c8
lea ecx, [ecx]
test eax, 0x1000000
je 0x4202b4
mov dword [esp + 0x21c], 0x56e3b8
jmp 0x4202c8
test eax, 0x4000000
mov eax, str.Reserve
cmove eax, ebx
mov dword [esp + 0x21c], eax
mov al, byte [0x5b0a08]
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.004d1560
test eax, eax
js 0x4203f5
push dword [0x5b3864]
lea ebx, [ebx]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, dword [esp + 0x224]
mov esi, eax
test ebx, ebx
je 0x4203e1
mov eax, dword [esi]
cmp eax, 0x40
jae 0x420369
mov dword [esi + eax*4 + 4], ebx
inc dword [esi]
jmp 0x4203e1
cmp dword [esi + 0x10c], 0
jne 0x420395
push 0x100
push 4
push dword [0x5b1dac]
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 0x4203d2
add eax, eax
mov dword [esi + 0x108], eax
shl eax, 2
push eax
push dword [esi + 0x10c]
push 4
push dword [0x5b1dac]
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 0x4203fc
push eax
call sym.ProcessHacker.exe_PhAutoDereferenceObject
mov ebx, eax
jmp 0x4203fc
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 0x42041b
mov eax, dword [ebx + 4]
jmp 0x420420
mov eax, 0x56e3d4
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 0x420442
mov eax, dword ds:[eax + 4]
jmp 0x420447
mov eax, 0x56d084
push eax
push 1
push dword [edi + 0xa0]
push dword [edi]
call sym.ProcessHacker.exe_PhSetListViewSubItem
push dword ds:[esp + 0x218]
jmp 0x420af2
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], 0x56e224
call sym.ProcessHacker.exe_PhEqualStringRef
test al, al
je 0x420611
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x21c], 0
lea ecx, [esp + 0x224]
call fcn.004c3180
test eax, eax
js 0x420af8
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 0x420af8
mov eax, dword [esp + 0x218]
test eax, eax
je 0x420af8
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 0x4205a5
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 0x41fc85
cmp dword [esp + 0x238], 0
je 0x41fc85
lea eax, [esp + 0x238]
push eax
call sym.ProcessHacker.exe_PhStdGetClientIdName
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 0x420af2
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], 0x56c684
call sym.ProcessHacker.exe_PhEqualStringRef
lea esp, [esp]
test al, al
je 0x42088b
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x21c], 0
lea ecx, [esp + 0x224]
call fcn.004c3180
test eax, eax
js 0x420af8
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 0x420af8
mov eax, dword [esp + 0x218]
test eax, eax
je 0x420af8
lea ecx, [esp + 0x224]
mov esi, 0x103
push ecx
push eax
call sym.ProcessHacker.exe_PhGetProcessImageFileName
test eax, eax
js 0x42072c
push dword ds:[esp + 0x224]
call sym.ProcessHacker.exe_PhGetFileName
mov ebx, eax
mov eax, dword [esp + 0x224]
test eax, eax
je 0x420708
lea ecx, ds:[eax - 8]
or edx, 0xffffffff
lock xadd dword [ecx + 4], edx
dec edx
jne 0x420708
call fcn.004b3960
test ebx, ebx
je 0x420711
mov eax, dword [ebx + 4]
jmp 0x420716
mov eax, 0x54a060
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 0x4207fa
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 0x41fc85
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 0x42080c
lea ebx, [ebx]
cmp esi, 0x103
je 0x41fc85
push 0
push esi
call sym.ProcessHacker.exe_PhGetStatusMessage
mov ebx, eax
test ebx, ebx
je 0x42081f
mov eax, dword [ebx + 4]
jmp 0x420824
mov eax, 0x56d084
push eax
push esi
push str.0x_x___s_
call sym.ProcessHacker.exe_PhFormatString
mov esi, eax
add esp, 0xc
test esi, esi
je 0x42083e
mov eax, dword [esi + 4]
jmp 0x420843
mov eax, 0x54a060
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 0x41fc85
lea ecx, [ebx - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x41fc85
call fcn.004b3960
push dword [esp + 0x218]
jmp 0x420af2
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 0x420af8
push dword [edi + 4]
mov edx, 0x40
mov dword [esp + 0x220], 0
lea ecx, [esp + 0x224]
call fcn.004c3180
lea ecx, [ecx]
test eax, eax
js 0x420af8
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 0x420af8
mov ecx, dword [esp + 0x21c]
test ecx, ecx
je 0x420af8
lea edx, [esp + 0x260]
xor bl, bl
call fcn.004cb2e0
test eax, eax
js 0x420974
mov esi, dword [esp + 0x260]
test esi, esi
je 0x420959
mov eax, dword [esi + 4]
jmp 0x42095e
mov eax, 0x54a060
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 0x420a4c
mov eax, dword [esp + 0x260]
test eax, eax
setne bl
mov byte [esp + 0xf], bl
test eax, eax
je 0x420a4c
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 0x420a4c
push 0
push dword [esp + 0x244]
call sym.ProcessHacker.exe_PhGetStatusMessage
mov esi, eax
test esi, esi
je 0x4209f0
mov eax, dword [esi + 4]
jmp 0x4209f5
mov eax, 0x56d084
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 0x420a15
mov eax, dword [ebx + 4]
jmp 0x420a1a
mov eax, 0x54a060
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 0x420a48
lea ecx, ds:[esi - 8]
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
dec eax
jne 0x420a48
call fcn.004b3960
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 0x420aeb
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 0x420aeb
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.0051e068
mov esp, ebp
pop ebp
ret