Function at 0x42018c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
xor eax, eax
push ebp
push 0x42043a
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x4201e5
push 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call fcn.004073d4
cmp eax, 0xf
jl 0x4201e5
push edi
call fcn.0040791c
test eax, eax
je 0x4201e0
add dword [ebp - 0xc], esi
jmp 0x4201e5
shr esi, 1
add dword [ebp - 0xc], esi
test ebx, ebx
je 0x4201f6
push edi
mov esi, ebx
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
jmp 0x420200
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.00407744
mov eax, dword [ebp - 0xc]
push eax
call fcn.00407334
mov ebx, eax
push ebx
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call fcn.00407704
push ebx
call fcn.00407354
mov eax, dword [ebp - 4]
cmp edi, dword [eax + 0x44]
jne 0x420326
mov eax, dword [ebp - 4]
cmp dword [eax + 0x64], 0
je 0x420326
cmp dword [ebp + 0xc], 0xffffffff
jne 0x420261
call fcn.00407074
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x64]
imul dword [ebp - 0x28]
add eax, 0x7530
mov ecx, 0xea60
xor edx, edx
div ecx
mov esi, eax
jmp 0x420264
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov dword [eax + 0x6c], esi
push 0xf
call fcn.0040784c
mov dword [ebp - 0x10], eax
push ebp
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x24]
mov eax, esi
call fcn.0041fe48
pop ecx
push 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call fcn.004073d4
cmp eax, 0xf
jl 0x420326
mov eax, dword [ebp - 0x10]
and eax, 0xff00
mov dword [ebp - 0x14], eax
and dword [ebp - 0x10], 0xff00ff
mov eax, dword [ebp - 0xc]
and eax, 0xff00
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
and eax, 0xff00ff
mov dword [ebp - 0x18], eax
xor ebx, ebx
mov eax, 4
sub eax, ebx
imul dword [ebp - 0x10]
mov edx, ebx
imul edx, dword [ebp - 0x18]
add eax, edx
shr eax, 2
and eax, 0xff00ff
mov edx, 4
sub edx, ebx
imul edx, dword [ebp - 0x14]
mov ecx, ebx
imul ecx, dword [ebp - 0x1c]
add edx, ecx
shr edx, 2
and edx, 0xff00
add eax, edx
mov dword [ebp - 0x20], eax
push ebp
lea eax, [ebx + esi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.0041fe48
pop ecx
push ebp
mov eax, esi
sub eax, ebx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.0041fe48
pop ecx
inc ebx
cmp ebx, 4
jne 0x4202c4
push ebp
mov ecx, dword [ebp - 0xc]
mov edx, edi
mov eax, dword [0x4f8718]
call fcn.0041ff08
pop ecx
test al, al
jne 0x42034e
push ebp
push 0
call fcn.00407004
mov ecx, dword [ebp - 0xc]
mov edx, edi
call fcn.0041ff08
pop ecx
push 0x1e
lea eax, [ebp - 0x4f]
push eax
push edi
call fcn.004078a4
mov ebx, eax
push 0
lea eax, [ebp - 0x54]
lea edx, [ebp - 0x4f]
mov ecx, 0x1f
call fcn.004048f0
mov ecx, dword [ebp - 0x54]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0041fdb8
mov esi, dword [ebp - 0x28]
sub esi, dword [ebp - 0x30]
sub esi, eax
sub esi, 0x1b
sub esi, 8
sar esi, 1
jns 0x420390
adc esi, 0
push edi
call fcn.0040791c
test eax, eax
jne 0x4203d8
push 0xffffff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call fcn.0040753c
push ebx
lea eax, [ebp - 0x4f]
push eax
push 5
lea eax, [esi + 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call fcn.00407584
push 0x15
call fcn.0040784c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call fcn.0040753c
jmp 0x4203e8
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call fcn.0040753c
push ebx
lea eax, [ebp - 0x4f]
push eax
push 4
add esi, 0x1b
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call fcn.00407584
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.00407284
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x420441
lea eax, [ebp - 0x54]
call fcn.00404688
ret