Function at 0x1001f670
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x460]
sub esp, 0x460
push 0xffffffffffffffff
push 0x1003b7ed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10059024]
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.10010bc0
mov edi, dword [ebp - 0x20]
add esp, 4
mov dword [ebp - 0x18], 0
mov esi, edi
movzx eax, word [edi]
test ax, ax
je 0x1001f708
mov ecx, eax
nop dword [eax]
cmp cx, 0x3f
je 0x1001f87a
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x1001f6f0
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.10010bc0
mov esi, dword [ebp - 0x10]
add esp, 4
xor dl, dl
mov ecx, esi
call fcn.100118b0
mov dl, 1
mov dword [ebp - 0x1c], eax
mov ecx, esi
call fcn.100118b0
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 0
test esi, esi
je 0x1001f757
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 0x1001f78a
lea eax, [eax + 2]
inc esi
cmp word [eax], 0
jne 0x1001f780
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 0x1001f7cf
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 0x1001f7c0
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], 0x100469a8
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.10026360
push 0
lea eax, [ebp]
push 0x22c
push eax
call fcn.1000f2a0
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 0x1001f8fa
mov byte [ebp - 4], 2
mov dword [ebp - 0x2c], 0x100469a8
test edi, edi
je 0x1001f84a
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 0x1001f85b
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 0x1001fa5a
cmp word [esi], 0
je 0x1001f708
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.1000fd60
mov dword [ebp - 0x1c], eax
add esp, 4
movzx eax, word [esi]
test ax, ax
je 0x1001f765
mov ecx, eax
cmp cx, 0x3f
je 0x1001f8cc
movzx eax, word [esi + 2]
add esi, 2
mov ecx, eax
test ax, ax
jne 0x1001f8b3
jmp 0x1001f765
cmp word [esi], 0
je 0x1001f765
xor eax, eax
mov dword [ebp - 0x18], 0xffffffff
lea ecx, [esi + 2]
mov word [esi], ax
push 0xa
lea edx, [ebp - 0x18]
call fcn.1000fd60
add esp, 4
mov dword [ebp - 0x18], eax
jmp 0x1001f765
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 0x1001f91a
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 0x1001f92e
cmp esi, 0xa
jl 0x1001f900
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 0x1001f982
mov eax, dword [ebp + edi*4 + 0x22c]
push ebx
push 0x1001f550
mov dword [ebx], eax
call dword [sym.imp.USER32.dll_EnumWindows]
inc edi
cmp edi, esi
jl 0x1001f962
mov eax, dword [ebx + 0x1996c]
xor edi, edi
test eax, eax
je 0x1001f9fe
lea esi, [ebx + 0xc]
nop
push dword [esi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1001f9ef
push 0
push 0
push 0x10
push dword [esi]
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x1001f9ef
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]
push ecx
lea ecx, [ebp + 0x254]
call fcn.10011140
add esp, 4
inc edi
add esi, 0x20c
cmp edi, dword [ebx + 0x1996c]
jb 0x1001f990
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], 0x100469a8
test eax, eax
je 0x1001fa32
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 0x1001fa40
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.10024a34
lea esp, [ebp + 0x460]
pop ebp
ret 4