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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4930b1
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x66239c]
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.00405880
mov dword [ebp - 4], 0
mov dword [ebp - 0x2a4], 0
jmp 0x417398
mov eax, dword [ebp - 0x2a4]
add eax, 1
mov dword [ebp - 0x2a4], eax
mov ecx, 0x663ee8
call fcn.0040f740
cmp dword [ebp - 0x2a4], eax
jae 0x41740e
mov ecx, dword [ebp - 0x2a4]
push ecx
mov ecx, 0x663ee8
call fcn.004074e0
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
call fcn.0040b520
movzx edx, al
test edx, edx
je 0x417409
mov ecx, dword [ebp - 0x2a8]
call fcn.0040b540
movzx eax, al
test eax, eax
je 0x417409
mov ecx, dword [ebp - 0x2a8]
call fcn.0040d060
movzx ecx, al
test ecx, ecx
je 0x417409
mov edx, dword [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x2d4]
call fcn.0040e700
jmp 0x417389
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.0040b2e0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c0]
call fcn.0040c3c0
movzx eax, al
test eax, eax
jne 0x41775c
lea ecx, [ebp - 0x2fc]
call fcn.004057c0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2fc]
push ecx
push 0x4116b0
call dword [sym.imp.USER32.dll_EnumWindows]
lea edx, [ebp - 0x2fc]
mov dword [ebp - 0x2c4], edx
lea eax, [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0x2c4]
call fcn.0040a610
lea ecx, [ebp - 0x2dc]
push ecx
mov ecx, dword [ebp - 0x2c4]
call fcn.0040a6a0
jmp 0x4174c1
lea ecx, [ebp - 0x2ac]
call fcn.00407630
lea edx, [ebp - 0x2dc]
push edx
lea ecx, [ebp - 0x2ac]
call fcn.00407410
movzx eax, al
test eax, eax
je 0x417628
lea ecx, [ebp - 0x2ac]
call fcn.004075d0
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.0040c620
add esp, 8
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x2b4], 0
je 0x417623
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 0x417556
jmp 0x4174b6
push 0xff
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x210]
test ecx, ecx
je 0x4175fe
mov ecx, dword [ebp - 0x2b4]
call fcn.0040cdc0
mov dword [ebp - 0x2e8], eax
push 0
mov ecx, dword [ebp - 0x2e8]
call fcn.004074a0
push eax
mov edx, dword [ebp - 0x294]
shl edx, 9
add edx, 0x664010
push edx
call fcn.004716af
add esp, 8
push 0x495d14
mov eax, dword [ebp - 0x294]
shl eax, 9
add eax, 0x664010
push eax
call fcn.0047163e
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x294]
shl edx, 9
add edx, 0x664010
push edx
call fcn.0047163e
add esp, 8
mov eax, dword [ebp - 0x294]
add eax, 1
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x2b4]
call fcn.0040caf0
or eax, dword [ebp - 0x29c]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x294], 0xff
jl 0x417623
jmp 0x417628
jmp 0x4174b6
lea ecx, [ebp - 0x2c0]
mov dword [ebp - 0x2c8], ecx
lea edx, [ebp - 0x2b8]
push edx
mov ecx, dword [ebp - 0x2c8]
call fcn.0040a610
lea eax, [ebp - 0x2ec]
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.0040a6a0
jmp 0x417665
lea ecx, [ebp - 0x2b8]
call fcn.00407630
lea ecx, [ebp - 0x2ec]
push ecx
lea ecx, [ebp - 0x2b8]
call fcn.00407410
movzx edx, al
test edx, edx
je 0x41774d
lea ecx, [ebp - 0x2b8]
call fcn.004075d0
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
add eax, 4
push eax
lea ecx, [ebp - 0x290]
call fcn.00405b20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x290]
call fcn.0040caf0
and eax, dword [ebp - 0x29c]
jne 0x417739
lea ecx, [ebp - 0x290]
call fcn.0040cdc0
mov dword [ebp - 0x2f4], eax
push 0
mov ecx, dword [ebp - 0x2f4]
call fcn.004074a0
push eax
mov ecx, dword [ebp - 0x294]
shl ecx, 9
add ecx, 0x664010
push ecx
call fcn.004716af
add esp, 8
push 0x495d1c
mov edx, dword [ebp - 0x294]
shl edx, 9
add edx, 0x664010
push edx
call fcn.0047163e
add esp, 8
mov eax, dword [ebp - 0x294]
add eax, 1
mov dword [ebp - 0x294], eax
lea ecx, [ebp - 0x290]
call fcn.0040caf0
or eax, dword [ebp - 0x29c]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x290]
call fcn.00406cb0
jmp 0x41765a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2fc]
call fcn.00406bb0
cmp dword [ebp - 0x294], 0
jne 0x417798
mov byte [ebp - 0x295], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c0]
call fcn.00406bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.00406bf0
mov al, byte [ebp - 0x295]
jmp 0x417889
lea ecx, [ebp - 0x2c0]
call fcn.0040a6e0
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
cmp ecx, dword [0x684014]
je 0x41785b
mov edx, dword [ebp - 0x2cc]
mov dword [0x684014], edx
push 0
push 0
push 0x1009
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2a0], 0
jmp 0x4177f5
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x2a0]
cmp edx, dword [ebp - 0x294]
jge 0x41785b
push 0x3c
push 0
lea eax, [ebp - 0x338]
push eax
call fcn.0046f660
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, 0x664010
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]
jmp 0x4177e6
mov byte [ebp - 0x296], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c0]
call fcn.00406bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.00406bf0
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.0046c32a
mov esp, ebp
pop ebp
ret