Function at 0x40848c
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, 0x498c30
call fcn.0048dbf8
mov esi, dword [ebx + 0x13cc]
cmp byte [esi + 0x20ba], 0
je 0x4084d1
cmp byte [0x4a6f94], 0
je 0x4084d1
cmp byte [ebx + 0x6e00], 0
je 0x4084df
mov eax, dword [ebp - 0x44]
mov dword fs:[0], eax
jmp 0x40880d
push pe_nt_image_headers32
lea edx, [ebp - 0x254]
push edx
push dword [0x4b982c]
call sub.USER32.DLL_GetWindowTextA
mov eax, 0x349
call fcn.004116e0
call fcn.00477864
call fcn.00476dec
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409808
cmp dword [esi + 0x20a4], 0
je 0x40852b
or word [ebx + 0x46dc], 0x40
mov eax, ebx
call fcn.004098c0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov word [ebx + 0x46e4], ax
mov edx, eax
mov eax, dword [ebp - 0x50]
sar edx, 0x1f
mov dword [ebx + 0x46e8], eax
mov eax, dword [ebx + 0x6e0c]
xor edx, edx
push edx
add eax, 7
push eax
mov eax, ebx
xor edx, edx
call fcn.00409808
xor ecx, ecx
mov edx, 0x73
mov eax, ebx
call fcn.00401af8
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409808
mov word [ebp - 0x34], 8
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00410e84
add dword [ebp - 0x28], 2
mov word [ebp - 0x34], 0x14
lea ecx, [ebp - 0xa54]
mov edx, dword [ebp - 0x48]
mov eax, edi
call fcn.0040c9c8
mov eax, edi
call fcn.0040b578
mov edi, eax
lea eax, [ebp - 0xa54]
call fcn.0040b604
mov esi, eax
mov eax, esi
call fcn.0040e7e0
test al, al
je 0x4085fa
push edi
call fcn.0048d788
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411034
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, edi
call fcn.004110e0
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411034
jmp 0x408623
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411034
mov eax, esi
call fcn.0040f90c
mov edi, eax
lea eax, [ebp - 0x20]
mov edx, edi
call fcn.00411034
lea eax, [ebp - 0x20]
mov ecx, edi
mov edx, esi
call fcn.00411110
push 0x4a6990
call fcn.0048d788
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411034
mov edx, 0x4a6990
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.004110e0
push 0x4a6990
lea eax, [ebp - 0x1054]
push eax
call fcn.0048d758
add esp, 8
lea edx, [ebp - 0xc54]
lea eax, [ebp - 0x1054]
mov ecx, 0x10000000
call fcn.0040f890
lea eax, [ebp - 0xc54]
call fcn.0040e7e0
test al, al
je 0x40868e
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.00411034
jmp 0x4086b5
lea eax, [ebp - 0xc54]
call fcn.0040f90c
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.00411034
lea edx, [ebp - 0xc54]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00411110
push 0
push 0
xor edx, edx
mov eax, ebx
call fcn.00409808
lea ecx, [ebp - 0x1154]
mov edx, 0x4a6c90
mov eax, ebx
call fcn.00407f00
push 0
push 0
mov edx, 2
mov eax, ebx
call fcn.00409808
lea edx, [ebp - 0x1254]
lea eax, [ebp - 0x1154]
call fcn.0040e6b8
mov edi, eax
lea edx, [ebp - 0x1354]
mov eax, 0x4a6b90
call fcn.0040e6b8
mov esi, eax
lea edx, [ebp - 0x1454]
mov eax, 0x4a6d90
call fcn.0040e6b8
mov dword [ebp - 0x54], eax
mov edx, edi
lea eax, [ebp - 0x20]
call fcn.00411010
lea edx, [ebp - 0x1254]
lea eax, [ebp - 0x20]
mov ecx, edi
call fcn.004110e0
mov edx, esi
lea eax, [ebp - 0x20]
call fcn.00411010
lea edx, [ebp - 0x1354]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.004110e0
mov dl, byte [ebp - 0x54]
lea eax, [ebp - 0x20]
call fcn.00411010
lea edx, [ebp - 0x1454]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
call fcn.004110e0
lea eax, [ebp - 0x1480]
call fcn.00412df4
lea edx, [ebp - 0x1480]
mov eax, ebx
call fcn.00409a78
lea eax, [ebp - 0x1480]
call fcn.00413098
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00411068
lea esi, [ebx + 0x5418]
xor edx, edx
lea eax, [esi + 0xc30]
call fcn.004017a8
mov word [esi + 8], 0x8000
xor ecx, ecx
lea edx, [ebx + 0x6048]
mov dword [esi + 0x24], ecx
lea eax, [ebp - 0x20]
or word [ebx + 0x5420], 0x4000
call fcn.004111a8
push 0
push 0x498b64
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004035dc
lea eax, [ebp - 0x254]
call fcn.00477864
call fcn.00476dec
sub dword [ebp - 0x28], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00410f04
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret