Function at 0x408890
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, 0x49fc30
call fcn.00494df8
mov esi, dword [ebx + 0x13cc]
cmp byte [esi + 0x20ba], 0
je 0x4088d5
cmp byte [0x4ae730], 0
je 0x4088d5
cmp byte [ebx + 0x6e28], 0
je 0x4088e3
mov eax, dword [ebp - 0x44]
mov dword fs:[0], eax
jmp 0x408c11
push pe_nt_image_headers32
lea edx, [ebp - 0x254]
push edx
push dword [0x4c144c]
call sub.USER32.DLL_GetWindowTextA
mov eax, 0x349
call fcn.00411fe8
call fcn.0047e4c0
call fcn.0047d960
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409c04
cmp dword [esi + 0x20a4], 0
je 0x40892f
or word [ebx + 0x4704], 0x40
mov eax, ebx
call fcn.00409cbc
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.00409c04
xor ecx, ecx
mov edx, 0x73
mov eax, ebx
call fcn.00401cac
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409c04
mov word [ebp - 0x34], 8
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.0041178c
add dword [ebp - 0x28], 2
mov word [ebp - 0x34], 0x14
lea ecx, [ebp - 0xa54]
mov edx, dword [ebp - 0x48]
mov eax, edi
call fcn.0040cf04
mov eax, edi
call fcn.0040ba30
mov edi, eax
lea eax, [ebp - 0xa54]
call fcn.0040babc
mov esi, eax
mov eax, esi
call fcn.0040ef90
test al, al
je 0x4089fe
push edi
call fcn.004949f8
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.0041193c
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, edi
call fcn.004119e8
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.0041193c
jmp 0x408a27
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.0041193c
mov eax, esi
call fcn.004101ec
mov edi, eax
lea eax, [ebp - 0x20]
mov edx, edi
call fcn.0041193c
lea eax, [ebp - 0x20]
mov ecx, edi
mov edx, esi
call fcn.00411a18
push 0x4ae12c
call fcn.004949f8
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.0041193c
mov edx, 0x4ae12c
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.004119e8
push 0x4ae12c
lea eax, [ebp - 0x1054]
push eax
call fcn.004949c8
add esp, 8
lea edx, [ebp - 0xc54]
lea eax, [ebp - 0x1054]
mov ecx, 0x10000000
call fcn.00410004
lea eax, [ebp - 0xc54]
call fcn.0040ef90
test al, al
je 0x408a92
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.0041193c
jmp 0x408ab9
lea eax, [ebp - 0xc54]
call fcn.004101ec
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.0041193c
lea edx, [ebp - 0xc54]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00411a18
push 0
push 0
xor edx, edx
mov eax, ebx
call fcn.00409c04
lea ecx, [ebp - 0x1154]
mov edx, 0x4ae42c
mov eax, ebx
call fcn.00408304
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409c04
lea edx, [ebp - 0x1254]
lea eax, [ebp - 0x1154]
call fcn.0040ee68
mov edi, eax
lea edx, [ebp - 0x1354]
mov eax, 0x4ae32c
call fcn.0040ee68
mov esi, eax
lea edx, [ebp - 0x1454]
mov eax, 0x4ae52c
call fcn.0040ee68
mov dword [ebp - 0x54], eax
mov edx, edi
lea eax, [ebp - 0x20]
call fcn.00411918
lea edx, [ebp - 0x1254]
lea eax, [ebp - 0x20]
mov ecx, edi
call fcn.004119e8
mov edx, esi
lea eax, [ebp - 0x20]
call fcn.00411918
lea edx, [ebp - 0x1354]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.004119e8
mov dl, byte [ebp - 0x54]
lea eax, [ebp - 0x20]
call fcn.00411918
lea edx, [ebp - 0x1454]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
call fcn.004119e8
lea eax, [ebp - 0x1480]
call fcn.00413750
lea edx, [ebp - 0x1480]
mov eax, ebx
call fcn.00409e74
lea eax, [ebp - 0x1480]
call fcn.004139f4
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00411970
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.00411ab0
push 0
push 0x49fb64
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00403858
lea eax, [ebp - 0x254]
call fcn.0047e4c0
call fcn.0047d960
sub dword [ebp - 0x28], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0041180c
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret