Function at 0x418f40
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47d09d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4b41e0]
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 - 0x68], esi
mov edi, dword [ebp + 8]
lea eax, [esi + 0x40]
mov dword [ebp - 0x60], eax
cmp edi, 0xffffffff
jne 0x418f82
mov edi, dword [eax]
jmp 0x418f85
mov dword [ebp - 0x60], eax
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4196a6
cmp edi, 1
jl 0x4196a6
cmp edi, dword [eax]
jg 0x4196a6
lea ebx, [edi + edi*8]
cmp dword [ecx + ebx*8 + 0xc], 0
je 0x4196a6
mov eax, dword [ecx + ebx*8]
cmp eax, 0x12
jne 0x4194a7
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 0x4196a6
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.004020b0
movzx eax, word [ebp - 0x46]
lea ecx, [ebp - 0x2c]
push eax
call fcn.004020b0
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x2c]
test eax, eax
jne 0x41907b
xor eax, eax
test ebx, ebx
je 0x419078
cmp word [ebx], ax
je 0x419078
nop
inc eax
cmp word [ebx + eax*2], 0
jne 0x419070
mov dword [ebp - 0x28], eax
mov edx, 2
cmp eax, 1
jne 0x419125
mov byte [ebp - 0x24], 0
xor eax, eax
nop
inc eax
cmp word [eax*2 + 0x49eb10], 0
jne 0x419090
lea ecx, [eax + 1]
add eax, 2
mov dword [ebp - 0x5c], ecx
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a22b
mov esi, 0x49eb10
mov dword [ebp - 0x60], eax
add esp, 4
mov edx, ebx
mov ecx, eax
mov edi, 0x30
sub esi, eax
nop dword [eax]
mov word [ecx], di
add ecx, 2
movzx eax, word [ecx + esi]
mov edi, eax
test ax, ax
jne 0x4190d0
mov esi, dword [ebp - 0x68]
test ebx, ebx
je 0x419103
movzx eax, word [ebx]
mov edi, eax
test ax, ax
je 0x419103
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
test ax, ax
jne 0x4190f2
xor eax, eax
mov word [ecx], ax
test ebx, ebx
je 0x419115
push ebx
call fcn.00469e73
add esp, 4
mov ebx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x5c]
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.004020b0
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
test eax, eax
jne 0x419152
xor eax, eax
test edi, edi
je 0x41914f
cmp word [edi], ax
je 0x41914f
inc eax
cmp word [edi + eax*2], 0
jne 0x419147
mov dword [ebp - 0x1c], eax
cmp eax, 1
jne 0x419203
mov byte [ebp - 0x18], 0
xor eax, eax
inc eax
cmp word [eax*2 + 0x49eb10], 0
jne 0x419161
lea ecx, [eax + 1]
mov edx, 2
mov dword [ebp - 0x6c], ecx
add eax, 2
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a22b
mov esi, 0x49eb10
mov dword [ebp - 0x5c], eax
add esp, 4
mov edx, edi
mov ecx, eax
mov edi, 0x30
sub esi, eax
mov word [ecx], di
add ecx, 2
movzx eax, word [ecx + esi]
mov edi, eax
test ax, ax
jne 0x4191a2
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x68]
test edi, edi
je 0x4191e1
movzx eax, word [edi]
mov esi, eax
mov dword [ebp - 0x60], esi
mov esi, dword [ebp - 0x68]
test ax, ax
je 0x4191e1
movzx eax, ax
mov word [ecx], ax
lea edx, [edx + 2]
movzx eax, word [edx]
add ecx, 2
test ax, ax
jne 0x4191d0
xor eax, eax
mov word [ecx], ax
test edi, edi
je 0x4191f3
push edi
call fcn.00469e73
add esp, 4
mov edi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 1
test edi, edi
jne 0x41921e
push 2
call fcn.0046a22b
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 0x41923d
push 2
call fcn.0046a22b
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 0x41925f
push 2
call fcn.0046a22b
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 - 0x64], 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 0x41929a
cmp word [ecx], ax
je 0x41929a
inc eax
cmp word [ecx + eax*2], 0
jne 0x419292
xor ecx, ecx
nop dword [eax]
inc ecx
cmp word [ecx*2 + 0x49ef68], 0
jne 0x4192a0
add ecx, eax
test ebx, ebx
je 0x4192ca
xor eax, eax
cmp word [ebx], ax
je 0x4192c8
nop dword [eax]
inc eax
cmp word [ebx + eax*2], 0
jne 0x4192c0
add ecx, eax
xor eax, eax
nop dword [eax]
inc eax
cmp word [eax*2 + 0x49ef68], 0
jne 0x4192d0
add ecx, eax
test edi, edi
je 0x4192fa
xor eax, eax
cmp word [edi], ax
je 0x4192f8
nop dword [eax]
inc eax
cmp word [edi + eax*2], 0
jne 0x4192f0
add ecx, eax
lea eax, [ecx + 1]
mov dword [ebp - 0x60], ecx
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a22b
mov edx, dword [esi + 0x110]
add esp, 4
mov dword [ebp - 0x5c], eax
mov ecx, eax
mov dword [ebp - 0x6c], edx
test edx, edx
je 0x419351
movzx edx, word [edx]
test dx, dx
je 0x419351
mov esi, dword [ebp - 0x6c]
sub esi, eax
nop dword [eax + eax]
mov word [ecx], dx
add ecx, 2
movzx eax, word [esi + ecx]
mov edx, eax
test ax, ax
jne 0x419340
mov edx, dword [ebp - 0x38]
test edx, edx
je 0x419381
movzx eax, word [edx]
mov esi, eax
mov dword [ebp - 0x6c], esi
test ax, ax
je 0x419381
movzx esi, ax
sub edx, ecx
nop word [eax + eax]
mov word [ecx], si
add ecx, 2
movzx eax, word [edx + ecx]
mov esi, eax
test ax, ax
jne 0x419370
mov esi, 0x49ef68
mov edx, 0x2f
sub esi, ecx
nop dword [eax]
mov word [ecx], dx
add ecx, 2
movzx eax, word [esi + ecx]
mov edx, eax
test ax, ax
jne 0x419390
test ebx, ebx
je 0x4193c2
movzx eax, word [ebx]
mov edx, eax
test ax, ax
je 0x4193c2
mov esi, ebx
mov word [ecx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add ecx, 2
test ax, ax
jne 0x4193b1
mov eax, 0x2f
mov esi, 0x49ef68
nop dword [eax]
mov word [ecx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add ecx, 2
test ax, ax
jne 0x4193d0
mov esi, dword [ebp - 0x68]
test edi, edi
je 0x419410
movzx eax, word [edi]
mov edx, eax
test ax, ax
je 0x419410
mov esi, edi
mov word [ecx], ax
lea esi, [esi + 2]
movzx eax, word [esi]
add ecx, 2
test ax, ax
jne 0x4193f4
mov esi, dword [ebp - 0x68]
nop dword [eax + eax]
xor eax, eax
mov word [ecx], ax
mov eax, dword [esi + 0x110]
test eax, eax
je 0x419428
push eax
call fcn.00469e73
add esp, 4
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x110], eax
mov eax, dword [ebp - 0x60]
mov dword [esi + 0x114], eax
mov eax, dword [ebp - 0x64]
mov byte [esi + 0x118], 1
test eax, eax
je 0x419451
push eax
call fcn.00469e73
add esp, 4
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x64], eax
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov byte [esi + 0x118], 1
test edi, edi
je 0x419482
push edi
call fcn.00469e73
add esp, 4
test ebx, ebx
je 0x41948f
push ebx
call fcn.00469e73
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x41949f
push eax
call fcn.00469e73
add esp, 4
mov eax, dword [ebp - 0x64]
jmp 0x4196a8
cmp eax, 0x10
je 0x41963e
cmp eax, 0x11
je 0x41963e
cmp eax, 0x1c
jne 0x419589
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 - 0x64], eax
mov dword [esi + 0x114], 0
call fcn.0046a22b
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 - 0x64]
test eax, eax
je 0x419534
push eax
call fcn.00469e73
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 0x4196a6
mov eax, dword [esi + 0x110]
mov dword [esi + 0x110], 0
mov dword [esi + 0x114], 0
mov byte [esi + 0x118], 1
jmp 0x4196a8
push 0
push 0
push 0xe
lea eax, [edi + edi*8]
push dword [ecx + eax*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, 2
mov dword [esi + 0x114], 0
lea ecx, [eax + 1]
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x64], eax
lea eax, [ecx + 1]
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a22b
mov ecx, dword [ebp - 0x5c]
xor edx, edx
mov dword [esi + 0x110], eax
add esp, 4
mov word [eax + ecx*2], dx
xor ecx, ecx
mov eax, dword [esi + 0x110]
mov word [eax], cx
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x4195fb
push eax
call fcn.00469e73
add esp, 4
cmp dword [esi + 0x3c], 0
mov ecx, edi
mov edx, dword [esi + 0x110]
je 0x419563
mov eax, dword [ebp - 0x60]
cmp edi, dword [eax]
jg 0x419563
mov eax, dword [esi + 0x3c]
cmp dword [eax + ebx*8 + 0xc], 0
je 0x419563
push edx
push dword [ebp - 0x5c]
lea ecx, [ecx + ecx*8]
push 0xd
push dword [eax + ecx*8 + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x419563
mov eax, dword [esi + 0x110]
push 0x202
mov dword [ebp - 0x64], eax
mov dword [esi + 0x114], 0
call fcn.0046a22b
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 - 0x64]
test eax, eax
je 0x419686
push eax
call fcn.00469e73
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 0x419563
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.00469e65
mov esp, ebp
pop ebp
ret 4