Function at 0x4088b4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffb80
push ebx
push esi
push edi
mov dword [ebp - 0x48], ecx
mov edi, edx
mov ebx, eax
mov eax, 0x4a0c30
call fcn.00495388
mov esi, dword [ebx + 0x13cc]
cmp byte [esi + 0x20ba], 0
je 0x4088f9
cmp byte [0x4af730], 0
je 0x4088f9
cmp byte [ebx + 0x6e28], 0
je 0x408907
mov eax, dword [ebp - 0x44]
mov dword fs:[0], eax
jmp 0x408c35
push pe_nt_image_headers32
lea edx, [ebp - 0x254]
push edx
push dword [0x4c244c]
call sub.USER32.DLL_GetWindowTextA
mov eax, 0x349
call fcn.0041202c
call fcn.0047e984
call fcn.0047de20
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409c30
cmp dword [esi + 0x20a4], 0
je 0x408953
or word [ebx + 0x4704], 0x40
mov eax, ebx
call fcn.00409ce8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov word [ebx + 0x4708], ax
mov edx, eax
mov eax, dword [ebp - 0x50]
sar edx, 0x1f
mov dword [ebx + 0x470c], eax
mov eax, dword [ebx + 0x6e34]
xor edx, edx
push edx
add eax, 7
push eax
mov eax, ebx
xor edx, edx
call fcn.00409c30
xor ecx, ecx
mov edx, 0x73
mov eax, ebx
call fcn.00401cac
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409c30
mov word [ebp - 0x34], 8
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.004117d0
add dword [ebp - 0x28], 2
mov word [ebp - 0x34], 0x14
lea ecx, [ebp - 0xa54]
mov edx, dword [ebp - 0x48]
mov eax, edi
call fcn.0040cf38
mov eax, edi
call fcn.0040ba60
mov edi, eax
lea eax, [ebp - 0xa54]
call fcn.0040baec
mov esi, eax
mov eax, esi
call fcn.0040efc4
test al, al
je 0x408a22
push edi
call fcn.00494f88
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411980
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, edi
call fcn.00411a2c
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411980
jmp 0x408a4b
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411980
mov eax, esi
call fcn.00410228
mov edi, eax
lea eax, [ebp - 0x20]
mov edx, edi
call fcn.00411980
lea eax, [ebp - 0x20]
mov ecx, edi
mov edx, esi
call fcn.00411a5c
push 0x4af12c
call fcn.00494f88
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411980
mov edx, 0x4af12c
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00411a2c
push 0x4af12c
lea eax, [ebp - 0x1054]
push eax
call fcn.00494f58
add esp, 8
lea edx, [ebp - 0xc54]
lea eax, [ebp - 0x1054]
mov ecx, 0x10000000
call fcn.00410040
lea eax, [ebp - 0xc54]
call fcn.0040efc4
test al, al
je 0x408ab6
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411980
jmp 0x408add
lea eax, [ebp - 0xc54]
call fcn.00410228
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411980
lea edx, [ebp - 0xc54]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00411a5c
push 0
push 0
xor edx, edx
mov eax, ebx
call fcn.00409c30
lea ecx, [ebp - 0x1154]
mov edx, 0x4af42c
mov eax, ebx
call fcn.00408324
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409c30
lea edx, [ebp - 0x1254]
lea eax, [ebp - 0x1154]
call fcn.0040ee9c
mov edi, eax
lea edx, [ebp - 0x1354]
mov eax, 0x4af32c
call fcn.0040ee9c
mov esi, eax
lea edx, [ebp - 0x1454]
mov eax, 0x4af52c
call fcn.0040ee9c
mov dword [ebp - 0x54], eax
mov edx, edi
lea eax, [ebp - 0x20]
call fcn.0041195c
lea edx, [ebp - 0x1254]
lea eax, [ebp - 0x20]
mov ecx, edi
call fcn.00411a2c
mov edx, esi
lea eax, [ebp - 0x20]
call fcn.0041195c
lea edx, [ebp - 0x1354]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00411a2c
mov dl, byte [ebp - 0x54]
lea eax, [ebp - 0x20]
call fcn.0041195c
lea edx, [ebp - 0x1454]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
call fcn.00411a2c
lea eax, [ebp - 0x1480]
call fcn.004137a4
lea edx, [ebp - 0x1480]
mov eax, ebx
call fcn.00409ea0
lea eax, [ebp - 0x1480]
call fcn.00413a48
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.004119b4
lea esi, [ebx + 0x5440]
xor edx, edx
lea eax, [esi + 0xc30]
call fcn.00401818
mov word [esi + 8], 0x8000
xor ecx, ecx
lea edx, [ebx + 0x6070]
mov dword [esi + 0x24], ecx
lea eax, [ebp - 0x20]
or word [ebx + 0x5448], 0x4000
call fcn.00411af4
push 0
push 0x4a0b64
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.0040387c
lea eax, [ebp - 0x254]
call fcn.0047e984
call fcn.0047de20
sub dword [ebp - 0x28], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00411850
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret