Function at 0x417640
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x492611
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x4b33c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x2d4]
call fcn.00405df0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2a4], 0
jmp 0x417698
mov eax, dword [ebp - 0x2a4]
add eax, 1
mov dword [ebp - 0x2a4], eax
mov ecx, 0x4b4f48
call fcn.0040fbf0
cmp dword [ebp - 0x2a4], eax
jae 0x41770f
mov ecx, dword [ebp - 0x2a4]
push ecx
mov ecx, 0x4b4f48
call fcn.00407aa0
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
call fcn.0040b9c0
movzx edx, al
test edx, edx
je 0x41770a
mov ecx, dword [ebp - 0x2a8]
call fcn.0040b9e0
movzx eax, al
test eax, eax
je 0x41770a
mov ecx, dword [ebp - 0x2a8]
call fcn.0040d4f0
movzx ecx, al
test ecx, ecx
je 0x41770a
mov edx, dword [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x2d4]
call fcn.0040eb90
nop
jmp 0x417689
mov dword [ebp - 0x2d8], 0
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x29c], 0
lea eax, [ebp - 0x2d8]
push eax
lea ecx, [ebp - 0x2d4]
push ecx
lea edx, [ebp - 0x2c0]
push edx
call fcn.0040b780
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c0]
call fcn.0040c8a0
movzx eax, al
test eax, eax
jne 0x417a65
lea ecx, [ebp - 0x2fc]
call fcn.00405d30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2fc]
push ecx
push 0x411b70
call dword [sym.imp.USER32.dll_EnumWindows]
nop
lea edx, [ebp - 0x2fc]
mov dword [ebp - 0x2c4], edx
lea eax, [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0x2c4]
call fcn.0040ab50
lea ecx, [ebp - 0x2dc]
push ecx
mov ecx, dword [ebp - 0x2c4]
call fcn.0040abf0
nop
jmp 0x4177c5
lea ecx, [ebp - 0x2ac]
call fcn.00407bf0
nop
lea edx, [ebp - 0x2dc]
push edx
lea ecx, [ebp - 0x2ac]
call fcn.004079d0
movzx eax, al
test eax, eax
je 0x41792d
lea ecx, [ebp - 0x2ac]
call fcn.00407b90
mov ecx, dword [eax]
mov dword [ebp - 0x2b0], ecx
lea edx, [ebp - 0x2e0]
push edx
mov eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 0x2e0]
push ecx
lea edx, [ebp - 0x2c0]
push edx
call fcn.0040cb00
add esp, 8
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
je 0x417928
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [ebp - 0x2e4], eax
mov ecx, dword [ebp - 0x2e4]
and ecx, 0x10000000
jne 0x41785a
jmp 0x4177b9
push 0xff
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
nop
lea ecx, [ebp - 0x210]
test ecx, ecx
je 0x417903
mov ecx, dword [ebp - 0x2b4]
call fcn.0040d2a0
mov dword [ebp - 0x2e8], eax
push 0
mov ecx, dword [ebp - 0x2e8]
call fcn.00407a60
push eax
mov edx, dword [ebp - 0x294]
shl edx, 9
add edx, 0x4b5070
push edx
call fcn.004719ff
add esp, 8
push 0x494cfc
mov eax, dword [ebp - 0x294]
shl eax, 9
add eax, 0x4b5070
push eax
call fcn.0047198e
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x294]
shl edx, 9
add edx, 0x4b5070
push edx
call fcn.0047198e
add esp, 8
mov eax, dword [ebp - 0x294]
add eax, 1
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x2b4]
call fcn.0040cfd0
or eax, dword [ebp - 0x29c]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x294], 0xff
jl 0x417928
jmp 0x41792d
jmp 0x4177b9
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2c8], ecx
lea edx, [ebp - 0x2b8]
push edx
mov ecx, dword [ebp - 0x2c8]
call fcn.0040ab50
lea eax, [ebp - 0x2ec]
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.0040abf0
nop
jmp 0x41796c
lea ecx, [ebp - 0x2b8]
call fcn.00407bf0
nop
lea ecx, [ebp - 0x2ec]
push ecx
lea ecx, [ebp - 0x2b8]
call fcn.004079d0
movzx edx, al
test edx, edx
je 0x417a55
lea ecx, [ebp - 0x2b8]
call fcn.00407b90
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
add eax, 4
push eax
lea ecx, [ebp - 0x290]
call fcn.00406090
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x290]
call fcn.0040cfd0
and eax, dword [ebp - 0x29c]
jne 0x417a40
lea ecx, [ebp - 0x290]
call fcn.0040d2a0
mov dword [ebp - 0x2f4], eax
push 0
mov ecx, dword [ebp - 0x2f4]
call fcn.00407a60
push eax
mov ecx, dword [ebp - 0x294]
shl ecx, 9
add ecx, 0x4b5070
push ecx
call fcn.004719ff
add esp, 8
push 0x494d04
mov edx, dword [ebp - 0x294]
shl edx, 9
add edx, 0x4b5070
push edx
call fcn.0047198e
add esp, 8
mov eax, dword [ebp - 0x294]
add eax, 1
mov dword [ebp - 0x294], eax
lea ecx, [ebp - 0x290]
call fcn.0040cfd0
or eax, dword [ebp - 0x29c]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x290]
call fcn.00407270
nop
jmp 0x417960
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2fc]
call fcn.00407170
nop
cmp dword [ebp - 0x294], 0
jne 0x417aa1
mov byte [ebp - 0x295], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c0]
call fcn.00407190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.004071b0
mov al, byte [ebp - 0x295]
jmp 0x417b94
lea ecx, [ebp - 0x2c0]
call fcn.0040b760
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
cmp ecx, dword [0x4d5074]
je 0x417b66
mov edx, dword [ebp - 0x2cc]
mov dword [0x4d5074], edx
push 0
push 0
push 0x1009
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
nop
mov dword [ebp - 0x2a0], 0
jmp 0x417aff
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x2a0]
cmp edx, dword [ebp - 0x294]
jge 0x417b66
push 0x3c
push 0
lea eax, [ebp - 0x338]
push eax
call fcn.0046f9a0
add esp, 0xc
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x334], ecx
mov dword [ebp - 0x338], 1
mov edx, dword [ebp - 0x2a0]
shl edx, 9
add edx, 0x4b5070
mov dword [ebp - 0x324], edx
lea eax, [ebp - 0x338]
push eax
push 0
push 0x104d
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
nop
jmp 0x417af0
mov byte [ebp - 0x296], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c0]
call fcn.00407190
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.004071b0
mov al, byte [ebp - 0x296]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046c5de
mov esp, ebp
pop ebp
ret