Function at 0x1f01f530
Capabilities:
Enumerate threads

Disassembly:
push 0xffffffffffffffff
push 0x1f05611b
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 0x1f01f768
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 0x1f01f5b0
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.1f01e2c0
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.1f03e832
add esp, 4
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], ebp
cmp eax, ebp
je 0x1f01f5f1
push 0x1000
mov ecx, eax
call fcn.1f003af0
mov dword [esp + 0x50], eax
jmp 0x1f01f5f5
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 0x1f01f65e
cmp dword [esp + 0x2c], edi
jne 0x1f01f64f
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.1f02dc80
test eax, eax
jne 0x1f01f64f
cmp dword [0x1f08373c], ebp
je 0x1f01f64e
mov edx, dword [esp + 0x28]
push edx
call fcn.1f01e2a0
add esp, 4
test eax, eax
jne 0x1f01f64f
inc esi
lea eax, [esp + 0x20]
push eax
push ebx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1f01f614
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 0x1f01f74b
jmp 0x1f01f690
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x2c], edx
jne 0x1f01f738
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.1f02dc80
test eax, eax
jne 0x1f01f738
cmp dword [0x1f08373c], eax
je 0x1f01f6d3
mov edx, dword [esp + 0x28]
push edx
call fcn.1f01e2a0
add esp, 4
test eax, eax
jne 0x1f01f738
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.1f01f460
mov esi, eax
test esi, esi
je 0x1f01f738
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 0x1f01f700
mov ecx, dword [esp + 0x50]
sub eax, ebx
sar eax, 1
push eax
push edx
call fcn.1f007420
cmp dword [esi + 0xc], 0
je 0x1f01f72b
mov ecx, dword [esi]
push ecx
call fcn.1f03f571
add esp, 4
push esi
call fcn.1f03e80c
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 0x1f01f690
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edi
call edx
push ebx
call fcn.1f01e380
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
jmp 0x1f01f772
push eax
call fcn.1f01f460
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