Function at 0x1f01f5c0
Capabilities:
Enumerate threads

Disassembly:
push 0xffffffffffffffff
push 0x1f0562ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x3c]
push ebx
push ebp
mov dword [ecx + 0x2d8], eax
mov eax, dword [esp + 0x48]
xor ebp, ebp
mov dword [esp + 0x10], ecx
cmp eax, ebp
jne 0x1f01f7f8
xor eax, eax
push ebp
push 4
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], 0x1c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp ebx, 0xffffffff
jne 0x1f01f640
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 8
push esi
push edi
push ebx
call fcn.1f01e350
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
push 0x10
mov dword [esp + 0x18], edi
xor esi, esi
call fcn.1f03e9a2
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], ebp
cmp eax, ebp
je 0x1f01f681
push 0x1000
mov ecx, eax
call fcn.1f003750
mov dword [esp + 0x50], eax
jmp 0x1f01f685
mov dword [esp + 0x50], ebp
mov dword [esp + 0x44], 0xffffffff
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x20]
push edx
push ebx
mov dword [esp + 0x18], ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1f01f6ee
cmp dword [esp + 0x2c], edi
jne 0x1f01f6df
mov eax, dword [esp + 0x28]
push ebp
push eax
mov eax, dword [0x1f0837d0]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.1f02dd90
test eax, eax
jne 0x1f01f6df
cmp dword [0x1f08373c], ebp
je 0x1f01f6de
mov edx, dword [esp + 0x28]
push edx
call fcn.1f01e330
add esp, 4
test eax, eax
jne 0x1f01f6df
inc esi
lea eax, [esp + 0x20]
push eax
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1f01f6a4
mov edi, dword [esp + 0x4c]
mov edx, dword [edi + 0x48]
mov eax, dword [edx]
add edi, 0x48
push esi
push ebp
mov ecx, edi
call eax
lea ecx, [esp + 0x20]
push ecx
push ebx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1f01f7db
jmp 0x1f01f720
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x2c], edx
jne 0x1f01f7c8
mov eax, dword [esp + 0x28]
push 0
push eax
mov eax, dword [0x1f0837d0]
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
add ecx, eax
call fcn.1f02dd90
test eax, eax
jne 0x1f01f7c8
cmp dword [0x1f08373c], eax
je 0x1f01f763
mov edx, dword [esp + 0x28]
push edx
call fcn.1f01e330
add esp, 4
test eax, eax
jne 0x1f01f7c8
mov eax, dword [edi]
mov edx, dword [eax + 4]
inc ebp
push ebp
mov ecx, edi
call edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
push eax
call fcn.1f01f4f0
mov esi, eax
test esi, esi
je 0x1f01f7c8
mov edx, dword [esi]
mov eax, edx
lea ebx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1f01f790
mov ecx, dword [esp + 0x50]
sub eax, ebx
sar eax, 1
push eax
push edx
call fcn.1f007060
cmp dword [esi + 0xc], 0
je 0x1f01f7bb
mov ecx, dword [esi]
push ecx
call fcn.1f03f6e1
add esp, 4
push esi
call fcn.1f03e97c
mov ebx, dword [esp + 0x20]
add esp, 4
lea edx, [esp + 0x20]
push edx
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1f01f720
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
push ebx
call fcn.1f01e410
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
jmp 0x1f01f802
push eax
call fcn.1f01f4f0
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 8]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 8