Function at 0x49dae0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be1c8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x50dc94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0x90]
je 0x49db1f
xor eax, eax
jmp 0x49ddf3
cmp dword [edi + 0x49c], 0
jne 0x49db52
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x494], eax
mov eax, dword [ebp - 0x30]
mov dword [edi + 0x498], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x543e54]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x5435d4]
cmp eax, dword [ecx + 4]
jg 0x49de11
mov dword [ebp - 0x3c], vtable.CMenu.0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
call fcn.004b39f6
mov ebx, eax
test ebx, ebx
je 0x49ddd9
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x7c]
mov ecx, esi
call dword [0x4c66dc]
mov ecx, ebx
call esi
mov ebx, eax
mov dword [ebp - 0x40], ebx
test ebx, ebx
je 0x49ddd9
movzx esi, word [ebp + 0xc]
mov eax, 0x201
cmp si, ax
je 0x49dbd0
mov eax, 0x204
cmp si, ax
jne 0x49dc71
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
test ebx, ebx
jne 0x49dbf4
push eax
push 0x49d000
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_EnumThreadWindows]
jmp 0x49dc6e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x30], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x2c]
movlpd qword [ebp - 0x28], xmm0
push eax
push ebx
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x2c], 0x1c
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x49dc67
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x20], esi
jne 0x49dc3c
push 0
push 0x49d000
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_EnumThreadWindows]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x1c
xorps xmm0, xmm0
push eax
push ebx
movlpd qword [ebp - 0x28], xmm0
movlpd qword [ebp - 0x20], xmm0
movlpd qword [ebp - 0x18], xmm0
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x49dc27
movzx esi, word [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x40]
mov eax, 0x405
cmp si, ax
jne 0x49dcba
mov eax, dword [edi + 0x444]
test eax, eax
je 0x49dc93
push 0
push 0
push eax
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
cmp byte [ebp + 0x10], 0
je 0x49dcba
push 0
push 0x3e8
push 0xe1
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x49dddb
cmp dword [0x50dad0], 0
je 0x49ddd9
mov eax, 0x203
cmp si, ax
jne 0x49dd97
push 1
push dword [edi + 0x20]
mov byte [edi + 0x448], 0
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0
push 2
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [edi + 0x48c], 0
je 0x49dd5c
mov eax, dword [edi + 0x90]
movzx eax, ax
push eax
push 4
push eax
call fcn.004b31e6
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004b3142
test eax, eax
je 0x49ddd9
push 0
push dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call fcn.004b313c
test eax, eax
je 0x49ddd9
push dword [edi + 0x488]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetMenuItemID]
jmp 0x49dd62
mov eax, dword [edi + 0x488]
push 0
push eax
push 0x111
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x3c]
call fcn.004b3136
push 0
push 0
push dword [0x540088]
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageW]
mov esi, 1
jmp 0x49dddb
mov eax, 0x201
cmp si, ax
jne 0x49ddc4
cmp byte [edi + 0x448], 0
je 0x49dd90
push 0
push dword [0x5435d0]
push 1
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, 1
jmp 0x49dddb
mov eax, 0x205
cmp si, ax
jne 0x49dd90
mov ecx, edi
call fcn.0049d040
mov esi, eax
jmp 0x49dddb
xor esi, esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 7
mov dword [ebp - 0x3c], vtable.CMenu.0
call fcn.004b3136
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae9c0
mov esp, ebp
pop ebp
ret 0xc
push 0x5435d4
call fcn.004af70a
add esp, 4
cmp dword [0x5435d4], 0xffffffff
jne 0x49db72
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
push 0x5435d4
mov dword [0x5435d0], eax
call fcn.004af6c0
add esp, 4
jmp 0x49db72