Function at 0x408a00
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.00498090
mov esi, dword [ebx + 0x13cc]
cmp byte [esi + 0x20c2], 0
je 0x408a45
cmp byte [0x4b20e4], 0
je 0x408a45
cmp byte [ebx + 0x6e38], 0
je 0x408a53
mov eax, dword [ebp - 0x44]
mov dword fs:[0], eax
jmp 0x408d77
push pe_nt_image_headers32
lea edx, [ebp - 0x258]
push edx
push dword [0x4c4e30]
call sub.USER32.DLL_GetWindowTextA
mov eax, 0x349
call fcn.004125b4
call fcn.00474850
call fcn.00473b88
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409e1c
cmp dword [esi + 0x20ac], 0
je 0x408a9f
or word [ebx + 0x4714], 0x40
mov eax, ebx
call fcn.00409ed4
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.00409e1c
xor ecx, ecx
mov edx, 0x73
mov eax, ebx
call fcn.00401cac
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409e1c
mov word [ebp - 0x34], 8
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411d58
add dword [ebp - 0x28], 2
mov word [ebp - 0x34], 0x14
lea ecx, [ebp - 0xa58]
mov edx, dword [ebp - 0x48]
mov eax, edi
call fcn.0040d300
mov eax, edi
call fcn.0040bd0c
mov edi, eax
lea eax, [ebp - 0xa58]
call fcn.0040bd98
mov esi, eax
mov eax, esi
call fcn.0040f3ec
test al, al
je 0x408b6e
push edi
call fcn.00497c90
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411f08
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, edi
call fcn.00411fb4
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411f08
jmp 0x408b97
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411f08
mov eax, esi
call fcn.0041074c
mov edi, eax
lea eax, [ebp - 0x20]
mov edx, edi
call fcn.00411f08
lea eax, [ebp - 0x20]
mov ecx, edi
mov edx, esi
call fcn.00411fe4
push 0x100
lea ecx, [ebp - 0xc58]
mov eax, 0x4b1ae0
xor edx, edx
call fcn.0040958c
mov byte [ebp - 0x51], al
push 0x4b1ae0
call fcn.00497c90
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411f08
mov edx, 0x4b1ae0
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00411fb4
lea eax, [ebp - 0xc58]
call fcn.0040f3ec
test al, al
jne 0x408bec
cmp byte [ebp - 0x51], 0
je 0x408bf8
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411f08
jmp 0x408c1f
lea eax, [ebp - 0xc58]
call fcn.0041074c
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411f08
lea edx, [ebp - 0xc58]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00411fe4
push 0
push 0
xor edx, edx
mov eax, ebx
call fcn.00409e1c
lea ecx, [ebp - 0xd58]
mov edx, 0x4b1de0
mov eax, ebx
call fcn.00408474
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409e1c
lea edx, [ebp - 0xe58]
lea eax, [ebp - 0xd58]
call fcn.0040f2c4
mov edi, eax
lea edx, [ebp - 0xf58]
mov eax, 0x4b1ce0
call fcn.0040f2c4
mov esi, eax
lea edx, [ebp - 0x1058]
mov eax, 0x4b1ee0
call fcn.0040f2c4
mov dword [ebp - 0x58], eax
mov edx, edi
lea eax, [ebp - 0x20]
call fcn.00411ee4
lea edx, [ebp - 0xe58]
lea eax, [ebp - 0x20]
mov ecx, edi
call fcn.00411fb4
mov edx, esi
lea eax, [ebp - 0x20]
call fcn.00411ee4
lea edx, [ebp - 0xf58]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00411fb4
mov dl, byte [ebp - 0x58]
lea eax, [ebp - 0x20]
call fcn.00411ee4
lea edx, [ebp - 0x1058]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x58]
call fcn.00411fb4
lea eax, [ebp - 0x1084]
call fcn.00413d44
lea edx, [ebp - 0x1084]
mov eax, ebx
call fcn.0040a08c
lea eax, [ebp - 0x1084]
call fcn.00413fe8
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00411f3c
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.0041207c
push 0
push 0x4a2b70
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.00403940
lea eax, [ebp - 0x258]
call fcn.00474850
call fcn.00473b88
sub dword [ebp - 0x28], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00411dd8
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret