Function at 0x411c10
Capabilities:
Create thread
Enumerate gui resources
Enumerate process modules
Enumerate processes
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d3eeb
mov eax, dword fs:[0]
push eax
sub esp, 0x728
mov eax, dword [0x54d158]
xor eax, esp
mov dword [esp + 0x720], eax
push ebx
push esi
push edi
mov eax, dword [0x54d158]
xor eax, esp
push eax
lea eax, [esp + 0x738]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], vtable.Cy_Tlhelp32.0
xor edi, edi
push edi
push 2
mov dword [esp + 0x748], edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x2c], ebx
je 0x411cc0
cmp ebx, edi
je 0x411cc0
push 0x22c
lea ecx, [esp + 0xb0]
push edi
push ecx
call fcn.004b0770
add esp, 0xc
lea edx, [esp + 0xac]
push edx
push ebx
mov dword [esp + 0xb4], 0x22c
call sub.KERNEL32.dll_Process32FirstW
cmp eax, edi
jne 0x411cc7
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4122e6
push esi
lea ecx, [esp + 0x20]
call fcn.004755e0
mov byte [esp + 0x740], 1
mov eax, dword [esp + 0x1c]
push 0x5c
push eax
call fcn.00475bc0
add esp, 8
cmp eax, edi
je 0x411d2c
sub eax, dword [esp + 0x1c]
sar eax, 1
cmp eax, 0xffffffff
je 0x411d2c
add eax, 1
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x24]
call fcn.00401040
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x744], 2
call fcn.00474c20
lea ecx, [esp + 0x20]
mov byte [esp + 0x740], 1
call fcn.004732d0
push 0xffffffffffffffff
lea ecx, [esp + 0x20]
call fcn.00473380
mov edx, dword [esp + 0x1c]
push edx
call fcn.00476250
add esp, 4
mov bl, 3
push 0xffffffffffffffff
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x1c]
call fcn.004748c0
mov byte [esp + 0x740], bl
mov ecx, dword [esp + 0x14]
push 0x5c
push ecx
call fcn.00475bc0
add esp, 8
cmp eax, edi
je 0x411db2
sub eax, dword [esp + 0x14]
sar eax, 1
cmp eax, 0xffffffff
je 0x411db2
add eax, 1
push eax
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00401040
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x744], 4
call fcn.00474c20
lea ecx, [esp + 0x38]
mov byte [esp + 0x740], bl
call fcn.004732d0
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00473450
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.00473380
mov eax, dword [esp + 0x14]
push eax
call fcn.00476250
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add esp, 4
push ecx
push edx
call fcn.00477290
add esp, 8
test eax, eax
jne 0x411ee5
lea ecx, [esp + 0x40]
call fcn.00480c10
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0x744], 5
call fcn.0047d530
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x744], 6
call fcn.00475be0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x740], 5
call fcn.0047d5b0
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x80]
call fcn.0047d590
push 0xffffffffffffffff
push 0xa
lea eax, [esp + 0x710]
mov byte [esp + 0x748], 7
mov ecx, dword [esp + 0xbc]
push eax
push ecx
call fcn.004adf15
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
call fcn.004748c0
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x748], 8
call fcn.0047f360
lea ecx, [esp + 0x30]
mov byte [esp + 0x740], 0xa
call fcn.004732d0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x740], 0xb
call fcn.0047d5b0
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004803f0
lea ecx, [esp + 0x58]
mov byte [esp + 0x740], 5
call fcn.0047f3e0
lea ecx, [esp + 0x40]
mov byte [esp + 0x740], bl
call fcn.00419a60
jmp 0x41222c
mov edx, dword [esp + 0x14]
push edx
mov ecx, 0x554984
call fcn.00475c30
test eax, eax
jge 0x41222c
mov eax, dword [0x554994]
cmp eax, edi
je 0x411f16
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x411f16
mov dword [0x554994], edi
cmp dword [0x54fa18], 0xffffffff
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x34]
mov dword [0x5549a8], edi
mov dword [0x554998], eax
mov dword [0x55499c], ecx
jne 0x411f67
mov edx, dword [0x5549a0]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
push edx
call esi
mov eax, dword [0x5549a4]
push eax
call esi
push edi
push edi
push edi
push 0x411b50
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x54fa18], eax
mov ecx, dword [0x5549a0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [0x5549a4]
push 0xbb8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, eax
mov eax, dword [0x5549a4]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp esi, 0x80
je 0x41222c
cmp esi, 0x102
jne 0x411fd5
mov ecx, dword [0x54fa18]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea edx, [esp + 0x14]
push edx
mov ecx, 0x554984
mov dword [0x54fa18], 0xffffffff
call fcn.00475be0
jmp 0x41222c
cmp dword [0x5549a8], 1
jne 0x41222c
mov esi, 0x428
push esi
lea eax, [esp + 0x2e0]
push edi
push eax
call fcn.004b0770
mov edx, dword [0x554994]
add esp, 0xc
lea ecx, [esp + 0x2dc]
push ecx
push edx
mov dword [esp + 0x2e4], esi
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x41222c
lea ecx, [ecx]
push 0xffffffffffffffff
lea eax, [esp + 0x300]
push eax
lea ecx, [esp + 0x20]
call fcn.004748c0
mov byte [esp + 0x740], 0xc
mov ecx, dword [esp + 0x18]
push 0x5c
push ecx
call fcn.00475bc0
add esp, 8
cmp eax, edi
je 0x41208e
sub eax, dword [esp + 0x18]
sar eax, 1
cmp eax, 0xffffffff
je 0x41208e
add eax, 1
push eax
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x20]
call fcn.00401040
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x744], 0xd
call fcn.00474c20
lea ecx, [esp + 0x3c]
mov byte [esp + 0x740], 0xc
call fcn.004732d0
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.00473450
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.00473380
mov eax, dword [esp + 0x18]
push eax
call fcn.00476250
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add esp, 4
push ecx
push edx
call fcn.00477290
add esp, 8
test eax, eax
je 0x412111
lea ecx, [esp + 0x18]
mov byte [esp + 0x740], bl
call fcn.004732d0
push esi
lea eax, [esp + 0x2e0]
push edi
push eax
call fcn.004b0770
mov edx, dword [0x554994]
add esp, 0xc
lea ecx, [esp + 0x2dc]
push ecx
push edx
mov dword [esp + 0x2e4], esi
call sub.KERNEL32.dll_Module32NextW
cmp eax, edi
jne 0x412020
jmp 0x412222
lea ecx, [esp + 0x4c]
call fcn.00480c10
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x90]
mov byte [esp + 0x744], 0xe
call fcn.0047d530
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x744], 0xf
call fcn.00475be0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x740], 0xe
call fcn.0047d5b0
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0xa0]
call fcn.0047d590
push 0xffffffffffffffff
push 0xa
lea eax, [esp + 0x710]
mov byte [esp + 0x748], 0x10
mov ecx, dword [esp + 0xbc]
push eax
push ecx
call fcn.004adf15
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
call fcn.004748c0
lea edx, [esp + 0x9c]
push edx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x748], 0x11
call fcn.0047f360
lea ecx, [esp + 0x20]
mov byte [esp + 0x740], 0x13
call fcn.004732d0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x740], 0x14
call fcn.0047d5b0
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004803f0
lea ecx, [esp + 0x58]
mov byte [esp + 0x740], 0xe
call fcn.0047f3e0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x740], 0xc
call fcn.00419a60
lea ecx, [esp + 0x18]
mov byte [esp + 0x740], bl
call fcn.004732d0
mov esi, 0x554990
call fcn.00419a40
lea ecx, [esp + 0x14]
mov byte [esp + 0x740], 1
call fcn.004732d0
push 0x22c
lea edx, [esp + 0xb0]
push edi
push edx
call fcn.004b0770
mov ecx, dword [esp + 0x38]
add esp, 0xc
lea eax, [esp + 0xac]
push eax
push ecx
mov dword [esp + 0xb4], 0x22c
call sub.KERNEL32.dll_Process32NextW
cmp eax, edi
jne 0x411d46
mov ebx, dword [esp + 0x2c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, edi
je 0x41228d
mov dword [esp + 0x2c], edi
mov ebx, edi
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 8]
cmp eax, edi
je 0x4122ae
mov eax, dword [eax - 0xc]
shr eax, 2
cmp eax, edi
jle 0x4122ae
push esi
push 0x4119d0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esi + 8]
cmp eax, edi
jne 0x4122b9
xor eax, eax
jmp 0x4122bf
mov eax, dword [eax - 0xc]
shr eax, 2
xor edx, edx
cmp eax, edi
setg dl
lea ecx, [esp + 0x1c]
mov byte [esp + 0x740], 0
mov esi, edx
call fcn.004732d0
cmp ebx, edi
je 0x4122e4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x738]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x720]
xor ecx, esp
call fcn.004ac89d
mov esp, ebp
pop ebp
ret 8