Function at 0x4035f2
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
call fcn.00406e60
mov edi, dword [ebp + 8]
lea esi, [edi + 0x78]
call fcn.00406e60
mov al, byte [ebp + 0x24]
mov ebx, dword [ebp + 0xc]
mov byte [edi + 4], al
mov al, byte [ebp + 0x20]
mov byte [edi + 5], al
lea esi, [edi + 0x14]
mov eax, esi
call fcn.0040dde3
mov ebx, dword [ebp + 0x10]
lea eax, [edi + 0x20]
call fcn.0040dde3
lea eax, [edi + 0x58]
push 0x46a170
call fcn.0040de0f
mov eax, dword [ebp + 0x18]
xor ebx, ebx
lea ecx, [ebp - 0xc]
mov dword [edi + 0x64], 1
mov dword [edi + 0x10], eax
mov byte [edi + 6], bl
mov byte [edi + 7], bl
mov byte [edi + 8], bl
mov byte [edi + 9], bl
mov byte [edi + 0xa], bl
mov byte [edi + 0xb], bl
mov byte [edi + 0xc], 1
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x74], ebx
call fcn.0040dc80
mov eax, dword [edi + 0x10]
cmp eax, ebx
jge 0x403689
push eax
call fcn.0044dbfb
pop ecx
mov dword [edi + 0x10], eax
mov byte [edi + 0xc], bl
cmp dword [edi + 0x10], 4
jne 0x40369d
mov eax, esi
call fcn.00403407
mov dword [edi + 0x10], 1
cmp dword [edi + 0x18], ebx
jne 0x4036db
cmp dword [edi + 0x24], ebx
jne 0x4036db
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov esi, edi
call fcn.00402a47
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.00432ef9
push dword [ebp - 0xc]
call fcn.0044d460
xor eax, eax
pop ecx
inc eax
pop edi
pop esi
pop ebx
leave
ret 0x20
push str.LAST
lea esi, [ebp - 0x18]
call fcn.0040dcac
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402a71
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044d460
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403733
mov edi, dword [edi]
cmp edi, ebx
je 0x40372f
mov eax, dword [edi]
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x24]
push eax
call fcn.00432ef9
xor edi, edi
inc edi
push dword [ebp - 0xc]
call fcn.0044d460
pop ecx
mov eax, edi
jmp 0x4036d4
xor edi, edi
jmp 0x403722
push str.ACTIVE
lea esi, [ebp - 0x18]
call fcn.0040dcac
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402a71
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044d460
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403774
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov esi, edi
call fcn.00402a47
mov eax, dword [edi]
mov eax, dword [eax]
jmp 0x403710
push 0x46a35c
lea esi, [ebp - 0x18]
call fcn.0040dcac
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402a71
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044d460
cmp byte [ebp + 0x27], bl
pop ecx
je 0x4037cc
mov edi, dword [ebp - 0xc]
lea esi, [ebp + 0x24]
call fcn.0040d69a
push dword [ebp + 0x24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40372f
push dword [ebp + 0x24]
mov esi, dword [ebp + 8]
call fcn.00402a47
mov eax, dword [esi]
jmp 0x403770
push str.REGEXPTITLE
lea esi, [ebp - 0x18]
call fcn.0040dcac
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402a71
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044d460
cmp byte [ebp + 0x27], bl
pop ecx
je 0x40381e
inc dword [edi + 0x74]
lea esi, [edi + 0x2c]
mov byte [edi + 7], 1
call fcn.004054c3
lea eax, [ebp - 0xc]
mov ecx, esi
call fcn.00405516
test eax, eax
je 0x40381e
or edi, 0xffffffff
jmp 0x403722
push str.CLASS
lea esi, [ebp - 0x18]
call fcn.0040dcac
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402a71
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044d460
cmp byte [ebp + 0x27], bl
pop ecx
je 0x40385f
lea ebx, [ebp - 0xc]
lea eax, [edi + 0x58]
mov byte [edi + 9], 1
call fcn.0040dde3
inc dword [edi + 0x74]
xor ebx, ebx
push str.INSTANCE
lea esi, [ebp - 0x18]
call fcn.0040dcac
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402a71
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044d460
cmp byte [ebp + 0x27], bl
pop ecx
je 0x40389f
push dword [ebp - 0xc]
mov byte [edi + 0xa], 1
call fcn.0044d978
inc dword [edi + 0x74]
pop ecx
mov dword [edi + 0x64], eax
push 0x46a344
lea esi, [ebp - 0x18]
call fcn.0040dcac
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402a71
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044d460
cmp byte [ebp + 0x27], bl
pop ecx
je 0x4038d3
inc dword [edi + 0x74]
mov byte [edi + 0xb], 1
push str.TITLE
lea esi, [ebp - 0x18]
call fcn.0040dcac
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402a71
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044d460
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403914
lea ebx, [ebp - 0xc]
lea eax, [edi + 0x14]
mov byte [edi + 6], 1
call fcn.0040dde3
inc dword [edi + 0x74]
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x403924
mov byte [edi + 6], 1
mov dword [edi + 0x74], 1
cmp byte [edi + 0xc], bl
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffW]
mov byte [edi + 8], 1
jne 0x40393b
push dword [edi + 0x24]
push dword [edi + 0x20]
call esi
inc dword [edi + 0x74]
cmp byte [edi + 6], bl
je 0x403950
cmp byte [edi + 0xc], bl
jne 0x403950
push dword [edi + 0x18]
push dword [edi + 0x14]
call esi
cmp byte [ebp + 0x1c], bl
push edi
push 0x4039ae
je 0x40396a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x403970
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp + 0x14]
lea esi, [edi + 0x78]
mov ebx, esi
call fcn.00403cbd
call fcn.00406e60
cmp dword [edi + 0x6c], 1
jl 0x4039a6
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 0
ja 0x403998
call fcn.0041a200
jmp 0x40399d
mov eax, dword [eax + 4]
mov eax, dword [eax]
push dword [eax]
mov esi, edi
call fcn.00402a47
mov edi, dword [edi + 0x6c]
jmp 0x403722