Function at 0x100072f0
Capabilities:
Enumerate threads
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x1003d02c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov eax, dword [ebx + 8]
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x1000733b
mov eax, 1
jmp 0x100074eb
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffff
jne 0x10007358
mov eax, 1
jmp 0x100074eb
mov dword [ebp - 0x20], 0x1c
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100074d2
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 8]
jne 0x100074bc
mov ecx, dword [ebp - 0x18]
push ecx
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x1000743d
mov edx, dword [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x10007431
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40], eax
xor eax, eax
mov byte [ebp - 0x21], al
xor ecx, ecx
mov byte [ebp - 0x22], cl
movzx edx, byte [ebp - 0x21]
push edx
movzx eax, byte [ebp - 0x22]
push eax
movzx ecx, byte [ebp - 0x2d]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.1000cc70
mov ecx, eax
call fcn.1000a660
mov dword [ebp - 0x44], eax
xor edx, edx
mov byte [ebp - 0x23], dl
xor eax, eax
mov byte [ebp - 0x24], al
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x44]
push edx
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x50], esp
movzx eax, byte [ebp - 0x23]
push eax
movzx ecx, byte [ebp - 0x24]
push ecx
movzx edx, byte [ebp - 0x2e]
push edx
lea ecx, [ebp - 0x70]
call fcn.1000cb60
mov ecx, eax
call fcn.1000a8d0
push eax
mov ecx, esi
call fcn.100075b0
call fcn.10001d80
add esp, 0x20
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x100074bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x48], eax
xor ecx, ecx
mov byte [ebp - 0x25], cl
xor edx, edx
mov byte [ebp - 0x26], dl
movzx eax, byte [ebp - 0x25]
push eax
movzx ecx, byte [ebp - 0x26]
push ecx
movzx edx, byte [ebp - 0x2f]
push edx
lea ecx, [ebp - 0xe0]
call fcn.1000cd30
mov ecx, eax
call fcn.1000a660
mov dword [ebp - 0x4c], eax
xor eax, eax
mov byte [ebp - 0x27], al
xor ecx, ecx
mov byte [ebp - 0x28], cl
mov edx, dword [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x4c]
push eax
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x54], esp
movzx ecx, byte [ebp - 0x27]
push ecx
movzx edx, byte [ebp - 0x28]
push edx
movzx eax, byte [ebp - 0x30]
push eax
lea ecx, [ebp - 0x80]
call fcn.1000cb60
mov ecx, eax
call fcn.1000a8d0
push eax
mov ecx, esi
call fcn.100075b0
call fcn.10001d80
add esp, 0x20
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10007375
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015f53
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret