Function at 0x10017b20
Capabilities:
Enumerate gui resources
Enumerate processes
Get graphical window text
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037417
mov eax, dword fs:[0]
push eax
sub esp, 0x67c
mov eax, dword [0x1004b034]
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 eax, dword [0x1015f4ac]
xor ebx, ebx
mov dword [ebp - 0x678], eax
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xd8], ebx
mov byte [ebp - 0xe8], bl
push ebx
mov dword [ebp - 4], ebx
push 2
mov dword [ebp - 0x670], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea ecx, [ebp - 0x670]
mov esi, eax
push ecx
push esi
mov dword [ebp - 0x688], esi
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x10017f36
mov edx, dword [ebp - 0x668]
push edx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0x104
push 0x1015fe00
mov esi, eax
push ebx
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
lea eax, [ebp - 0x674]
push eax
push 8
push esi
mov dword [ebp - 0x674], ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov eax, dword [ebp - 0x674]
lea ecx, [ebp - 0x680]
push ecx
push 4
lea edx, [ebp - 0x684]
push edx
push 0x14
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov eax, dword [ebp - 0x674]
mov ecx, dword [ebp - 0x684]
mov dword [0x1004e464], ecx
cmp eax, ebx
je 0x10017c24
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x674], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [ebp - 0x668]
cmp eax, ecx
je 0x10017f1a
push ecx
push 0x10017880
mov dword [0x1016097c], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [0x1016097c]
push 0x50
lea edx, [ebp - 0x60]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassNameA]
mov edx, dword [0x1016097c]
push 0x50
lea ecx, [ebp - 0xb0]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea esi, [ebp - 0x548]
call fcn.10009110
mov eax, esi
push eax
lea esi, [ebp - 0x67c]
mov eax, 0x1015fe00
call fcn.10009250
mov eax, 0x1015fe00
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10017cb5
sub eax, esi
mov edi, eax
mov eax, 0x1015fe00
lea esi, [ebp - 0xcc]
call fcn.10002d20
mov eax, dword [ebp - 0xcc]
mov edi, 0x10
cmp dword [ebp - 0xb8], edi
jae 0x10017ce5
mov eax, esi
lea ecx, [ebp - 0x144]
push ecx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [ebp - 0x124]
cmp dword [ebp - 0xb8], edi
jb 0x10017d18
mov edx, dword [ebp - 0xcc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, dword [ebp - 0x67c]
push eax
lea ecx, [ebp - 0xcc]
push ecx
call fcn.100178c0
push eax
mov eax, 0x10041a04
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 1
call fcn.10008150
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0xb8], edi
jb 0x10017d5f
mov edx, dword [ebp - 0xcc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x104]
push esi
push eax
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
call fcn.10017a50
add esp, 8
push 9
mov eax, str._PROCESS
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 4
call fcn.100087a0
mov eax, 0x1015fe00
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10017da3
mov ecx, dword [ebp - 0x680]
sub eax, esi
push ecx
lea edx, [eax + 0x1015fe00]
push edx
push 0x1015fe00
lea eax, [ebp - 0xcc]
push eax
mov dword [ebp - 0xb8], 0xf
mov dword [ebp - 0xbc], ebx
mov byte [ebp - 0xcc], bl
call fcn.1001ff10
push ebx
lea ecx, [ebp - 0xcc]
push ecx
or eax, 0xffffffff
lea esi, [ebp - 0xe8]
mov byte [ebp - 4], 5
call fcn.10008a10
mov byte [ebp - 4], 4
cmp dword [ebp - 0xb8], edi
jb 0x10017e17
mov edx, dword [ebp - 0xcc]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
push 3
mov eax, 0x10041104
lea ecx, [ebp - 0xe8]
call fcn.100087a0
lea eax, [ebp - 0xb0]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10017e32
sub eax, edx
push eax
lea eax, [ebp - 0xb0]
lea ecx, [ebp - 0xe8]
call fcn.100087a0
push 3
mov eax, 0x10041104
lea ecx, [ebp - 0xe8]
call fcn.100087a0
lea eax, [ebp - 0x60]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10017e65
sub eax, esi
push eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0xe8]
call fcn.100087a0
push 3
mov eax, 0x10041104
lea ecx, [ebp - 0xe8]
call fcn.100087a0
push ebx
lea eax, [ebp - 0x120]
push eax
or eax, 0xffffffff
lea esi, [ebp - 0xe8]
call fcn.10008a10
push 3
mov eax, 0x10041104
mov ecx, esi
call fcn.100087a0
push ebx
lea ecx, [ebp - 0x104]
push ecx
or eax, 0xffffffff
call fcn.10008a10
push 1
mov eax, 0x10040638
mov ecx, esi
call fcn.100087a0
cmp dword [ebp - 0xf0], edi
jb 0x10017ee9
mov edx, dword [ebp - 0x104]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov byte [ebp - 4], bl
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], ebx
mov byte [ebp - 0x104], bl
cmp dword [ebp - 0x10c], edi
jb 0x10017f1a
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, dword [ebp - 0x688]
lea ecx, [ebp - 0x670]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x10017ba5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xe8]
mov esi, 0x10
cmp dword [ebp - 0xd4], esi
jae 0x10017f56
lea eax, [ebp - 0xe8]
mov edx, dword [ebp - 0xd8]
push ebx
push edx
push eax
mov eax, dword [ebp - 0x678]
push eax
call dword [sym.imp.WS2_32.dll_send]
cmp dword [ebp - 0xd4], esi
jb 0x10017f84
mov ecx, dword [ebp - 0xe8]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.10034620
mov esp, ebp
pop ebp
ret