Function at 0x9839ac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x9839b5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x1c], edx
mov ebx, eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x983cf9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00409124
lea eax, [ebp - 0x14]
call fcn.00409124
lea eax, [ebp - 4]
push eax
mov edx, dword [ebp - 0x1c]
mov eax, 0x983d18
call fcn.0040a860
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.0040a6b4
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x983a22
mov eax, dword [ebp - 0x2c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x1c]
mov eax, 0x983d18
call fcn.0040a860
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
call fcn.0040a6b4
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x983d18
call fcn.0040a860
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040a6b4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x983a79
mov eax, dword [ebp - 0x30]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x983d18
call fcn.0040a860
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
call fcn.0040a6b4
mov edx, dword [ebp - 0xc]
mov eax, 0x983d18
call fcn.0040a860
test eax, eax
jle 0x983b66
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
call fcn.0040954c
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x983d18
call fcn.0040a860
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040a6b4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x983af0
mov eax, dword [ebp - 0x34]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x983d18
call fcn.0040a860
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
call fcn.0040a6b4
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x983d18
call fcn.0040a860
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x18]
call fcn.0040a6b4
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x983b47
mov eax, dword [ebp - 0x38]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x18]
mov eax, 0x983d18
call fcn.0040a860
mov edx, eax
inc edx
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x18]
call fcn.0040a6b4
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x20], eax
push 0
push 0
push 0xe
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_DefWindowProcW
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
inc eax
call fcn.00425904
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x24]
inc eax
push eax
push 0xd
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_SendMessageW
push edi
push 1
push 0
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
mov edx, 0x983d28
mov eax, ebx
call fcn.0097f92c
mov eax, dword [ebp - 0x4c]
mov edx, 0x983d54
call fcn.0040a67c
jne 0x983bf1
push esi
push edi
push 0
push 0
push 0
push 0x983d64
mov eax, dword [ebp - 0x20]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x50]
call fcn.00423b80
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0097edfc
jmp 0x983c16
push esi
push edi
push 0
push 0
push 0
push 0x983d64
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x28]
call fcn.004258d8
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0097edfc
mov eax, dword [ebp - 0x28]
call fcn.00425954
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.user32.dll_GetWindowRect
push esi
push edi
push 0
push 0
push 0
push 0x983d64
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0x48]
call fcn.00423b58
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0097edfc
push esi
push edi
push 0
push 0
push 0
push 0x983d64
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x44]
call fcn.00423b58
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0097edfc
cmp dword [ebp - 0x10], 0
je 0x983ca3
push esi
push edi
push 0
push 0
push 0
push 0x983d64
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x48]
call fcn.00423b58
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0097edfc
cmp dword [ebp - 0x14], 0
je 0x983cd1
push esi
push edi
push 0
push 0
push 0
push 0x983d64
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x44]
call fcn.00423b58
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0097edfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x983d00
lea eax, [ebp - 0x64]
mov edx, 7
call fcn.00409184
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00409184
ret