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.0048dd88
mov esi, dword [ebx + 0x13cc]
cmp byte [esi + 0x20ba], 0
je 0x4084d1
cmp byte [0x4a7004], 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 [0x4b989c]
call fcn.004979aa
mov eax, 0x349
call fcn.004116e8
call fcn.004779f4
call fcn.00476f7c
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.00410e8c
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.0040e7e8
test al, al
je 0x4085fa
push edi
call fcn.0048d918
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.0041103c
lea eax, [ebp - 0x20]
mov ecx, esi
mov edx, edi
call fcn.004110e8
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.0041103c
jmp 0x408623
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.0041103c
mov eax, esi
call fcn.0040f914
mov edi, eax
lea eax, [ebp - 0x20]
mov edx, edi
call fcn.0041103c
lea eax, [ebp - 0x20]
mov ecx, edi
mov edx, esi
call fcn.00411118
push 0x4a6a00
call fcn.0048d918
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.0041103c
mov edx, 0x4a6a00
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.004110e8
push 0x4a6a00
lea eax, [ebp - 0x1054]
push eax
call fcn.0048d8e8
add esp, 8
lea edx, [ebp - 0xc54]
lea eax, [ebp - 0x1054]
mov ecx, 0x10000000
call fcn.0040f898
lea eax, [ebp - 0xc54]
call fcn.0040e7e8
test al, al
je 0x40868e
lea eax, [ebp - 0x20]
xor edx, edx
call fcn.0041103c
jmp 0x4086b5
lea eax, [ebp - 0xc54]
call fcn.0040f914
mov esi, eax
lea eax, [ebp - 0x20]
mov edx, esi
call fcn.0041103c
lea edx, [ebp - 0xc54]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.00411118
push 0
push 0
xor edx, edx
mov eax, ebx
call fcn.00409808
lea ecx, [ebp - 0x1154]
mov edx, 0x4a6d00
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.0040e6c0
mov edi, eax
lea edx, [ebp - 0x1354]
mov eax, 0x4a6c00
call fcn.0040e6c0
mov esi, eax
lea edx, [ebp - 0x1454]
mov eax, 0x4a6e00
call fcn.0040e6c0
mov dword [ebp - 0x54], eax
mov edx, edi
lea eax, [ebp - 0x20]
call fcn.00411018
lea edx, [ebp - 0x1254]
lea eax, [ebp - 0x20]
mov ecx, edi
call fcn.004110e8
mov edx, esi
lea eax, [ebp - 0x20]
call fcn.00411018
lea edx, [ebp - 0x1354]
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.004110e8
mov dl, byte [ebp - 0x54]
lea eax, [ebp - 0x20]
call fcn.00411018
lea edx, [ebp - 0x1454]
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 0x54]
call fcn.004110e8
lea eax, [ebp - 0x1480]
call fcn.00412dfc
lea edx, [ebp - 0x1480]
mov eax, ebx
call fcn.00409a78
lea eax, [ebp - 0x1480]
call fcn.004130a0
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.00411070
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.004111b0
push 0
push 0x498b64
push 0
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004035dc
lea eax, [ebp - 0x254]
call fcn.004779f4
call fcn.00476f7c
sub dword [ebp - 0x28], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00410f0c
mov ecx, dword [ebp - 0x44]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret