Function at 0x1005f570
Capabilities:
Enumerate gui resources

Disassembly:
push 0x2e4
mov eax, 0x100af78a
call fcn.100a56bc
mov ebx, ecx
call fcn.1008e9f3
push eax
lea ecx, [ebp - 0x2b8]
call fcn.10091a7b
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2d8], eax
mov dword [ebp - 0x2d4], eax
mov byte [ebp - 4], 1
lea ecx, [ebx + 4]
mov dword [ebp - 0x2c0], eax
mov byte [ebp - 0x2ad], al
call fcn.10069080
mov ecx, dword [ebx + 0x10]
lea eax, [ebp - 0x2c0]
push 1
push eax
lea eax, [ebp - 0x2e0]
push eax
call fcn.10091a7b
mov esi, dword [ebp - 0x2dc]
test esi, esi
je 0x1005f91a
mov ecx, dword [ebx + 0x18]
lea eax, [ebp - 0x2e0]
xor edi, edi
push edi
push eax
call fcn.1006cdc5
mov dword [ebp - 0x2d0], edi
mov dword [ebp - 0x2cc], edi
mov dword [ebp - 0x2c8], edi
lea ecx, [ebp - 0x2d0]
mov byte [ebp - 4], 2
call fcn.1006b8bb
lea eax, [ebp - 0x2d0]
push eax
push 0x100506f0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, edi
mov dword [ebp - 0x2c4], eax
test esi, esi
je 0x1005f87c
push eax
lea ecx, [ebp - 0x2e0]
call fcn.10091a7b
mov esi, eax
lea edi, [ebp - 0x2ac]
mov ecx, 0xa7
lea edx, [ebp - 0x2ac]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x2bc]
call fcn.1005a9e4
mov byte [ebp - 4], 3
test byte [ebp - 0x1c], 0x40
je 0x1005f6b9
lea eax, [ebp - 0x2bc]
mov edx, 0x10014f9c
push eax
lea ecx, [ebp - 0x2e4]
call fcn.1006eaa2
mov byte [ebp - 4], 4
mov edi, dword [ebx + 0x14]
push dword [eax]
push 2
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x2e4]
lea ecx, [ecx - 0x10]
jmp 0x1005f84c
test byte [ebp - 0x1c], 1
je 0x1005f851
lea eax, [ebp - 0x2a0]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.1006f4e2
mov byte [ebp - 4], 5
cmp dword [ebp - 0x20], 4
jne 0x1005f6e6
mov byte [ebp - 0x2ad], 1
mov eax, dword [ebp - 0x2c8]
xor ecx, ecx
test eax, eax
jle 0x1005f708
mov edx, dword [ebp - 0x2d0]
mov esi, dword [ebp - 0x2ac]
cmp dword [edx + ecx*4], esi
je 0x1005f70b
inc ecx
cmp ecx, eax
jl 0x1005f6fe
or ecx, 0xffffffff
cmp dword [ebp - 0x20], 1
je 0x1005f717
cmp dword [ebp - 0x20], 2
jne 0x1005f741
cmp ecx, 0xffffffff
je 0x1005f741
test ecx, ecx
js 0x1005f943
cmp ecx, eax
jge 0x1005f943
mov eax, dword [ebp - 0x2cc]
lea eax, [eax + ecx*4]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.10091a7b
lea ecx, [ebp - 0x2b4]
call fcn.1006edd8
mov eax, dword [ebp - 0x2b4]
cmp dword [eax - 0xc], 0
jne 0x1005f78e
push dword [ebx + 0x14]
mov edx, dword [ebp - 0x2ac]
lea ecx, [ebp - 0x2e8]
call fcn.100507f7
push eax
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 6
call fcn.10091a7b
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2e8]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push 0x10014fb0
lea edx, [ebp - 0x2bc]
lea ecx, [ebp - 0x2f0]
call fcn.1006eafe
lea ecx, [ebp - 0x2b4]
mov byte [ebp - 4], 7
push ecx
mov edx, eax
lea ecx, [ebp - 0x2ec]
call fcn.1006eb5a
mov byte [ebp - 4], 8
mov edi, dword [ebx + 0x14]
push dword [eax]
push 2
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x2ec]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2f0]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
push 0xffffffffffffffff
push dword [ebp - 0x2b4]
lea eax, [ebp - 0x2a0]
push 0x100
push eax
call fcn.10091a7b
mov esi, dword [ebp - 0x2b4]
add esp, 0x10
cmp dword [esi - 0xc], 0
je 0x1005f849
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebx + 4]
call fcn.10091a7b
cmp eax, 0xffffffff
jne 0x1005f849
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebx + 4]
call fcn.10091a7b
mov esi, dword [ebp - 0x2b4]
lea ecx, [esi - 0x10]
call fcn.1008ebf5
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2bc]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
mov eax, dword [ebp - 0x2c4]
inc eax
mov dword [ebp - 0x2c4], eax
cmp eax, dword [ebp - 0x2dc]
jb 0x1005f642
cmp dword [ebp - 0x2c0], 0
jne 0x1005f88e
cmp byte [ebp - 0x2ad], 0
je 0x1005f8cc
push dword [ebp - 0x2c0]
lea eax, [ebp - 0x2b8]
push 0x10014fd8
push eax
call fcn.10091a7b
mov edi, dword [ebx + 0x14]
add esp, 0xc
mov eax, dword [edi]
push dword [ebp - 0x2b8]
push 2
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
lea ecx, [ebx + 4]
call fcn.10069080
cmp dword [ebx + 8], 0x14
jbe 0x1005f90f
push 0x14
push dword [ebx + 8]
lea eax, [ebp - 0x2b8]
push 0x10015070
push eax
call fcn.10091a7b
mov edi, dword [ebx + 0x14]
add esp, 0x10
mov eax, dword [edi]
push dword [ebp - 0x2b8]
push 2
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100d0614]
mov ecx, edi
call esi
lea ecx, [ebx + 4]
call fcn.10069080
lea ecx, [ebp - 0x2d0]
call fcn.1006b8bb
cmp dword [ebp - 0x2e0], 0
je 0x1005f92f
push dword [ebp - 0x2e0]
call fcn.1009856f
pop ecx
mov ecx, dword [ebp - 0x2b8]
lea ecx, [ecx - 0x10]
call fcn.1008ebf5
call fcn.100a5666
ret
call fcn.1008cd60
int3