Function at 0x100198e5
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
jmp 0x10019907
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
call fcn.1001fa0a
add esp, 4
mov eax, 0x1003f2e4
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov ebx, dword [0x10040995]
push ebx
call fcn.1001fa0a
add esp, 4
mov eax, 0x1003f2e4
mov dword [0x10040995], eax
mov dword [ebp - 8], esp
push 0
push 0x10019c5b
xor eax, eax
call dword [sym.imp.USER32.dll_EnumWindows]
nop
nop
cmp dword [ebp - 8], esp
je 0x1001996b
push 0xeb
push 0x4034e41
push 6
call fcn.1001fa1c
add esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x10019a77
mov ebx, dword [0x10040995]
call fcn.100046dc
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10019a65
mov ebx, dword [0x10040995]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 4]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
push dword [ebx]
call fcn.1000790c
mov dword [ebp - 0x10], eax
mov eax, dword [0x100408f9]
cmp dword [ebp - 0x10], eax
jne 0x10019a5d
mov ebx, dword [0x10040995]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 4]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.1001ff00
add esp, 8
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
call fcn.100030ab
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp - 0x10]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x10019a30
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x10]
call fcn.1001fa10
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x14]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
pop eax
pop ebx
pop ecx
jmp 0x10019989
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.100046dc
jmp 0x10019bb4
mov ebx, dword [0x10040995]
call fcn.100046dc
xor ecx, ecx
push eax
lea eax, [ebp - 4]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x10019b92
mov ebx, dword [0x10040995]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 4]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
push dword [ebx]
call fcn.10007a5f
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
push eax
push dword [ebp - 0xc]
call fcn.100015c4
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10019af1
push ebx
call fcn.1001fa0a
add esp, 4
cmp dword [ebp - 0x10], 0
je 0x10019b8a
mov ebx, dword [0x10040995]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [ebp - 4]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov dword [ebp - 8], ebx
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.1001ff00
add esp, 8
mov ebx, dword [ebp - 8]
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x10], ebx
call fcn.100030ab
mov dword [ebp - 0x14], ecx
mov edi, dword [ebp - 0x10]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x10019b5d
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x14]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x10]
call fcn.1001fa10
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x14]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
pop eax
pop ebx
pop ecx
jmp 0x10019a8b
add esp, 0xc
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.100046dc
jmp 0x10019bb4
mov esp, ebp
pop ebp
ret 0xc