Function at 0x1003ed00
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x460]
sub esp, 0x460
push 0xffffffffffffffff
push 0x100635d5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10088020]
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 - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push 0x100707ac
xor edi, edi
push 0x10072e94
push dword [ebp + 0x468]
mov dword [ebp - 0x14], edi
mov ebx, dword [sym.imp.msi.dll_MsiGetSummaryInformationW]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], edi
call ebx
lea edx, [edi + 2]
cmp eax, 0xea
jne 0x1003edb9
mov esi, dword [ebp - 0x10]
xor ecx, ecx
inc esi
mov eax, esi
mov dword [ebp - 0x10], esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp - 0x14], edi
push 0x10072e94
mov dword [ebp - 0x18], esi
mov esi, dword [ebp + 0x468]
push esi
call ebx
jmp 0x1003edbf
mov esi, dword [ebp + 0x468]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x24], 0
push eax
mov edx, edi
mov ecx, esi
call fcn.1003eb40
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 4], 1
xor esi, esi
mov eax, edi
cmp word [edi], si
je 0x1003ee0a
nop dword [eax]
lea eax, [eax + 2]
inc esi
cmp word [eax], 0
jne 0x1003ee00
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]
movzx ecx, word [edi]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
mov eax, ecx
mov dword [ebp - 0x20], esi
mov edx, ebx
test cx, cx
je 0x1003ee4f
mov ecx, edi
sub ecx, ebx
nop
mov word [edx], ax
add edx, 2
movzx eax, word [ecx + edx]
test ax, ax
jne 0x1003ee40
xor eax, eax
push eax
push 2
mov word [edx], ax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [ebp - 0x2c], 0x10070ab0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], edi
mov byte [ebp - 4], 2
lea eax, [ebp]
push 0x22c
push 0
push eax
call fcn.10046750
push 0
lea eax, [ebp]
push 0x22c
push eax
call fcn.100262e0
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 0x1003eede
mov byte [ebp - 4], 1
mov dword [ebp - 0x2c], 0x10070ab0
test edi, edi
je 0x1003eec6
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 0x1003f013
push ebx
jmp 0x1003f011
xor esi, esi
push ebx
lea eax, [ebp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1003eefa
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 0x1003ef0e
cmp esi, 0xa
jl 0x1003eee0
push 0x19970
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 3
xor edi, edi
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x1996c], 0
mov dword [ebx + 4], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebx + 8], ecx
test esi, esi
jle 0x1003ef5a
mov eax, dword [ebp + edi*4 + 0x22c]
push ebx
push 0x1003ea20
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_EnumWindows]
inc edi
cmp edi, esi
jl 0x1003ef40
xor edi, edi
cmp dword [ebx + 0x1996c], edi
jbe 0x1003efd1
lea esi, [ebx + 0xc]
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1003efc2
push 0
push 0
push 0x10
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x1003efc2
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.10028110
inc edi
add esi, 0x20c
cmp edi, dword [ebx + 0x1996c]
jb 0x1003ef67
mov byte [ebp - 4], 2
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call esi
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], 0x10070ab0
test eax, eax
je 0x1003f005
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1003f013
push eax
call esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x14]
call esi
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 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.10044a98
lea esp, [ebp + 0x460]
pop ebp
ret 4