Function at 0x403bb3
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.00407411
mov edi, dword [ebp + 8]
lea esi, [edi + 0x78]
call fcn.00407411
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.0040e40c
mov ebx, dword [ebp + 0x10]
lea eax, [edi + 0x20]
call fcn.0040e40c
lea eax, [edi + 0x58]
push 0x46b160
call fcn.0040e438
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.0040e2a9
mov eax, dword [edi + 0x10]
cmp eax, ebx
jge 0x403c4a
push eax
call fcn.0044e637
pop ecx
mov dword [edi + 0x10], eax
mov byte [edi + 0xc], bl
cmp dword [edi + 0x10], 4
jne 0x403c5e
mov eax, esi
call fcn.004039c8
mov dword [edi + 0x10], 1
cmp dword [edi + 0x18], ebx
jne 0x403c9c
cmp dword [edi + 0x24], ebx
jne 0x403c9c
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov esi, edi
call fcn.0040399e
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.004281d6
push dword [ebp - 0xc]
call fcn.0044de9c
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.0040e2d5
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00403061
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044de9c
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403cf4
mov edi, dword [edi]
cmp edi, ebx
je 0x403cf0
mov eax, dword [edi]
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x24]
push eax
call fcn.004281d6
xor edi, edi
inc edi
push dword [ebp - 0xc]
call fcn.0044de9c
pop ecx
mov eax, edi
jmp 0x403c95
xor edi, edi
jmp 0x403ce3
push str.ACTIVE
lea esi, [ebp - 0x18]
call fcn.0040e2d5
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00403061
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044de9c
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403d35
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov esi, edi
call fcn.0040399e
mov eax, dword [edi]
mov eax, dword [eax]
jmp 0x403cd1
push 0x46b34c
lea esi, [ebp - 0x18]
call fcn.0040e2d5
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00403061
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044de9c
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403d8d
mov edi, dword [ebp - 0xc]
lea esi, [ebp + 0x24]
call fcn.0040dc9a
push dword [ebp + 0x24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x403cf0
push dword [ebp + 0x24]
mov esi, dword [ebp + 8]
call fcn.0040399e
mov eax, dword [esi]
jmp 0x403d31
push str.REGEXPTITLE
lea esi, [ebp - 0x18]
call fcn.0040e2d5
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00403061
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044de9c
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403ddf
inc dword [edi + 0x74]
lea esi, [edi + 0x2c]
mov byte [edi + 7], 1
call fcn.00405a74
lea eax, [ebp - 0xc]
mov ecx, esi
call fcn.00405ac7
test eax, eax
je 0x403ddf
or edi, 0xffffffff
jmp 0x403ce3
push str.CLASS
lea esi, [ebp - 0x18]
call fcn.0040e2d5
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00403061
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044de9c
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403e20
lea ebx, [ebp - 0xc]
lea eax, [edi + 0x58]
mov byte [edi + 9], 1
call fcn.0040e40c
inc dword [edi + 0x74]
xor ebx, ebx
push str.INSTANCE
lea esi, [ebp - 0x18]
call fcn.0040e2d5
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00403061
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044de9c
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403e60
push dword [ebp - 0xc]
mov byte [edi + 0xa], 1
call fcn.0044e3b4
inc dword [edi + 0x74]
pop ecx
mov dword [edi + 0x64], eax
push 0x46b334
lea esi, [ebp - 0x18]
call fcn.0040e2d5
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00403061
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044de9c
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403e94
inc dword [edi + 0x74]
mov byte [edi + 0xb], 1
push str.TITLE
lea esi, [ebp - 0x18]
call fcn.0040e2d5
lea eax, [ebp - 0xc]
push eax
mov eax, esi
push eax
lea eax, [edi + 0x14]
call fcn.00403061
push dword [ebp - 0x18]
mov byte [ebp + 0x27], al
call fcn.0044de9c
cmp byte [ebp + 0x27], bl
pop ecx
je 0x403ed5
lea ebx, [ebp - 0xc]
lea eax, [edi + 0x14]
mov byte [edi + 6], 1
call fcn.0040e40c
inc dword [edi + 0x74]
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x403ee5
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 0x403efc
push dword [edi + 0x24]
push dword [edi + 0x20]
call esi
inc dword [edi + 0x74]
cmp byte [edi + 6], bl
je 0x403f11
cmp byte [edi + 0xc], bl
jne 0x403f11
push dword [edi + 0x18]
push dword [edi + 0x14]
call esi
cmp byte [ebp + 0x1c], bl
push edi
push 0x403f6f
je 0x403f2b
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x403f31
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp + 0x14]
lea esi, [edi + 0x78]
mov ebx, esi
call fcn.0040429b
call fcn.00407411
cmp dword [edi + 0x6c], 1
jl 0x403f67
mov eax, dword [ebp + 0x14]
cmp dword [eax + 8], 0
ja 0x403f59
call fcn.0040427e
jmp 0x403f5e
mov eax, dword [eax + 4]
mov eax, dword [eax]
push dword [eax]
mov esi, edi
call fcn.0040399e
mov edi, dword [edi + 0x6c]
jmp 0x403ce3