Function at 0x41af50
Capabilities:
Enumerate threads
Resume thread
Suspend thread
Write file on windows

Disassembly:
push ebp
mov ecx, 0xb3
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x2e4]
mov esi, 0x4422e0
push ebx
sub esp, 0x31c
mov eax, dword [0x4425b8]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [0x4425ac]
mov dword [ebp - 0x310], eax
mov eax, dword [0x4425b4]
mov dword [ebp - 0x314], eax
mov dword [esp + 4], 0
mov dword [esp], 4
call sub.kernel32.dll_CreateToolhelp32Snapshot
sub esp, 8
cmp eax, 0xffffffff
je 0x41af38
lea esi, [ebp - 0x300]
mov edi, eax
mov dword [ebp - 0x300], 0x1c
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.kernel32.dll_Thread32First
sub esp, 8
test eax, eax
je 0x41aec1
mov eax, dword fs:[0x18]
mov dword [ebp - 0x30c], eax
jmp 0x41ae37
mov edx, dword [0x4425b8]
cmp dword [0x4425ac], eax
je 0x41adf3
mov dword [esp], eax
call fcn.0041d8c0
test eax, eax
je 0x41af18
mov eax, dword [0x4425b8]
mov eax, dword [eax + 0xc]
mov dword [0x4425ac], eax
call fcn.0041efe0
mov edx, dword [0x4425b8]
mov eax, dword [0x4425ac]
mov edx, dword [edx + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0x2f8]
mov dword [esp], str._nBacktracing_for_thread__04lx_in_process__04lx___ls_:_n
mov dword [esp + 4], eax
call fcn.004242a0
mov edx, dword [ebp - 0x2f8]
mov eax, dword [0x4425b8]
call fcn.0041abf0
mov dword [esp + 4], esi
mov dword [esp], edi
call sub.kernel32.dll_Thread32Next
sub esp, 8
test eax, eax
je 0x41aea0
mov ecx, dword [ebp - 0x30c]
mov eax, dword [ebp - 0x2f4]
cmp dword [ecx + 0x20], eax
je 0x41ae24
mov edx, dword [0x4425b8]
test edx, edx
je 0x41ae76
mov ecx, dword [0x4425ac]
cmp ecx, ebx
je 0x41ae76
cmp eax, ecx
je 0x41ae76
mov eax, dword [edx + 0x10]
mov dword [esp + 4], 0
mov dword [esp], edx
call dword [eax]
mov eax, dword [ebp - 0x2f4]
cmp ebx, eax
jne 0x41adb8
mov ecx, dword [ebp - 0x310]
mov dword [0x4425ac], ebx
mov dword [0x4425b8], ecx
mov edx, ecx
jmp 0x41adf3
mov eax, dword [0x4425b8]
test eax, eax
je 0x41aec1
cmp dword [0x4425ac], ebx
je 0x41aec1
mov edx, dword [eax + 0x10]
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [edx]
mov dword [esp], edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [ebp - 0x310]
mov dword [0x4425ac], ebx
mov esi, dword [ebp - 0x314]
sub esp, 4
mov dword [0x4425b8], eax
xor eax, eax
mov dword [0x4425b4], esi
test esi, esi
je 0x41aef3
mov eax, dword [esi + 0x10]
lea esi, [ebp - 0x2e4]
mov ecx, 0xb3
mov edi, 0x4422e0
mov dword [0x4425b0], eax
rep movsd dword es:[edi], dword [esi]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x2f4]
mov dword [esp], str._nwarning:_could_not_attach_to__04lx_n
mov dword [esp + 4], eax
call fcn.004242a0
jmp 0x41ae24
mov dword [esp], str.Unable_to_create_toolhelp_snapshot_n
call fcn.004242a0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
cmp edx, 0xffffffff
je 0x41af80
mov eax, dword [0x4425b8]
test eax, eax
je 0x41af90
cmp dword [0x4425b0], edx
je 0x41af78
pop ebp
jmp fcn.0041abf0
pop ebp
jmp fcn.0041a340
pop ebp
jmp 0x41ad20
mov dword [ebp + 8], str.You_must_be_attached_to_a_process_to_run_this_command._n
pop ebp
jmp fcn.004242a0