Function at 0x1002cfe
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x100c7da
call fcn.01008820
sub esp, 0x44
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jne 0x1002d3b
push 0x800300fd
call dword [sym.imp.KERNEL32.dll_SetLastError]
call fcn.01008d88
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret
mov dword [ebp - 4], ebx
mov ecx, esi
call fcn.01002020
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x1002d55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x48], ebx
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
push eax
lea ecx, [ebp - 0x18]
call fcn.01002a0c
mov edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 1
push 0x1001414
lea ecx, [ebp - 0x20]
call fcn.01002a0c
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 2
mov eax, dword [edi]
cmp eax, ebx
je 0x1002d8d
mov edx, dword [eax]
jmp 0x1002d8f
xor edx, edx
mov eax, dword [ecx]
cmp eax, ebx
je 0x1002d9c
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
jmp 0x1002d9f
mov dword [ebp - 0x28], ebx
mov eax, dword [esi + 0x44]
mov ecx, dword [eax]
lea edi, [esi + 0x48]
push edi
push ebx
push 0x30
push edx
push dword [ebp - 0x28]
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x1002dc9
call fcn.01002cbe
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
je 0x1002ddb
call fcn.01002cbe
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x2c], ebx
jge 0x1002de5
push dword [ebp - 0x2c]
jmp 0x1002df7
push dword [esi + 0x50]
push dword [edi]
call fcn.01005766
mov dword [ebp - 0x2c], eax
cmp eax, ebx
jge 0x1002e01
push eax
call fcn.01005b99
jmp 0x1002d2a
mov dword [ebp - 0x30], ebx
push 0x10013f8
lea ecx, [ebp - 0x34]
call fcn.01002a0c
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 3
mov eax, dword [eax]
cmp eax, ebx
je 0x1002e22
mov ecx, dword [eax]
jmp 0x1002e24
xor ecx, ecx
mov eax, dword [esi + 0x44]
mov edx, dword [eax]
push ebx
lea edi, [ebp - 0x30]
push edi
push ebx
push ebx
push ecx
push eax
call dword [edx + 0x18]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x1002e4a
call fcn.01002cbe
mov dword [ebp - 0x34], ebx
cmp dword [ebp - 0x2c], ebx
jge 0x1002e57
push dword [ebp - 0x2c]
call fcn.010085c3
push 0x10013e4
lea ecx, [ebp - 0x3c]
call fcn.01002a0c
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
mov eax, dword [eax]
cmp eax, ebx
je 0x1002e75
mov ecx, dword [eax]
jmp 0x1002e77
xor ecx, ecx
mov eax, dword [ebp - 0x30]
mov edx, dword [eax]
push ebx
lea edi, [esi + 0x4c]
push edi
push ebx
push ecx
push eax
call dword [edx + 0x4c]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x3c]
cmp ecx, ebx
je 0x1002e9c
call fcn.01002cbe
mov dword [ebp - 0x3c], ebx
cmp dword [ebp - 0x2c], ebx
jge 0x1002ea9
push dword [ebp - 0x2c]
call fcn.010085c3
mov eax, dword [ebp - 0x30]
cmp eax, ebx
je 0x1002eb9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x30], ebx
push dword [esi + 0x30]
call fcn.01009972
cmp dword [esi + 0xc8], 1
jne 0x1002f06
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
push 0x1002bfe
call dword [sym.imp.USER32.dll_EnumWindowStationsW]
cmp dword [ebp - 0x50], ebx
je 0x1002ef7
push dword [ebp - 0x50]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
cmp dword [ebp - 0x4c], ebx
je 0x1002f06
push dword [ebp - 0x4c]
call dword [sym.imp.msvcrt.dll_free]
pop ecx
mov ecx, esi
call fcn.01002a60
lea eax, [esi + 0x94]
push eax
push ebx
push dword [esi + 0x90]
call fcn.0100230f
or dword [ebp - 4], 0xffffffff
xor eax, eax
inc eax
jmp 0x1002d2c