Function at 0x10027450
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x460]
sub esp, 0x460
push 0xffffffffffffffff
push 0x10046fed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10067024]
xor eax, ebp
mov dword [ebp + 0x45c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
mov ebx, dword [ebp + 0x468]
mov edx, str.CustomActionData
push eax
mov ecx, ebx
call fcn.10016940
mov edi, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x18], 0
mov esi, edi
movzx eax, word [edi]
test ax, ax
je 0x100274e8
mov ecx, eax
nop dword [eax]
cmp cx, 0x3f
je 0x1002765a
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x100274d0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
mov edx, str.AI_CLOSEAPP_WINDOW_FLAGS
mov ecx, ebx
call fcn.10016940
mov esi, dword [ebp - 0x10]
add esp, 4
xor dl, dl
mov ecx, esi
call fcn.100175f0
mov dl, 1
mov dword [ebp - 0x1c], eax
mov ecx, esi
call fcn.100175f0
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
test esi, esi
je 0x10027537
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
xor esi, esi
mov eax, edi
cmp word [edi], si
je 0x1002756a
lea eax, [eax + 2]
inc esi
cmp word [eax], 0
jne 0x10027560
inc esi
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 0x14], esi
movzx eax, word [edi]
mov ecx, ebx
mov dword [ebp - 0x10], ebx
test ax, ax
je 0x100275af
mov edx, eax
mov eax, edi
sub eax, ebx
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [eax + ecx]
test dx, dx
jne 0x100275a0
xor eax, eax
push eax
push 2
mov word [ecx], ax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x2c], 0x10053944
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 3
lea eax, [ebp]
push 0x22c
push 0
push eax
call fcn.1002e160
push 0
lea eax, [ebp]
push 0x22c
push eax
call fcn.10014f40
add esp, 0x18
mov dword [ebp], 0x22c
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x100276da
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], 0x10053944
test edi, edi
je 0x1002762a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
test ebx, ebx
je 0x1002763b
push ebx
call esi
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x20]
call esi
jmp 0x10027836
cmp word [esi], 0
je 0x100274e8
xor eax, eax
mov dword [ebp - 0x1c], 0xffffffff
mov word [esi], ax
lea edx, [ebp - 0x1c]
add esi, 2
push 0xa
mov ecx, esi
call fcn.10015a30
mov dword [ebp - 0x1c], eax
add esp, 4
movzx eax, word [esi]
test ax, ax
je 0x10027545
mov ecx, eax
cmp cx, 0x3f
je 0x100276ac
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x10027693
jmp 0x10027545
cmp word [esi], 0
je 0x10027545
xor eax, eax
mov dword [ebp - 0x18], 0xffffffff
lea ecx, [esi + 2]
mov word [esi], ax
push 0xa
lea edx, [ebp - 0x18]
call fcn.10015a30
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x10027545
xor esi, esi
nop dword [eax]
push ebx
lea eax, [ebp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x100276fa
mov eax, dword [ebp + 8]
mov dword [ebp + esi*4 + 0x22c], eax
inc esi
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1002770e
cmp esi, 0xa
jl 0x100276e0
push 0x19970
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 4
xor edi, edi
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x1996c], 0
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 8], eax
xor eax, eax
test esi, esi
jle 0x10027762
mov eax, dword [ebp + edi*4 + 0x22c]
push ebx
push 0x10027330
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_EnumWindows]
inc edi
cmp edi, esi
jl 0x10027742
mov eax, dword [ebx + 0x1996c]
xor edi, edi
test eax, eax
je 0x100277da
lea esi, [ebx + 0xc]
nop dword [eax + eax]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100277cb
push 0
push 0
push 0x10
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x100277cb
xor eax, eax
mov word [ebp + 0x254], ax
lea eax, [ebp + 0x254]
push str.Closing_window
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [esi + 4]
push eax
lea eax, [ebp + 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, dword [ebp + 0x468]
lea ecx, [ebp + 0x254]
call fcn.10016ec0
inc edi
add esi, 0x20c
cmp edi, dword [ebx + 0x1996c]
jb 0x10027770
mov byte [ebp - 4], 3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFree]
call ebx
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], 0x10053944
test eax, eax
je 0x1002780e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1002781c
push eax
call ebx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x20]
call ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x45c]
xor ecx, ebp
call fcn.1002c803
lea esp, [ebp + 0x460]
pop ebp
ret 4