Function at 0x1000b7cd
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x494
push ebx
push esi
push edi
push str.CustomActionData
push dword [ebp + 8]
xor esi, esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.10003a20
push dword [ebp + 8]
mov eax, dword [esp + 0x24]
lea ebx, [esp + 0x3c]
lea edi, [esp + 0x38]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
call fcn.1000b735
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.10002c82
mov edi, eax
lea esi, [esp + 0x24]
call fcn.100021c4
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
push 0xffffffffffffffff
call fcn.10002caa
mov dword [esp], str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push eax
mov dword [esp + 0x24], eax
call esi
xor ebx, ebx
push ebx
push 2
call eax
push ebx
mov dword [esp + 0x38], eax
mov edi, 0x22c
lea eax, [esp + 0x6c]
push edi
push eax
call fcn.10002af1
add esp, 0xc
push str.Process32FirstW
push dword [esp + 0x20]
mov dword [esp + 0x70], edi
call esi
push str.Process32NextW
push dword [esp + 0x20]
mov edi, eax
call esi
mov esi, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x68]
push eax
push esi
call edi
test eax, eax
jne 0x1000b8bd
cmp esi, ebx
je 0x1000b9d9
push esi
jmp 0x1000b9d3
mov dword [esp + 0x10], ebx
push dword [esp + 0x28]
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1000b8e7
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x70]
inc dword [esp + 0x10]
mov dword [esp + ecx*4 + 0x40], eax
lea eax, [esp + 0x68]
push eax
push esi
call dword [esp + 0x44]
test eax, eax
je 0x1000b8fc
cmp dword [esp + 0x10], 0xa
jl 0x1000b8c1
push 0x19970
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x30]
xor edi, edi
cmp dword [esp + 0x10], ebx
mov dword [esi + 0x1996c], ebx
mov dword [esi + 8], eax
jle 0x1000b940
mov eax, dword [esp + edi*4 + 0x40]
push esi
push 0x1000b63b
mov dword [esi], eax
call dword [sym.imp.USER32.dll_EnumWindows]
inc edi
cmp edi, dword [esp + 0x10]
jl 0x1000b927
mov dword [esp + 0x10], ebx
cmp dword [esi + 0x1996c], ebx
jbe 0x1000b9c2
lea edi, [esi + 0xc]
push dword [edi]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000b9ac
push ebx
push ebx
push 0x10
push dword [edi]
call dword [sym.imp.USER32.dll_PostMessageW]
test eax, eax
je 0x1000b9ac
xor eax, eax
mov word [esp + 0x298], ax
push str.Closing_window
lea eax, [esp + 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [edi + 4]
push eax
lea eax, [esp + 0x29c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push dword [ebp + 8]
lea eax, [esp + 0x29c]
push eax
call fcn.10003dca
pop ecx
pop ecx
inc dword [esp + 0x10]
mov eax, dword [esp + 0x10]
add edi, 0x20c
cmp eax, dword [esi + 0x1996c]
jb 0x1000b94f
push esi
call fcn.10002adf
pop ecx
cmp dword [esp + 0x34], ebx
je 0x1000b9d9
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x1c], ebx
je 0x1000b9e9
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [esp + 0x28]
call fcn.10002adf
pop ecx
push dword [esp + 0x18]
call fcn.10002adf
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4