Function at 0x4035a4
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
call fcn.00403cf7
mov edi, dword [ebp + 8]
lea esi, [edi + 0x78]
mov dword [ebp - 8], esi
call fcn.00403cf7
mov al, byte [ebp + 0x24]
mov ebx, dword [ebp + 0xc]
mov byte [edi + 4], al
mov al, byte [ebp + 0x20]
lea esi, [edi + 0x14]
mov byte [edi + 5], al
mov eax, esi
mov dword [ebp + 0x20], esi
call fcn.0040db98
mov ebx, dword [ebp + 0x10]
lea eax, [edi + 0x20]
mov dword [ebp - 4], eax
call fcn.0040db98
lea eax, [edi + 0x58]
push 0x468eee
mov dword [ebp + 0xc], eax
call fcn.0040dbc1
mov eax, dword [ebp + 0x18]
xor ebx, ebx
mov dword [edi + 0x10], eax
xor eax, eax
inc ebx
lea ecx, [ebp - 0x14]
mov dword [edi + 0x64], ebx
mov byte [edi + 6], 0
mov byte [edi + 7], 0
mov byte [edi + 8], 0
mov byte [edi + 9], 0
mov byte [edi + 0xa], 0
mov byte [edi + 0xb], 0
mov byte [edi + 0xc], bl
mov dword [edi + 0x68], eax
mov dword [edi + 0x6c], eax
mov dword [edi + 0x74], eax
call fcn.0040da93
mov eax, dword [edi + 0x10]
test eax, eax
jge 0x40364c
push eax
call fcn.0044da02
pop ecx
mov dword [edi + 0x10], eax
mov byte [edi + 0xc], 0
cmp dword [edi + 0x10], 4
jne 0x40365c
mov eax, esi
call fcn.004033c2
mov dword [edi + 0x10], ebx
cmp dword [edi + 0x18], 0
jne 0x40369b
cmp dword [edi + 0x24], 0
jne 0x40369b
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov esi, edi
call fcn.00403398
mov eax, dword [edi]
mov eax, dword [eax]
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x24]
push eax
call fcn.00403c65
push dword [ebp - 0x14]
call fcn.0044d0f0
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0x20
push str.LAST
lea esi, [ebp - 0x20]
call fcn.0040dab0
mov edi, dword [ebp + 0x20]
lea eax, [ebp - 0x14]
push eax
mov eax, esi
push eax
call fcn.00402a0d
push dword [ebp - 0x20]
mov byte [ebp + 0x27], al
call fcn.0044d0f0
cmp byte [ebp + 0x27], 0
pop ecx
je 0x4036f6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
je 0x4036f2
mov eax, dword [eax]
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x24]
push eax
call fcn.00403c65
mov esi, ebx
push dword [ebp - 0x14]
call fcn.0044d0f0
pop ecx
mov eax, esi
jmp 0x403694
xor esi, esi
jmp 0x4036e5
push str.ACTIVE
lea esi, [ebp - 0x20]
call fcn.0040dab0
lea eax, [ebp - 0x14]
push eax
mov eax, esi
push eax
call fcn.00402a0d
push dword [ebp - 0x20]
mov byte [ebp + 0x27], al
call fcn.0044d0f0
cmp byte [ebp + 0x27], 0
pop ecx
je 0x403734
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov esi, dword [ebp + 8]
call fcn.00403398
mov eax, dword [esi]
jmp 0x4036d2
push str.HANDLE
lea esi, [ebp - 0x20]
call fcn.0040dab0
lea eax, [ebp - 0x14]
push eax
mov eax, esi
push eax
call fcn.00402a0d
push dword [ebp - 0x20]
mov byte [ebp + 0x27], al
call fcn.0044d0f0
cmp byte [ebp + 0x27], 0
pop ecx
je 0x403780
mov edi, dword [ebp - 0x14]
lea esi, [ebp + 0x24]
call fcn.0040d4a2
push dword [ebp + 0x24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4036f2
push dword [ebp + 0x24]
jmp 0x403728
push str.REGEXPTITLE
lea esi, [ebp - 0x20]
call fcn.0040dab0
lea eax, [ebp - 0x14]
push eax
mov eax, esi
push eax
call fcn.00402a0d
push dword [ebp - 0x20]
mov bl, al
call fcn.0044d0f0
test bl, bl
mov ebx, dword [ebp + 8]
pop ecx
je 0x4037d0
inc dword [ebx + 0x74]
lea esi, [ebx + 0x2c]
mov byte [ebx + 7], 1
call fcn.004054ea
lea eax, [ebp - 0x14]
mov ecx, esi
call fcn.0040553d
test eax, eax
je 0x4037d0
or esi, 0xffffffff
jmp 0x4036e5
push str.CLASS
lea esi, [ebp - 0x20]
call fcn.0040dab0
lea eax, [ebp - 0x14]
push eax
mov eax, esi
push eax
call fcn.00402a0d
push dword [ebp - 0x20]
mov byte [ebp + 0x27], al
call fcn.0044d0f0
cmp byte [ebp + 0x27], 0
pop ecx
je 0x403812
mov eax, dword [ebp + 0xc]
mov byte [ebx + 9], 1
lea ebx, [ebp - 0x14]
call fcn.0040db98
mov eax, dword [ebp + 8]
inc dword [eax + 0x74]
mov ebx, eax
push str.INSTANCE
lea esi, [ebp - 0x20]
call fcn.0040dab0
lea eax, [ebp - 0x14]
push eax
mov eax, esi
push eax
call fcn.00402a0d
push dword [ebp - 0x20]
mov byte [ebp + 0x27], al
call fcn.0044d0f0
cmp byte [ebp + 0x27], 0
pop ecx
je 0x403850
push dword [ebp - 0x14]
mov byte [ebx + 0xa], 1
call fcn.0044d649
inc dword [ebx + 0x74]
pop ecx
mov dword [ebx + 0x64], eax
push 0x469144
lea esi, [ebp - 0x20]
call fcn.0040dab0
lea eax, [ebp - 0x14]
push eax
mov eax, esi
push eax
call fcn.00402a0d
push dword [ebp - 0x20]
mov byte [ebp + 0x27], al
call fcn.0044d0f0
cmp byte [ebp + 0x27], 0
pop ecx
je 0x403882
inc dword [ebx + 0x74]
mov byte [ebx + 0xb], 1
push str.TITLE
lea esi, [ebp - 0x20]
call fcn.0040dab0
lea eax, [ebp - 0x14]
push eax
mov eax, esi
push eax
call fcn.00402a0d
push dword [ebp - 0x20]
mov byte [ebp + 0x27], al
call fcn.0044d0f0
cmp byte [ebp + 0x27], 0
pop ecx
je 0x4038c7
mov eax, dword [ebp + 0x20]
mov byte [ebx + 6], 1
lea ebx, [ebp - 0x14]
call fcn.0040db98
mov eax, dword [ebp + 8]
inc dword [eax + 0x74]
mov edi, dword [ebp + 0x20]
mov ebx, eax
cmp dword [ebx + 0x74], 0
jne 0x4038d8
mov byte [ebx + 6], 1
mov dword [ebx + 0x74], 1
cmp byte [ebx + 0xc], 0
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffA]
mov byte [ebx + 8], 1
jne 0x4038f2
mov eax, dword [ebp - 4]
push dword [eax + 4]
push dword [eax]
call esi
inc dword [ebx + 0x74]
cmp byte [ebx + 6], 0
je 0x403908
cmp byte [ebx + 0xc], 0
jne 0x403908
push dword [edi + 4]
push dword [edi]
call esi
cmp byte [ebp + 0x1c], 0
push ebx
push 0x403967
je 0x403923
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x403929
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 0x14]
mov ebx, esi
mov eax, edi
call fcn.00403d1e
call fcn.00403cf7
mov esi, dword [ebp + 8]
cmp dword [esi + 0x6c], 1
jl 0x40395f
cmp dword [edi + 8], 0
ja 0x403953
call fcn.00419ebf
jmp 0x403958
mov eax, dword [edi + 4]
mov eax, dword [eax]
push dword [eax]
call fcn.00403398
mov esi, dword [esi + 0x6c]
jmp 0x4036e5