Function at 0x408ae0
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, 0x4abc44
call fcn.004a0204
mov esi, dword [ebx + 0x13cc]
cmp byte [esi + 0x28c2], 0
je 0x408b25
cmp byte [0x4bb8f4], 0
je 0x408b25
cmp byte [ebx + 0x7638], 0
je 0x408b33
mov eax, dword [ebp - 0x44]
mov dword fs:[0], eax
jmp 0x408e57
push pe_nt_image_headers32
lea edx, [ebp - 0x258]
push edx
push dword [0x4cfe40]
call sub.USER32.DLL_GetWindowTextA
mov eax, 0x349
call fcn.00413388
call fcn.004781d0
call fcn.004774b8
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409f94
cmp dword [esi + 0x28ac], 0
je 0x408b7f
or word [ebx + 0x4f14], 0x40
mov eax, ebx
call fcn.0040a04c
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov word [ebx + 0x4f18], ax
mov edx, eax
mov eax, dword [ebp - 0x50]
sar edx, 0x1f
mov dword [ebx + 0x4f1c], eax
mov eax, dword [ebx + 0x7644]
xor edx, edx
push edx
add eax, 7
push eax
mov eax, ebx
xor edx, edx
call fcn.00409f94
xor ecx, ecx
mov edx, 0x73
mov eax, ebx
call fcn.00401cb0
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409f94
mov word [ebp - 0x34], 8
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00412b10
add dword [ebp - 0x28], 2
mov word [ebp - 0x34], 0x14
lea ecx, [ebp - 0xa58]
mov edx, dword [ebp - 0x48]
mov eax, edi
call fcn.0040dd30
mov eax, edi
call fcn.0040c4d0
mov edi, eax
lea eax, [ebp - 0xa58]
call fcn.0040c568
mov esi, eax
mov eax, esi
call fcn.0040ffac
test al, al
je 0x408c4e
push edi
call fcn.0049fe04
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00412ccc
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, edi
call fcn.00412d78
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00412ccc
jmp 0x408c77
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00412ccc
mov eax, esi
call fcn.00411474
mov edi, eax
lea eax, [ebp - 0x20]
mov edx, edi
call fcn.00412ccc
lea eax, [ebp - 0x20]
mov ecx, edi
mov edx, esi
call fcn.00412db0
push 0x100
lea ecx, [ebp - 0xc58]
mov eax, 0x4bb2f0
xor edx, edx
call fcn.00409674
mov byte [ebp - 0x51], al
push 0x4bb2f0
call fcn.0049fe04
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00412ccc
mov edx, 0x4bb2f0
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00412d78
lea eax, [ebp - 0xc58]
call fcn.0040ffac
test al, al
jne 0x408ccc
cmp byte [ebp - 0x51], 0
je 0x408cd8
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00412ccc
jmp 0x408cff
lea eax, [ebp - 0xc58]
call fcn.00411474
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00412ccc
lea edx, [ebp - 0xc58]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00412db0
push 0
push 0
xor edx, edx
mov eax, ebx
call fcn.00409f94
lea ecx, [ebp - 0xd58]
mov edx, 0x4bb5f0
mov eax, ebx
call fcn.0040853c
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409f94
lea edx, [ebp - 0xe58]
lea eax, [ebp - 0xd58]
call fcn.0040fe8c
mov edi, eax
lea edx, [ebp - 0xf58]
mov eax, 0x4bb4f0
call fcn.0040fe8c
mov esi, eax
lea edx, [ebp - 0x1058]
mov eax, 0x4bb6f0
call fcn.0040fe8c
mov dword [ebp - 0x58], eax
mov edx, edi
lea eax, [ebp - 0x20]
call fcn.00412ca4
lea edx, [ebp - 0xe58]
lea eax, [ebp - 0x20]
mov ecx, edi
call fcn.00412d78
mov edx, esi
lea eax, [ebp - 0x20]
call fcn.00412ca4
lea edx, [ebp - 0xf58]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00412d78
mov dl, byte [ebp - 0x58]
lea eax, [ebp - 0x20]
call fcn.00412ca4
lea edx, [ebp - 0x1058]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x58]
call fcn.00412d78
lea eax, [ebp - 0x1084]
call fcn.00414bf8
lea edx, [ebp - 0x1084]
mov eax, ebx
call fcn.0040a20c
lea eax, [ebp - 0x1084]
call fcn.00414e98
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00412d00
lea esi, [ebx + 0x5c50]
xor edx, edx
lea eax, [esi + 0xc30]
call fcn.0040181c
mov word [esi + 8], 0x8000
xor ecx, ecx
lea edx, [ebx + 0x6880]
mov dword [esi + 0x24], ecx
lea eax, [ebp - 0x20]
or word [ebx + 0x5c58], 0x4000
call fcn.00412e48
push 0
push 0x4abb70
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004038f0
lea eax, [ebp - 0x258]
call fcn.004781d0
call fcn.004774b8
sub dword [ebp - 0x28], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00412b90
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret