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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495a31
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
mov eax, dword [0x75a440]
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.00405c70
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, 0x75c2c8
call fcn.0040fc90
cmp dword [ebp - 0x2a4], eax
jae 0x41784f
mov ecx, dword [ebp - 0x2a4]
push ecx
mov ecx, 0x75c2c8
call fcn.00407810
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
call fcn.0040b7e0
movzx edx, al
test edx, edx
je 0x41784a
mov ecx, dword [ebp - 0x2a8]
call fcn.0040b800
movzx eax, al
test eax, eax
je 0x41784a
mov ecx, dword [ebp - 0x2a8]
call fcn.0040d410
movzx ecx, al
test ecx, ecx
je 0x41784a
mov edx, dword [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x2d4]
call fcn.0040ec50
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.0040b5c0
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c0]
call fcn.0040c7f0
movzx eax, al
test eax, eax
jne 0x417ba5
lea ecx, [ebp - 0x2fc]
call fcn.00405c10
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2fc]
push ecx
push 0x411bd0
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.0040a950
lea ecx, [ebp - 0x2dc]
push ecx
mov ecx, dword [ebp - 0x2c4]
call fcn.0040a9f0
nop
jmp 0x417905
lea ecx, [ebp - 0x2ac]
call fcn.00407960
nop
lea edx, [ebp - 0x2dc]
push edx
lea ecx, [ebp - 0x2ac]
call fcn.004076a0
movzx eax, al
test eax, eax
jne 0x417a6d
lea ecx, [ebp - 0x2ac]
call fcn.00407900
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.0040ca50
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.0040d1e0
mov dword [ebp - 0x2e8], eax
push 0
mov ecx, dword [ebp - 0x2e8]
call fcn.004077d0
push eax
mov edx, dword [ebp - 0x294]
shl edx, 9
add edx, 0x75c3c0
push edx
call fcn.004717b1
add esp, 8
push 0x498e74
mov eax, dword [ebp - 0x294]
shl eax, 9
add eax, 0x75c3c0
push eax
call fcn.00471740
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x294]
shl edx, 9
add edx, 0x75c3c0
push edx
call fcn.00471740
add esp, 8
mov eax, dword [ebp - 0x294]
add eax, 1
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x2b4]
call fcn.0040cf00
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.0040a950
lea eax, [ebp - 0x2ec]
push eax
mov ecx, dword [ebp - 0x2c8]
call fcn.0040a9f0
nop
jmp 0x417aac
lea ecx, [ebp - 0x2b8]
call fcn.00407960
nop
lea ecx, [ebp - 0x2ec]
push ecx
lea ecx, [ebp - 0x2b8]
call fcn.004076a0
movzx edx, al
test edx, edx
jne 0x417b95
lea ecx, [ebp - 0x2b8]
call fcn.00407900
mov dword [ebp - 0x2f0], eax
mov eax, dword [ebp - 0x2f0]
add eax, 4
push eax
lea ecx, [ebp - 0x290]
call fcn.00405e40
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x290]
call fcn.0040cf00
and eax, dword [ebp - 0x29c]
jne 0x417b80
lea ecx, [ebp - 0x290]
call fcn.0040d1e0
mov dword [ebp - 0x2f4], eax
push 0
mov ecx, dword [ebp - 0x2f4]
call fcn.004077d0
push eax
mov ecx, dword [ebp - 0x294]
shl ecx, 9
add ecx, 0x75c3c0
push ecx
call fcn.004717b1
add esp, 8
push 0x498e7c
mov edx, dword [ebp - 0x294]
shl edx, 9
add edx, 0x75c3c0
push edx
call fcn.00471740
add esp, 8
mov eax, dword [ebp - 0x294]
add eax, 1
mov dword [ebp - 0x294], eax
lea ecx, [ebp - 0x290]
call fcn.0040cf00
or eax, dword [ebp - 0x29c]
mov dword [ebp - 0x29c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x290]
call fcn.00407020
nop
jmp 0x417aa0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2fc]
call fcn.00406f20
nop
cmp dword [ebp - 0x294], 0
jne 0x417be1
mov byte [ebp - 0x295], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c0]
call fcn.00406f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.00406f60
mov al, byte [ebp - 0x295]
jmp 0x417cd4
lea ecx, [ebp - 0x2c0]
call fcn.0040b5a0
mov dword [ebp - 0x2cc], eax
mov ecx, dword [ebp - 0x2cc]
cmp ecx, dword [0x77c3c4]
je 0x417ca6
mov edx, dword [ebp - 0x2cc]
mov dword [0x77c3c4], 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.0046f640
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, 0x75c3c0
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.00406f40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.00406f60
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.0046c2a8
mov esp, ebp
pop ebp
ret