Function at 0x4036c0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
call fcn.004107ee
mov ebx, dword [ebp + 8]
lea esi, [ebx + 0x68]
mov dword [ebp - 4], esi
call fcn.004107ee
mov al, byte [ebp + 0x24]
mov byte [ebx + 4], al
mov al, byte [ebp + 0x20]
mov byte [ebx + 5], al
mov eax, dword [ebp + 0xc]
lea edi, [ebx + 0x14]
mov esi, edi
call fcn.00416b8d
mov eax, dword [ebp + 0x10]
lea esi, [ebx + 0x20]
call fcn.00416b8d
lea eax, [ebx + 0x48]
push 0x45b6e0
push eax
call fcn.00416b9f
mov eax, dword [ebp + 0x18]
xor esi, esi
mov dword [ebx + 0x10], eax
xor eax, eax
inc esi
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x54], esi
mov byte [ebx + 6], 0
mov byte [ebx + 7], 0
mov byte [ebx + 8], 0
mov byte [ebx + 9], 0
mov byte [ebx + 0xa], 0
mov byte [ebx + 0xb], 0
mov byte [ebx + 0xc], 1
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x64], eax
call fcn.00416a7d
mov eax, dword [ebx + 0x10]
test eax, eax
jge 0x403761
push eax
call fcn.00448ea7
pop ecx
mov dword [ebx + 0x10], eax
mov byte [ebx + 0xc], 0
cmp dword [ebx + 0x10], 4
jne 0x403770
push ebx
call fcn.00403312
mov dword [ebx + 0x10], esi
cmp dword [ebx + 0x18], 0
jne 0x403780
cmp dword [ebx + 0x24], 0
je 0x403800
push str.LAST
lea esi, [ebp - 0x1c]
call fcn.00416a9d
lea eax, [ebp - 0x10]
push eax
mov eax, esi
push eax
mov eax, edi
call fcn.0040350a
push dword [ebp - 0x1c]
mov byte [ebp + 0x27], al
call fcn.00448a22
cmp byte [ebp + 0x27], 0
pop ecx
je 0x4037d3
mov ebx, dword [ebx]
test ebx, ebx
je 0x4037cc
mov eax, dword [ebx]
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x24], eax
lea eax, [ebp + 0x24]
push eax
call fcn.0041082e
xor esi, esi
inc esi
jmp 0x403a3d
xor esi, esi
jmp 0x403a3d
push str.ACTIVE
lea esi, [ebp - 0x1c]
call fcn.00416a9d
lea eax, [ebp - 0x10]
push eax
mov eax, esi
push eax
mov eax, edi
call fcn.0040350a
push dword [ebp - 0x1c]
mov byte [ebp + 0x27], al
call fcn.00448a22
cmp byte [ebp + 0x27], 0
pop ecx
je 0x403814
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
mov esi, ebx
call fcn.00402a73
mov eax, dword [ebx]
mov eax, dword [eax]
jmp 0x4037b5
push 0x45b800
lea esi, [ebp - 0x1c]
call fcn.00416a9d
lea eax, [ebp - 0x10]
push eax
mov eax, esi
push eax
mov eax, edi
call fcn.0040350a
push dword [ebp - 0x1c]
mov byte [ebp + 0x27], al
call fcn.00448a22
cmp byte [ebp + 0x27], 0
pop ecx
je 0x403862
mov edi, dword [ebp - 0x10]
lea esi, [ebp + 0x24]
call fcn.004164bc
push dword [ebp + 0x24]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4037cc
push dword [ebp + 0x24]
jmp 0x403807
push str.REGEXPTITLE
lea esi, [ebp - 0x1c]
call fcn.00416a9d
lea eax, [ebp - 0x10]
push eax
mov eax, esi
push eax
mov eax, edi
call fcn.0040350a
push dword [ebp - 0x1c]
mov byte [ebp + 0x27], al
call fcn.00448a22
cmp byte [ebp + 0x27], 0
pop ecx
je 0x4038b5
inc dword [ebx + 0x64]
lea esi, [ebx + 0x2c]
mov byte [ebx + 7], 1
call fcn.0040f13b
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.0040f16f
test eax, eax
je 0x4038b5
or esi, 0xffffffff
jmp 0x403a3d
push str.CLASS
lea esi, [ebp - 0x1c]
call fcn.00416a9d
lea eax, [ebp - 0x10]
push eax
mov eax, esi
push eax
mov eax, edi
call fcn.0040350a
push dword [ebp - 0x1c]
mov byte [ebp + 0x27], al
call fcn.00448a22
cmp byte [ebp + 0x27], 0
pop ecx
je 0x4038f4
lea eax, [ebp - 0x10]
lea esi, [ebx + 0x48]
mov byte [ebx + 9], 1
call fcn.00416b8d
inc dword [ebx + 0x64]
push str.INSTANCE
lea esi, [ebp - 0x1c]
call fcn.00416a9d
lea eax, [ebp - 0x10]
push eax
mov eax, esi
push eax
mov eax, edi
call fcn.0040350a
push dword [ebp - 0x1c]
mov byte [ebp + 0x27], al
call fcn.00448a22
cmp byte [ebp + 0x27], 0
pop ecx
je 0x403934
push dword [ebp - 0x10]
mov byte [ebx + 0xa], 1
call fcn.00448c9a
inc dword [ebx + 0x64]
pop ecx
mov dword [ebx + 0x54], eax
push 0x45b820
lea esi, [ebp - 0x1c]
call fcn.00416a9d
lea eax, [ebp - 0x10]
push eax
mov eax, esi
push eax
mov eax, edi
call fcn.0040350a
push dword [ebp - 0x1c]
mov byte [ebp + 0x27], al
call fcn.00448a22
cmp byte [ebp + 0x27], 0
pop ecx
je 0x403968
inc dword [ebx + 0x64]
mov byte [ebx + 0xb], 1
push 0x45b7dc
lea esi, [ebp - 0x1c]
call fcn.00416a9d
lea eax, [ebp - 0x10]
push eax
mov eax, esi
push eax
mov eax, edi
call fcn.0040350a
push dword [ebp - 0x1c]
mov byte [ebp + 0x27], al
call fcn.00448a22
cmp byte [ebp + 0x27], 0
pop ecx
je 0x4039a6
lea eax, [ebp - 0x10]
mov esi, edi
mov byte [ebx + 6], 1
call fcn.00416b8d
inc dword [ebx + 0x64]
cmp dword [ebx + 0x64], 0
jne 0x4039b7
mov byte [ebx + 6], 1
mov dword [ebx + 0x64], 1
cmp byte [ebx + 0xc], 0
mov esi, dword [sym.imp.USER32.dll_CharUpperBuffW]
mov byte [ebx + 8], 1
jne 0x4039cf
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call esi
inc dword [ebx + 0x64]
cmp byte [ebx + 6], 0
je 0x4039e5
cmp byte [ebx + 0xc], 0
jne 0x4039e5
push dword [edi + 4]
push dword [edi]
call esi
cmp byte [ebp + 0x1c], 0
push ebx
push 0x403a4f
je 0x403a00
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
jmp 0x403a06
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
mov ebx, esi
mov eax, edi
call fcn.00403d27
call fcn.004107ee
mov esi, dword [ebp + 8]
cmp dword [esi + 0x5c], 1
jl 0x403a3a
cmp dword [edi + 8], 0
ja 0x403a2e
lea eax, [edi + 0x10]
jmp 0x403a33
mov eax, dword [edi + 4]
mov eax, dword [eax]
push dword [eax]
call fcn.00402a73
mov esi, dword [esi + 0x5c]
push dword [ebp - 0x10]
call fcn.00448a22
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x20