Function at 0x419060
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d52d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4b4200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x60], esi
mov edi, dword [ebp + 8]
cmp edi, 0xffffffff
jne 0x41909b
mov edi, dword [esi + 0x40]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4197cb
cmp edi, 1
jl 0x4197cb
cmp edi, dword [esi + 0x40]
jg 0x4197cb
lea ebx, [edi + edi*8]
cmp dword [ecx + ebx*8 + 0xc], 0
je 0x4197cb
mov eax, dword [ecx + ebx*8]
cmp eax, 0x12
jne 0x4195c1
lea eax, [ebp - 0x48]
push eax
push 0
push 0x1001
push dword [ecx + ebx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4197cb
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 0x30], 1
mov dword [ebp - 4], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x24], 1
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x18], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
movzx eax, word [ebp - 0x48]
push eax
call fcn.004060d0
movzx eax, word [ebp - 0x46]
lea ecx, [ebp - 0x2c]
push eax
call fcn.004060d0
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
test eax, eax
jne 0x419191
xor eax, eax
test ebx, ebx
je 0x41918e
cmp word [ebx], ax
je 0x41918e
inc eax
cmp word [ebx + eax*2], 0
jne 0x419186
mov dword [ebp - 0x28], eax
or edi, 0xffffffff
mov ecx, 2
cmp eax, 1
jne 0x41923a
mov byte [ebp - 0x24], 0
xor eax, eax
nop dword [eax + eax]
inc eax
cmp word [eax*2 + 0x49edd4], 0
jne 0x4191b0
inc eax
mov dword [ebp - 0x64], eax
inc eax
mul ecx
cmovb eax, edi
push eax
call fcn.0046a3df
mov esi, 0x49edd4
mov dword [ebp - 0x68], eax
add esp, 4
mov edx, ebx
mov ecx, eax
mov edi, 0x30
sub esi, eax
mov word [ecx], di
add ecx, 2
movzx eax, word [esi + ecx]
mov edi, eax
test ax, ax
jne 0x4191e2
mov esi, dword [ebp - 0x60]
test ebx, ebx
je 0x419218
movzx eax, word [ebx]
mov edi, eax
test ax, ax
je 0x419218
movzx eax, ax
lea edx, [edx + 2]
mov word [ecx], ax
add ecx, 2
movzx eax, word [edx]
test ax, ax
jne 0x419204
xor eax, eax
mov word [ecx], ax
test ebx, ebx
je 0x41922a
push ebx
call fcn.00469dd3
add esp, 4
mov ebx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 1
movzx eax, word [ebp - 0x42]
lea ecx, [ebp - 0x20]
push eax
call fcn.004060d0
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x41926b
xor eax, eax
test edi, edi
je 0x419268
cmp word [edi], ax
je 0x419268
nop dword [eax]
inc eax
cmp word [edi + eax*2], 0
jne 0x419260
mov dword [ebp - 0x1c], eax
cmp eax, 1
jne 0x419326
mov byte [ebp - 0x18], 0
xor eax, eax
nop word [eax + eax]
inc eax
cmp word [eax*2 + 0x49edd4], 0
jne 0x419280
inc eax
mov ecx, 2
mov dword [ebp - 0x6c], eax
inc eax
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0046a3df
mov esi, 0x49edd4
mov dword [ebp - 0x64], eax
add esp, 4
mov edx, edi
mov ecx, eax
mov edi, 0x30
sub esi, eax
nop dword [eax]
mov word [ecx], di
add ecx, 2
movzx eax, word [esi + ecx]
mov edi, eax
test ax, ax
jne 0x4192c0
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x60]
test edi, edi
je 0x419304
movzx eax, word [edi]
mov esi, eax
mov dword [ebp - 0x68], esi
mov esi, dword [ebp - 0x60]
test ax, ax
je 0x419304
movzx eax, ax
nop
movzx eax, ax
lea edx, [edx + 2]
mov word [ecx], ax
add ecx, 2
movzx eax, word [edx]
test ax, ax
jne 0x4192f0
xor eax, eax
mov word [ecx], ax
test edi, edi
je 0x419316
push edi
call fcn.00469dd3
add esp, 4
mov edi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
test edi, edi
jne 0x419341
push 2
call fcn.0046a3df
mov edi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
mov word [edi], ax
mov byte [ebp - 0x18], 1
test ebx, ebx
jne 0x419360
push 2
call fcn.0046a3df
mov ebx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], eax
mov word [ebx], ax
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 0x24], 1
test ecx, ecx
jne 0x419382
push 2
call fcn.0046a3df
mov ecx, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
mov word [ecx], ax
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov byte [ebp - 0x30], 1
mov dword [esi + 0x110], 0
mov byte [esi + 0x118], 0
mov dword [esi + 0x114], 0
test ecx, ecx
je 0x4193bd
cmp word [ecx], ax
je 0x4193bd
inc eax
cmp word [ecx + eax*2], 0
jne 0x4193b5
xor ecx, ecx
nop
inc ecx
cmp word [ecx*2 + 0x49f1a8], 0
jne 0x4193c0
add ecx, eax
test ebx, ebx
je 0x4193ea
xor eax, eax
cmp word [ebx], ax
je 0x4193e8
nop dword [eax]
inc eax
cmp word [ebx + eax*2], 0
jne 0x4193e0
add ecx, eax
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x49f1a8], 0
jne 0x4193f0
add ecx, eax
test edi, edi
je 0x41941a
xor eax, eax
cmp word [edi], ax
je 0x419418
nop dword [eax]
inc eax
cmp word [edi + eax*2], 0
jne 0x419410
add ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x68], ecx
mov ecx, 2
mul ecx
mov ecx, 0xffffffff
cmovb eax, ecx
push eax
call fcn.0046a3df
mov ecx, dword [esi + 0x110]
add esp, 4
mov dword [ebp - 0x64], eax
mov edx, eax
mov dword [ebp - 0x6c], ecx
test ecx, ecx
je 0x419471
movzx ecx, word [ecx]
test cx, cx
je 0x419471
mov esi, dword [ebp - 0x6c]
sub esi, eax
nop word [eax + eax]
mov word [edx], cx
add edx, 2
movzx eax, word [esi + edx]
mov ecx, eax
test ax, ax
jne 0x419460
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4194a1
movzx eax, word [ecx]
mov esi, eax
mov dword [ebp - 0x6c], esi
test ax, ax
je 0x4194a1
movzx esi, ax
sub ecx, edx
nop word [eax + eax]
mov word [edx], si
add edx, 2
movzx eax, word [ecx + edx]
mov esi, eax
test ax, ax
jne 0x419490
mov esi, 0x49f1a8
mov ecx, 0x2f
sub esi, edx
nop dword [eax]
mov word [edx], cx
add edx, 2
movzx eax, word [esi + edx]
mov ecx, eax
test ax, ax
jne 0x4194b0
mov esi, dword [ebp - 0x60]
test ebx, ebx
je 0x4194e8
movzx eax, word [ebx]
mov ecx, eax
test ax, ax
je 0x4194e8
mov ecx, ebx
movzx eax, ax
lea ecx, [ecx + 2]
mov word [edx], ax
add edx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x4194d4
mov eax, 0x2f
mov ecx, 0x49f1a8
movzx eax, ax
lea ecx, [ecx + 2]
mov word [edx], ax
add edx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x4194f2
test edi, edi
je 0x41952a
movzx eax, word [edi]
mov ecx, eax
test ax, ax
je 0x41952a
mov ecx, edi
movzx eax, ax
lea ecx, [ecx + 2]
mov word [edx], ax
add edx, 2
movzx eax, word [ecx]
test ax, ax
jne 0x419516
xor eax, eax
mov word [edx], ax
mov eax, dword [esi + 0x110]
test eax, eax
je 0x419542
push eax
call fcn.00469dd3
add esp, 4
mov eax, dword [ebp - 0x64]
mov dword [esi + 0x110], eax
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x114], eax
mov eax, dword [ebp - 0x5c]
mov byte [esi + 0x118], 1
test eax, eax
je 0x41956b
push eax
call fcn.00469dd3
add esp, 4
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x5c], eax
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov byte [esi + 0x118], 1
test edi, edi
je 0x41959c
push edi
call fcn.00469dd3
add esp, 4
test ebx, ebx
je 0x4195a9
push ebx
call fcn.00469dd3
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x4195b9
push eax
call fcn.00469dd3
add esp, 4
mov eax, dword [ebp - 0x5c]
jmp 0x4197cd
cmp eax, 0x10
je 0x419763
cmp eax, 0x11
je 0x419763
cmp eax, 0x1c
jne 0x4196a3
mov eax, dword [esi + 0x110]
push 0x402
mov dword [ebp - 0x58], 0x20
mov dword [ebp - 0x54], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], eax
mov dword [esi + 0x114], 0
call fcn.0046a3df
mov dword [esi + 0x110], eax
xor ecx, ecx
add esp, 4
mov word [eax + 0x400], cx
mov eax, dword [esi + 0x110]
mov word [eax], cx
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x41964e
push eax
call fcn.00469dd3
add esp, 4
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [esi + 0x3c]
push edi
push 0x43f
mov dword [ebp - 0x3c], 0x200
push dword [eax + ebx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4197cb
mov eax, dword [esi + 0x110]
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov byte [esi + 0x118], 1
jmp 0x4197cd
lea eax, [edi + edi*8]
mov eax, dword [ecx + eax*8 + 4]
test eax, eax
jne 0x4196b2
xor ebx, ebx
jmp 0x4196c1
push 0
push 0
push 0xe
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
mov eax, dword [esi + 0x110]
mov ecx, 2
mov dword [ebp - 0x5c], eax
lea eax, [ebx + 2]
mul ecx
mov ecx, 0xffffffff
mov dword [esi + 0x114], 0
cmovb eax, ecx
push eax
call fcn.0046a3df
mov dword [esi + 0x110], eax
xor ecx, ecx
add esp, 4
mov word [eax + ebx*2 + 2], cx
mov eax, dword [esi + 0x110]
mov word [eax], cx
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x419715
push eax
call fcn.00469dd3
add esp, 4
cmp dword [esi + 0x3c], 0
mov ecx, edi
mov edx, dword [esi + 0x110]
je 0x41967d
cmp edi, dword [esi + 0x40]
jg 0x41967d
lea eax, [edi + edi*8]
mov edi, dword [esi + 0x3c]
cmp dword [edi + eax*8 + 0xc], 0
je 0x41967d
lea ecx, [ecx + ecx*8]
mov ecx, dword [edi + ecx*8 + 4]
test ecx, ecx
je 0x41967d
push edx
lea eax, [ebx + 1]
push eax
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x41967d
mov eax, dword [esi + 0x110]
push 0x202
mov dword [ebp - 0x5c], eax
mov dword [esi + 0x114], 0
call fcn.0046a3df
mov dword [esi + 0x110], eax
xor ecx, ecx
add esp, 4
mov word [eax + 0x200], cx
mov eax, dword [esi + 0x110]
mov word [eax], cx
mov eax, dword [ebp - 0x5c]
test eax, eax
je 0x4197ab
push eax
call fcn.00469dd3
add esp, 4
mov eax, dword [esi + 0x3c]
push 0
push 0x100
push dword [esi + 0x110]
push edi
push dword [eax + ebx*8 + 8]
call dword [sym.imp.USER32.dll_GetMenuStringW]
jmp 0x41967d
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00469dc5
mov esp, ebp
pop ebp
ret 4