Function at 0x40351d
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.00403b93
mov edi, dword [ebp + 8]
lea esi, [edi + 0x68]
call fcn.00403b93
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.0040d95e
mov ebx, dword [ebp + 0x10]
lea eax, [edi + 0x20]
call fcn.0040d95e
lea eax, [edi + 0x48]
push 0x468050
call fcn.0040d98a
mov eax, dword [ebp + 0x18]
xor ebx, ebx
lea ecx, [ebp - 0xc]
mov dword [edi + 0x54], 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 + 0x58], ebx
mov dword [edi + 0x5c], ebx
mov dword [edi + 0x64], ebx
call fcn.0040d806
mov eax, dword [edi + 0x10]
cmp eax, ebx
jge 0x4035b4
push eax
call fcn.0044beb1
pop ecx
mov dword [edi + 0x10], eax
mov byte [edi + 0xc], bl
cmp dword [edi + 0x10], 4
jne 0x4035c8
mov eax, esi
call fcn.0040332f
mov dword [edi + 0x10], 1
cmp dword [edi + 0x18], ebx
jne 0x403606
cmp dword [edi + 0x24], ebx
jne 0x403606
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov esi, edi
call fcn.00402969
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.00406c81
push dword [ebp - 0xc]
call fcn.0044b716
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.0040d832
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402993
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044b716
cmp byte [ebp + 0x27], bl
pop ecx
je 0x40365e
mov edi, dword [edi]
cmp edi, ebx
je 0x40365a
mov eax, dword [edi]
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x24]
push eax
call fcn.00406c81
xor edi, edi
inc edi
push dword [ebp - 0xc]
call fcn.0044b716
pop ecx
mov eax, edi
jmp 0x4035ff
xor edi, edi
jmp 0x40364d
push str.ACTIVE
lea esi, [ebp - 0x18]
call fcn.0040d832
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402993
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044b716
cmp byte [ebp + 0x27], bl
pop ecx
je 0x40369f
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov esi, edi
call fcn.00402969
mov eax, dword [edi]
mov eax, dword [eax]
jmp 0x40363b
push 0x46823c
lea esi, [ebp - 0x18]
call fcn.0040d832
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402993
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044b716
cmp byte [ebp + 0x27], bl
pop ecx
je 0x4036f7
mov edi, dword [ebp - 0xc]
lea esi, [ebp + 0x24]
call fcn.0040d206
push dword [ebp + 0x24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40365a
push dword [ebp + 0x24]
mov esi, dword [ebp + 8]
call fcn.00402969
mov eax, dword [esi]
jmp 0x40369b
push str.REGEXPTITLE
lea esi, [ebp - 0x18]
call fcn.0040d832
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402993
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044b716
cmp byte [ebp + 0x27], bl
pop ecx
je 0x40374a
inc dword [edi + 0x64]
lea esi, [edi + 0x2c]
mov byte [edi + 7], 1
call fcn.00405376
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004053aa
test eax, eax
je 0x40374a
or edi, 0xffffffff
jmp 0x40364d
push str.CLASS
lea esi, [ebp - 0x18]
call fcn.0040d832
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402993
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044b716
cmp byte [ebp + 0x27], bl
pop ecx
je 0x40378b
lea ebx, [ebp - 0xc]
lea eax, [edi + 0x48]
mov byte [edi + 9], 1
call fcn.0040d95e
inc dword [edi + 0x64]
xor ebx, ebx
push str.INSTANCE
lea esi, [ebp - 0x18]
call fcn.0040d832
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402993
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044b716
cmp byte [ebp + 0x27], bl
pop ecx
je 0x4037cb
push dword [ebp - 0xc]
mov byte [edi + 0xa], 1
call fcn.0044bc2e
inc dword [edi + 0x64]
pop ecx
mov dword [edi + 0x54], eax
push 0x468224
lea esi, [ebp - 0x18]
call fcn.0040d832
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402993
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044b716
cmp byte [ebp + 0x27], bl
pop ecx
je 0x4037ff
inc dword [edi + 0x64]
mov byte [edi + 0xb], 1
push str.TITLE
lea esi, [ebp - 0x18]
call fcn.0040d832
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00402993
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044b716
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403840
lea ebx, [ebp - 0xc]
lea eax, [edi + 0x14]
mov byte [edi + 6], 1
call fcn.0040d95e
inc dword [edi + 0x64]
xor ebx, ebx
cmp dword [edi + 0x64], ebx
jne 0x403850
mov byte [edi + 6], 1
mov dword [edi + 0x64], 1
cmp byte [edi + 0xc], bl
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffW]
mov byte [edi + 8], 1
jne 0x403867
push dword [edi + 0x24]
push dword [edi + 0x20]
call esi
inc dword [edi + 0x64]
cmp byte [edi + 6], bl
je 0x40387c
cmp byte [edi + 0xc], bl
jne 0x40387c
push dword [edi + 0x18]
push dword [edi + 0x14]
call esi
cmp byte [ebp + 0x1c], bl
push edi
push 0x4038da
je 0x403896
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x40389c
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp + 0x14]
lea esi, [edi + 0x68]
mov ebx, esi
call fcn.00403bd7
call fcn.00403b93
cmp dword [edi + 0x5c], 1
jl 0x4038d2
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 0
ja 0x4038c4
call fcn.00403bba
jmp 0x4038c9
mov eax, dword [eax + 4]
mov eax, dword [eax]
push dword [eax]
mov esi, edi
call fcn.00402969
mov edi, dword [edi + 0x5c]
jmp 0x40364d