Function at 0x1002a38c
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002a3ac
push 0
push 0
call dword [sym.imp.USER32.dll_EnumWindows]
jmp 0x1002aad1
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x110], 0xffffffff
mov dword [ebp - 4], 0
jmp 0x1002a3db
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x1002a3ee
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 8], 1
jmp 0x1002a3d4
mov dword [ebp - 4], 0
jmp 0x1002a3fe
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jge 0x1002a414
mov eax, dword [ebp - 4]
mov dword [ebp + eax*4 - 0xbc], 3
jmp 0x1002a3f7
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 8], 0
jmp 0x1002a439
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 8]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 8], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 8], 8
jl 0x1002a60d
mov dword [ebp - 0x20], 0x4768c0aa
mov dword [ebp - 0xa0], 0xfffffffe
mov dword [ebp - 0x3c], 0
jmp 0x1002a46b
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x1002a481
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0x17c], 1
jmp 0x1002a464
mov dword [ebp - 0x20], 3
jmp 0x1002a491
mov eax, dword [ebp - 0x20]
dec eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jl 0x1002a608
mov dword [ebp - 0x80], 0xfffffffe
mov dword [ebp - 0xac], 0x9953
mov dword [ebp - 0x38], 0
jmp 0x1002a4bc
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x1002a4cf
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x34], 3
jmp 0x1002a4b5
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x13]
push eax
push 1
call fcn.10024ca3
pop ecx
pop ecx
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 8], 0
je 0x1002a558
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 8], 0
jl 0x1002a506
mov dword [ebp - 0x90], 1
jmp 0x1002a50d
and dword [ebp - 0x90], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
cmp dword [ebp - 0x90], eax
jne 0x1002a528
mov dword [ebp - 0x4c], 1
jmp 0x1002a52c
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x80]
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 8]
cmp eax, dword [ebp - 0x4c]
jne 0x1002a551
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 0
jne 0x1002a551
and dword [ebp - 0x58], 0
jmp 0x1002a558
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x17c]
mov dword [ebp - 0xd0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x34]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x17c]
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0x80], 0
jne 0x1002a5a3
mov dword [ebp - 0x60], 1
jmp 0x1002a5a7
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x148], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 8]
mov dword [ebp - 0xe0], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x34], 0
jne 0x1002a5ec
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 8], 0
jne 0x1002a5ec
and dword [ebp - 0x68], 0
jmp 0x1002a5f3
mov dword [ebp - 0x68], 1
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x68]
mov dword [ebp + eax - 0xbc], ecx
jmp 0x1002a48a
jmp 0x1002a424
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + 0x10]
mov dword [eax], ecx
mov dword [ebp - 0xb4], 0xfffffff7
mov dword [ebp - 0xc], 0xada439be
mov dword [ebp - 0x54], 6
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xc], 0x16
jmp 0x1002a649
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xfffffff2
jl 0x1002a74b
mov dword [ebp - 0x40], 0x80444555
mov dword [ebp - 0x88], 0xf3faa32f
mov dword [ebp - 0xa8], 0x1a05132d
mov dword [ebp - 0xb0], 1
cmp dword [ebp - 0x40], 0
je 0x1002a68d
cmp dword [ebp - 0xc], 0
je 0x1002a68d
mov dword [ebp - 0x5c], 1
jmp 0x1002a691
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
imul eax, dword [ebp - 0x40]
cmp eax, 0xffffffff
je 0x1002a6bb
mov dword [ebp - 0x70], 1
jmp 0x1002a6bf
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x70], eax
jg 0x1002a6d3
mov dword [ebp - 0x98], 1
jmp 0x1002a6da
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x98], eax
jl 0x1002a6f7
cmp dword [ebp - 0xc], 0
je 0x1002a6f7
mov dword [ebp - 0x78], 1
jmp 0x1002a6fb
and dword [ebp - 0x78], 0
cmp dword [ebp - 0x78], 0xdae974ca
jne 0x1002a70d
mov dword [ebp - 0x50], 1
jmp 0x1002a711
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x5c], eax
jg 0x1002a728
mov dword [ebp - 0x64], 1
jmp 0x1002a72c
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0x11], 0
lea eax, [ebp - 0x11]
push eax
push 0
call fcn.100270b7
pop ecx
pop ecx
jmp 0x1002a642
mov eax, dword [ebp - 0x30]
cmp dword [eax], 0
jne 0x1002aad1
mov dword [ebp - 0x18], 0xfffffffc
mov dword [ebp - 0x44], 0xfffffff9
mov dword [ebp - 0x94], 0x33ee6768
mov dword [ebp - 0x28], 0
jmp 0x1002a77f
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 2
jge 0x1002a795
mov eax, dword [ebp - 0x28]
mov dword [ebp + eax*4 - 0x168], 0xffffffff
jmp 0x1002a778
mov dword [ebp - 0x18], 0xfffffffd
jmp 0x1002a7a5
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x17
je 0x1002a8e2
mov dword [ebp - 0x1c], 0xa654
mov dword [ebp - 0x10], 2
mov dword [ebp - 0xb8], 0xc0a9c5a7
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xe8], eax
mov eax, 0xc25fcc58
test eax, eax
je 0x1002a898
cmp dword [ebp - 0x44], 0
jne 0x1002a84a
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xf0], eax
mov eax, 0x92978d8e
cmp eax, 0xffffffff
ja 0x1002a808
mov dword [ebp - 0x6c], 1
jmp 0x1002a80c
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x6c], eax
je 0x1002a81d
mov dword [ebp - 0x74], 1
jmp 0x1002a821
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
inc eax
je 0x1002a830
mov dword [ebp - 0x7c], 1
jmp 0x1002a834
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x7c], eax
jge 0x1002a841
xor eax, eax
inc eax
jne 0x1002a84a
and dword [ebp - 0x84], 0
jmp 0x1002a854
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x84]
cmp eax, 0xc312fbb6
je 0x1002a873
cmp dword [ebp - 0x44], 0
jne 0x1002a873
and dword [ebp - 0x8c], 0
jmp 0x1002a87d
mov dword [ebp - 0x8c], 1
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x10], eax
cmp dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0x10], 0
jmp 0x1002a8c7
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x1002a8dd
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x168], 1
jmp 0x1002a8c0
jmp 0x1002a79e
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x24]
and eax, 0x40
je 0x1002aaaa
mov dword [ebp - 0x24], 0x1f2c29a3
mov dword [ebp - 0x150], 0xbe76d238
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 0x138], 0x3cc25429
mov dword [ebp - 0x108], 0xef068cd5
mov dword [ebp - 0x160], 6
mov dword [ebp - 0xc4], 0xfffffff6
mov dword [ebp - 0x140], 0xe6fc2e60
mov dword [ebp - 0x118], 0xfffffff7
mov dword [ebp - 0xc8], 0x2e6c0b33
mov dword [ebp - 0xcc], 0x3f6a0837
mov dword [ebp - 0xd4], 0x3cef3392
mov dword [ebp - 0xdc], 0x56e623b2
mov dword [ebp - 0xe4], 0x8993dd61
mov dword [ebp - 0xec], 7
mov dword [ebp - 0xf4], 0xb4b26d8f
mov dword [ebp - 0xfc], 0xffffffff
mov dword [ebp - 0x104], 0xffffffff
mov dword [ebp - 0x10c], 5
mov dword [ebp - 0x114], 0xffffffff
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x12c], 0xfffffff8
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x13c], 5
mov dword [ebp - 0x144], 0x890ba5fc
mov dword [ebp - 0x14c], 0xfffffffb
mov dword [ebp - 0x9c], 6
mov dword [ebp - 0x2c], 0
jmp 0x1002aa16
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1002aa2c
mov eax, dword [ebp - 0x2c]
mov dword [ebp + eax*4 - 0x154], 0xfffa
jmp 0x1002aa0f
mov dword [ebp - 0x24], 0
jmp 0x1002aa3c
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jg 0x1002aa86
mov dword [ebp - 0xc0], 0xdb785b64
mov byte [ebp - 0x12], 0
movzx eax, byte [ebp - 0x12]
test eax, eax
je 0x1002aa71
push 0x4fc6
push 0x7322
push 0x376f
push 0
call fcn.1002c3e7
add esp, 0x10
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x15c], eax
mov dword [ebp - 0xc0], 0xd1a4e665
jmp 0x1002aa35
mov eax, dword [ebp - 0x9c]
dec eax
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0xa4]
push eax
call fcn.1002705f
add esp, 0xc
jmp 0x1002aad1
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 0x24]
and eax, 0x80
je 0x1002aad1
push 0x34a0
push 0
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100250a0
add esp, 0x10
mov esp, ebp
pop ebp
ret