Function at 0x11199b50
Capabilities:
Check for time delay via gettickcount
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x111ea5f1
mov eax, dword fs:[0]
push eax
sub esp, 0xeac
mov eax, dword [0x11279148]
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 esi, ecx
cmp dword [esi + 0x1c], 0
jne 0x11199b98
mov eax, dword [esi + 0x14]
push str.EnumProcesses
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x11199bbd
lea ecx, [ebp - 0xe70]
push ecx
push 0x800
lea edx, [ebp - 0xe28]
push edx
call eax
test eax, eax
jne 0x11199bcc
jmp 0x1119a3ce
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1119a3ce
shr dword [ebp - 0xe70], 2
mov ecx, esi
call fcn.111998b0
cmp dword [ebp + 8], 5
mov ebx, 0x10c
jne 0x11199bf7
push str.DoProcessListNT_Getting_extended_info_for_processes_n
mov ebx, 0xa24
call fcn.111bd7b0
add esp, 4
imul ebx, dword [ebp - 0xe70]
mov edi, ebx
push edi
mov dword [ebp - 0xe68], edi
call fcn.11170a40
mov ecx, dword [ebp + 8]
mov dword [esi + 8], eax
mov byte [eax], 0
mov eax, dword [esi + 8]
mov dword [eax], ecx
add eax, 0xc
add esp, 4
mov dword [ebp - 0xe54], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push str.Wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
mov dword [ebp - 0xeb8], eax
mov dword [ebp - 0xeb4], ebx
mov dword [ebp - 0xeb0], ebx
mov dword [ebp - 0xeac], ebx
mov dword [ebp - 0xea8], ebx
mov dword [ebp - 0xea4], ebx
mov dword [ebp - 0xe98], ebx
mov dword [ebp - 0xe9c], ebx
mov dword [ebp - 0xe94], ebx
mov dword [ebp - 0xe90], ebx
mov dword [ebp - 0xe8c], ebx
push str.WTSOpenServerW
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xea0], eax
cmp eax, ebx
je 0x11199c9f
push ebx
call eax
mov dword [ebp - 0xe7c], eax
jmp 0x11199cb1
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0xe7c], 0
cmp dword [ebp - 0xe70], 0
mov dword [ebp - 0xe78], 0
jbe 0x1119a33f
jmp 0x11199cd0
xor edx, edx
xor eax, eax
mov word [ebp - 0x218], dx
mov edx, dword [ebp - 0xe78]
mov word [ebp - 0x628], ax
mov eax, dword [ebp + edx*4 - 0xe28]
xor ecx, ecx
push eax
push ecx
push 0x400
mov word [ebp - 0x420], cx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
xor eax, eax
mov dword [ebp - 0xe6c], eax
mov dword [ebp - 0xe80], eax
mov dword [ebp - 0xe74], eax
mov dword [ebp - 0xe64], eax
mov dword [ebp - 0xe84], eax
cmp ebx, eax
je 0x11199edf
lea ecx, [ebp - 0xe88]
push ecx
lea edx, [ebp - 0x218]
push edx
push eax
push ebx
mov dword [ebp - 0xe88], 0x104
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
jne 0x11199d5a
mov word [ebp - 0x218], ax
cmp dword [esi + 0x30], 0
jne 0x11199d72
mov ecx, dword [esi + 0x14]
push str.GetProcessMemoryInfo
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x30]
test eax, eax
je 0x11199e6a
push 0x28
lea edx, [ebp - 0xe50]
push edx
push ebx
call eax
test eax, eax
je 0x11199d99
mov eax, dword [ebp - 0xe44]
mov dword [ebp - 0xe6c], eax
cmp dword [ebp + 8], 5
jne 0x11199ed8
mov edx, dword [ebp - 0xe78]
mov eax, dword [ebp + edx*4 - 0xe28]
lea ecx, [ebp - 0xe80]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x11199e7f
mov edi, dword [ebp - 0xe80]
xor eax, eax
mov dword [ebp - 0xe58], eax
mov dword [ebp - 0xe64], eax
cmp dword [ebp - 0xe98], eax
jne 0x11199dfe
mov ecx, dword [ebp - 0xeb8]
push str.WTSQuerySessionInformationW
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xe98], eax
test eax, eax
je 0x11199e77
mov ecx, dword [ebp - 0xe7c]
lea edx, [ebp - 0xe64]
push edx
lea eax, [ebp - 0xe58]
push eax
push 5
push edi
push ecx
call dword [ebp - 0xe98]
test eax, eax
je 0x11199e7f
mov edi, dword [ebp - 0xe58]
lea edx, [ebp - 0x628]
mov eax, edi
sub edx, edi
movzx ecx, word [eax]
mov word [eax + edx], cx
add eax, 2
test cx, cx
jne 0x11199e30
mov eax, dword [ebp - 0xea4]
test eax, eax
jne 0x11199e65
mov edx, dword [ebp - 0xeb8]
push str.WTSFreeMemory
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xea4], eax
test eax, eax
je 0x11199e77
push edi
call eax
jmp 0x11199e7f
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x11199d99
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x11199e90
movzx ecx, word [ebp + eax - 0x218]
mov word [ebp + eax - 0x420], cx
add eax, 2
test cx, cx
jne 0x11199e90
mov edi, dword [sym.imp.USER32.dll_GetGuiResources]
push 0
push ebx
call edi
push 1
push ebx
mov dword [ebp - 0xe74], eax
call edi
mov dword [ebp - 0xe64], eax
lea eax, [ebp - 0xe84]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHandleCount]
mov edi, dword [ebp - 0xe68]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x218], 0
je 0x1119a236
mov eax, dword [ebp - 0xe54]
mov dword [ebp - 0xe58], eax
sub eax, dword [esi + 8]
cmp eax, edi
jae 0x1119a33f
lea ecx, [ebp - 0x218]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x11199f24
lea ebx, [ebp - 0x218]
jmp 0x11199f27
add ebx, 2
mov edx, dword [ebp - 0xe78]
mov eax, dword [ebp + edx*4 - 0xe28]
mov edx, dword [esi + 8]
push edi
push eax
lea ecx, [ebp - 0xe54]
push ecx
push edx
mov ecx, esi
call fcn.111991e0
test eax, eax
je 0x1119a254
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [esi + 0xc]
push eax
push ebx
lea ecx, [ebp - 0xe5c]
call fcn.111bb8e0
mov eax, dword [ebp - 0xe5c]
mov byte [ebp - 4], 1
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x11199f80
mov ecx, dword [esi + 8]
push edi
sub eax, edx
push eax
lea eax, [ebp - 0xe54]
push eax
push ecx
mov ecx, esi
call fcn.111991e0
test eax, eax
je 0x1119a273
mov edx, dword [ebp - 0xe5c]
mov ecx, dword [esi + 8]
push edi
push edx
lea eax, [ebp - 0xe54]
push eax
push ecx
mov ecx, esi
call fcn.11199210
test eax, eax
je 0x1119a2a2
mov edx, dword [ebp - 0xe6c]
mov ecx, dword [esi + 8]
push edi
push edx
lea eax, [ebp - 0xe54]
push eax
push ecx
mov ecx, esi
call fcn.111991e0
test eax, eax
je 0x1119a2a2
cmp dword [ebp + 8], 5
jne 0x1119a220
mov edx, dword [ebp - 0xe80]
mov ecx, dword [esi + 8]
push edi
push edx
lea eax, [ebp - 0xe54]
push eax
push ecx
mov ecx, esi
call fcn.111991e0
test eax, eax
je 0x1119a2a2
mov eax, dword [esi + 0xc]
push eax
lea edx, [ebp - 0x628]
push edx
lea ecx, [ebp - 0xe60]
call fcn.111bb8e0
mov eax, dword [ebp - 0xe60]
mov byte [ebp - 4], 2
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1119a038
mov ecx, dword [esi + 8]
push edi
sub eax, edx
push eax
lea eax, [ebp - 0xe54]
push eax
push ecx
mov ecx, esi
call fcn.111991e0
test eax, eax
je 0x1119a2ce
mov edx, dword [ebp - 0xe60]
mov ecx, dword [esi + 8]
push edi
push edx
lea eax, [ebp - 0xe54]
push eax
push ecx
mov ecx, esi
call fcn.11199210
test eax, eax
je 0x1119a2ce
mov edx, dword [ebp - 0xe74]
mov ecx, dword [esi + 8]
push edi
push edx
lea eax, [ebp - 0xe54]
push eax
push ecx
mov ecx, esi
call fcn.111991e0
test eax, eax
je 0x1119a2ce
mov edx, dword [ebp - 0xe64]
mov ecx, dword [esi + 8]
push edi
push edx
lea eax, [ebp - 0xe54]
push eax
push ecx
mov ecx, esi
call fcn.111991e0
test eax, eax
je 0x1119a2ce
mov edx, dword [ebp - 0xe84]
mov ecx, dword [esi + 8]
push edi
push edx
lea eax, [ebp - 0xe54]
push eax
push ecx
mov ecx, esi
call fcn.111991e0
test eax, eax
je 0x1119a2ce
xor edi, edi
push 0x104
lea ebx, [ebp - 0x420]
mov dword [ebp - 0xe64], edi
mov dword [ebp - 0xe74], edi
mov dword [ebp - 0xe6c], edi
call fcn.111998f0
add esp, 4
test eax, eax
js 0x1119a173
push edi
push edi
push edi
push 0xffffffffffffffff
mov edx, ebx
push edx
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x1119a173
push 4
call fcn.11170a40
add esp, 4
push 1
mov ebx, eax
push ebx
push edi
push edi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
lea ecx, [ebp - 0xe74]
push ecx
lea edx, [ebp - 0xe6c]
push edx
mov edx, dword [ebx]
lea eax, [ebp - 0xe64]
push eax
call fcn.111990d0
mov ecx, dword [ebx]
add esp, 0xc
push ecx
mov edi, eax
call dword [sym.imp.USER32.dll_DestroyIcon]
push ebx
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
mov edx, dword [ebp - 0xe68]
mov ebx, dword [ebp - 0xe64]
mov ecx, dword [esi + 8]
push edx
push ebx
lea eax, [ebp - 0xe54]
push eax
push ecx
mov ecx, esi
call fcn.111991e0
test eax, eax
je 0x1119a303
test edi, edi
je 0x1119a1bc
mov edx, dword [ebp - 0xe54]
push ebx
push edi
push edx
call sub.MSVCR100.dll_memcpy
add dword [ebp - 0xe54], ebx
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 0x10
mov eax, dword [ebp - 0xe68]
mov ebx, dword [ebp - 0xe74]
mov edx, dword [esi + 8]
push eax
push ebx
lea ecx, [ebp - 0xe54]
push ecx
push edx
mov ecx, esi
call fcn.111991e0
test eax, eax
je 0x1119a303
mov edi, dword [ebp - 0xe6c]
test edi, edi
je 0x1119a20b
mov eax, dword [ebp - 0xe54]
push ebx
push edi
push eax
call sub.MSVCR100.dll_memcpy
add dword [ebp - 0xe54], ebx
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 0x10
mov ecx, dword [ebp - 0xe60]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov edi, dword [ebp - 0xe68]
add esp, 4
mov edx, dword [ebp - 0xe5c]
inc dword [esi + 4]
push edx
mov byte [ebp - 4], 0
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0xe78]
inc eax
mov dword [ebp - 0xe78], eax
cmp eax, dword [ebp - 0xe70]
jb 0x11199cd0
jmp 0x1119a33f
mov eax, dword [ebp - 0xe58]
mov ecx, eax
sub ecx, dword [ebp - 0xe54]
push ecx
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
jmp 0x1119a33f
mov eax, dword [ebp - 0xe58]
mov edx, eax
sub edx, dword [ebp - 0xe54]
push edx
push 0
push eax
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0xe5c]
push eax
mov byte [ebp - 4], 0
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x1119a33f
mov eax, dword [ebp - 0xe58]
mov ecx, eax
sub ecx, dword [ebp - 0xe54]
push ecx
push 0
push eax
call sub.MSVCR100.dll_memset
mov edx, dword [ebp - 0xe5c]
push edx
mov byte [ebp - 4], 0
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x1119a33f
mov eax, dword [ebp - 0xe58]
mov ecx, eax
sub ecx, dword [ebp - 0xe54]
push ecx
push 0
push eax
call sub.MSVCR100.dll_memset
mov edx, dword [ebp - 0xe60]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xe5c]
push eax
mov byte [ebp - 4], 0
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
jmp 0x1119a33c
mov eax, dword [ebp - 0xe58]
mov ecx, eax
sub ecx, dword [ebp - 0xe54]
push ecx
push 0
push eax
call sub.MSVCR100.dll_memset
mov edx, dword [ebp - 0xe60]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebp - 0xe5c]
push eax
mov byte [ebp - 4], 0
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
mov edi, dword [ebp - 0xe68]
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xeb8]
push str.WTSCloseServer
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xeb4], eax
test eax, eax
je 0x1119a36c
mov edx, dword [ebp - 0xe7c]
push edx
call eax
jmp 0x1119a374
push 0x78
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
cmp dword [esi + 4], ebx
jle 0x1119a39f
jmp 0x1119a380
mov ecx, dword [esi + 8]
push edi
push 0xffffffffffffffff
lea eax, [ebp - 0xe54]
push eax
push ecx
mov ecx, esi
call fcn.111991e0
test eax, eax
je 0x1119a39f
inc ebx
cmp ebx, dword [esi + 4]
jl 0x1119a380
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0xe54]
sub ecx, eax
cmp dword [ebp - 0xeb8], 0
mov dword [eax + 4], ecx
mov edx, dword [esi + 4]
mov dword [eax + 8], edx
je 0x1119a3c9
mov eax, dword [ebp - 0xeb8]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, 1
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.111d9022
mov esp, ebp
pop ebp
ret 4