Function at 0x40a610
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x418f6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
mov ecx, dword [esp + 0x98]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
sub esp, 0x10
xor ebp, ebp
mov eax, esp
mov dword [esp + 0x28], esp
push str.lang.dll
push ecx
push eax
mov dword [esp + 0x30], ebx
call fcn.0040a250
add esp, 0xc
lea edx, [esp + 0x30]
push edx
call fcn.0040e280
add esp, 0x14
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x38]
mov dword [esp + 0xa0], ebp
mov byte [esp + 0x38], al
call fcn.004037a0
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0xa4], 1
call fcn.0040b8f0
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0xa0], bl
call fcn.004037a0
xor edi, edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], edi
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
cmp esi, ebp
je 0x40a9ca
mov edx, dword [esp + 0x1c]
mov ecx, eax
sub ecx, esi
sar ecx, 4
cmp edx, ecx
jae 0x40a9ca
push 0x30
call fcn.004121f6
mov esi, eax
add esp, 4
mov dword [esp + 0x30], esi
cmp esi, ebp
mov byte [esp + 0x9c], 2
je 0x40a79a
mov dl, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.004037a0
or ebx, 1
mov dword [esp + 0x14], ebx
mov al, byte [esp + 0x13]
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0xa0], 3
mov byte [esp + 0x58], al
call fcn.004037a0
or ebx, 2
mov dword [esp + 0x14], ebx
mov cl, byte [esp + 0x13]
push ebp
mov byte [esp + 0x38], cl
lea ecx, [esp + 0x38]
mov dword [esp + 0xa0], 4
call fcn.004037a0
or ebx, 4
mov dword [esp + 0x14], ebx
lea edx, [esp + 0x34]
mov ecx, esi
push edx
mov dword [esp + 0xa0], 5
call fcn.00407610
lea eax, [esp + 0x54]
lea ecx, [esi + 0x10]
push eax
mov dword [esp + 0xa0], 6
call fcn.00407610
lea ecx, [esp + 0x44]
mov byte [esp + 0x9c], 7
push ecx
lea ecx, [esi + 0x20]
call fcn.00407610
jmp 0x40a79c
xor esi, esi
test bl, 4
mov dword [esp + 0x9c], 9
je 0x40a7be
and ebx, 0xfffffffb
push 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], ebx
call fcn.004037a0
test bl, 2
mov dword [esp + 0x9c], 8
je 0x40a7e0
and ebx, 0xfffffffd
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], ebx
call fcn.004037a0
test bl, 1
mov dword [esp + 0x9c], ebp
je 0x40a7fe
and ebx, 0xfffffffe
push 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
call fcn.004037a0
mov eax, dword [esp + 0x24]
mov edx, dword [0x41a3a4]
push edx
push ebp
lea ecx, [edi + eax]
push ecx
mov ecx, esi
call fcn.00403d10
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + edx + 8]
lea eax, [edi + edx]
cmp ecx, ebp
jne 0x40a863
mov eax, dword [0x41fe70]
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.0040f870
or ebx, 8
mov dword [esp + 0x1c], ebx
lea edx, [esp + 0x6c]
push eax
push edx
mov byte [esp + 0xac], 0xb
call fcn.0040f680
add esp, 0x10
or ebx, 0x10
mov dword [esp + 0x14], ebx
mov dword [esp + 0x9c], 0xc
mov edx, dword [0x41a3a4]
lea ecx, [esi + 0x10]
push edx
push ebp
push eax
call fcn.00403d10
test bl, 0x10
mov dword [esp + 0x9c], 0xb
je 0x40a896
and ebx, 0xffffffef
push 1
lea ecx, [esp + 0x68]
mov dword [esp + 0x18], ebx
call fcn.004037a0
test bl, 8
mov dword [esp + 0x9c], ebp
je 0x40a8b4
and ebx, 0xfffffff7
push 1
lea ecx, [esp + 0x78]
mov dword [esp + 0x18], ebx
call fcn.004037a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xa8]
add edi, eax
lea edx, [esp + 0x84]
push edi
push ecx
push edx
call fcn.0040a4a0
add esp, 0xc
mov ecx, dword [0x41a3a4]
lea edi, [esi + 0x20]
push ecx
push ebp
push eax
mov ecx, edi
mov byte [esp + 0xa8], 0xd
call fcn.00403d10
push 1
lea ecx, [esp + 0x88]
mov byte [esp + 0xa0], 0
call fcn.004037a0
mov edx, dword [esp + 0xa4]
push esi
push ebp
push 0x143
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40a96b
test esi, esi
mov dword [esp + 0x30], esi
je 0x40a9ad
push 1
mov ecx, edi
mov byte [esp + 0xa0], 0xf
call fcn.004037a0
push 1
lea ecx, [esi + 0x10]
mov byte [esp + 0xa0], 0xe
call fcn.004037a0
push 1
mov ecx, esi
mov byte [esp + 0xa0], 0
call fcn.004037a0
push esi
call fcn.00411e17
add esp, 4
jmp 0x40a9ad
mov eax, dword [esp + 0xac]
mov eax, dword [eax + 4]
test eax, eax
jne 0x40a97e
mov eax, 0x41a3a0
mov esi, dword [esi + 4]
test esi, esi
jne 0x40a98a
mov esi, 0x41a3a0
push eax
push esi
call fcn.004126e9
add esp, 8
test eax, eax
jne 0x40a9ad
mov ecx, dword [esp + 0xa4]
push eax
push ebp
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
inc ecx
add eax, 0x10
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
mov edi, eax
xor ebp, ebp
jmp 0x40a6b3
cmp esi, eax
mov dword [esp + 0x9c], 0xffffffff
mov edi, eax
je 0x40a9ef
push 1
mov ecx, esi
call fcn.004037a0
add esi, 0x10
cmp esi, edi
jne 0x40a9db
mov esi, dword [esp + 0x24]
push esi
call fcn.00411e17
mov ecx, dword [esp + 0x98]
add esp, 4
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret