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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4927d1
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x69e3c0]
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 0x4177d8
mov eax, dword [ebp - 0x2a4]
add eax, 1
mov dword [ebp - 0x2a4], eax
mov ecx, 0x69ff48
call fcn.0040fbf0
cmp dword [ebp - 0x2a4], eax
jae 0x41784f
mov ecx, dword [ebp - 0x2a4]
push ecx
mov ecx, 0x69ff48
call fcn.00407aa0
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
call fcn.0040b9c0
movzx edx, al
test edx, edx
je 0x41784a
mov ecx, dword [ebp - 0x2a8]
call fcn.0040b9e0
movzx eax, al
test eax, eax
je 0x41784a
mov ecx, dword [ebp - 0x2a8]
call fcn.0040d4f0
movzx ecx, al
test ecx, ecx
je 0x41784a
mov edx, dword [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x2d4]
call fcn.0040eb90
nop
jmp 0x4177c9
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 0x417ba5
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 0x417905
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 0x417a6d
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 0x417a68
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 0x41799a
jmp 0x4178f9
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 0x417a43
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, 0x6a0070
push edx
call fcn.00471bbf
add esp, 8
push 0x494cfc
mov eax, dword [ebp - 0x294]
shl eax, 9
add eax, 0x6a0070
push eax
call fcn.00471b4e
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x294]
shl edx, 9
add edx, 0x6a0070
push edx
call fcn.00471b4e
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 0x417a68
jmp 0x417a6d
jmp 0x4178f9
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 0x417aac
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 0x417b95
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 0x417b80
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, 0x6a0070
push ecx
call fcn.00471bbf
add esp, 8
push 0x494d04
mov edx, dword [ebp - 0x294]
shl edx, 9
add edx, 0x6a0070
push edx
call fcn.00471b4e
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 0x417aa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2fc]
call fcn.00407170
nop
cmp dword [ebp - 0x294], 0
jne 0x417be1
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 0x417cd4
lea ecx, [ebp - 0x2c0]
call fcn.0040b760
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
cmp ecx, dword [0x6c0074]
je 0x417ca6
mov edx, dword [ebp - 0x2cc]
mov dword [0x6c0074], 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 0x417c3f
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x2a0]
cmp edx, dword [ebp - 0x294]
jge 0x417ca6
push 0x3c
push 0
lea eax, [ebp - 0x338]
push eax
call fcn.0046fb60
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, 0x6a0070
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 0x417c30
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.0046c7ae
mov esp, ebp
pop ebp
ret