Function at 0x408a1c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push ebx
push esi
push edi
mov dword [ebp - 0x48], ecx
mov edi, edx
mov ebx, eax
mov eax, 0x4a2c44
call fcn.004980b0
mov esi, dword [ebx + 0x13cc]
cmp byte [esi + 0x20c2], 0
je 0x408a61
cmp byte [0x4b2124], 0
je 0x408a61
cmp byte [ebx + 0x6e38], 0
je 0x408a6f
mov eax, dword [ebp - 0x44]
mov dword fs:[0], eax
jmp 0x408d93
push pe_nt_image_headers32
lea edx, [ebp - 0x258]
push edx
push dword [0x4c4e70]
call sub.USER32.DLL_GetWindowTextA
mov eax, 0x349
call fcn.004125d0
call fcn.004748a0
call fcn.00473bd8
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409e38
cmp dword [esi + 0x20ac], 0
je 0x408abb
or word [ebx + 0x4714], 0x40
mov eax, ebx
call fcn.00409ef0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov word [ebx + 0x4718], ax
mov edx, eax
mov eax, dword [ebp - 0x50]
sar edx, 0x1f
mov dword [ebx + 0x471c], eax
mov eax, dword [ebx + 0x6e44]
xor edx, edx
push edx
add eax, 7
push eax
mov eax, ebx
xor edx, edx
call fcn.00409e38
xor ecx, ecx
mov edx, 0x73
mov eax, ebx
call fcn.00401cac
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409e38
mov word [ebp - 0x34], 8
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411d74
add dword [ebp - 0x28], 2
mov word [ebp - 0x34], 0x14
lea ecx, [ebp - 0xa58]
mov edx, dword [ebp - 0x48]
mov eax, edi
call fcn.0040d31c
mov eax, edi
call fcn.0040bd28
mov edi, eax
lea eax, [ebp - 0xa58]
call fcn.0040bdb4
mov esi, eax
mov eax, esi
call fcn.0040f408
test al, al
je 0x408b8a
push edi
call fcn.00497cb0
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411f24
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, edi
call fcn.00411fd0
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411f24
jmp 0x408bb3
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411f24
mov eax, esi
call fcn.00410768
mov edi, eax
lea eax, [ebp - 0x20]
mov edx, edi
call fcn.00411f24
lea eax, [ebp - 0x20]
mov ecx, edi
mov edx, esi
call fcn.00412000
push 0x100
lea ecx, [ebp - 0xc58]
mov eax, 0x4b1b20
xor edx, edx
call fcn.004095a8
mov byte [ebp - 0x51], al
push 0x4b1b20
call fcn.00497cb0
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411f24
mov edx, 0x4b1b20
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00411fd0
lea eax, [ebp - 0xc58]
call fcn.0040f408
test al, al
jne 0x408c08
cmp byte [ebp - 0x51], 0
je 0x408c14
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411f24
jmp 0x408c3b
lea eax, [ebp - 0xc58]
call fcn.00410768
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411f24
lea edx, [ebp - 0xc58]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00412000
push 0
push 0
xor edx, edx
mov eax, ebx
call fcn.00409e38
lea ecx, [ebp - 0xd58]
mov edx, 0x4b1e20
mov eax, ebx
call fcn.00408490
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409e38
lea edx, [ebp - 0xe58]
lea eax, [ebp - 0xd58]
call fcn.0040f2e0
mov edi, eax
lea edx, [ebp - 0xf58]
mov eax, 0x4b1d20
call fcn.0040f2e0
mov esi, eax
lea edx, [ebp - 0x1058]
mov eax, 0x4b1f20
call fcn.0040f2e0
mov dword [ebp - 0x58], eax
mov edx, edi
lea eax, [ebp - 0x20]
call fcn.00411f00
lea edx, [ebp - 0xe58]
lea eax, [ebp - 0x20]
mov ecx, edi
call fcn.00411fd0
mov edx, esi
lea eax, [ebp - 0x20]
call fcn.00411f00
lea edx, [ebp - 0xf58]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00411fd0
mov dl, byte [ebp - 0x58]
lea eax, [ebp - 0x20]
call fcn.00411f00
lea edx, [ebp - 0x1058]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x58]
call fcn.00411fd0
lea eax, [ebp - 0x1084]
call fcn.00413d60
lea edx, [ebp - 0x1084]
mov eax, ebx
call fcn.0040a0a8
lea eax, [ebp - 0x1084]
call fcn.00414004
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00411f58
lea esi, [ebx + 0x5450]
xor edx, edx
lea eax, [esi + 0xc30]
call fcn.00401818
mov word [esi + 8], 0x8000
xor ecx, ecx
lea edx, [ebx + 0x6080]
mov dword [esi + 0x24], ecx
lea eax, [ebp - 0x20]
or word [ebx + 0x5458], 0x4000
call fcn.00412098
push 0
push 0x4a2b70
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.0040395c
lea eax, [ebp - 0x258]
call fcn.004748a0
call fcn.00473bd8
sub dword [ebp - 0x28], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00411df4
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret