Function at 0x3000d9d1
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x30002788]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push edi
mov edi, ecx
push 0xfffffffffffffff0
push edi
mov dword [ebp - 0x70], edi
call esi
test eax, 0x20000000
jne 0x3000dd34
push 0xfffffffffffffff0
push edi
call esi
test al, 1
je 0x3000da1b
mov eax, dword [ebx + 0xc]
test eax, eax
mov dword [ebp - 0x6c], eax
jne 0x3000da2d
mov eax, dword [0x3009e174]
jmp 0x3000da2a
mov eax, dword [ebx + 0x10]
test eax, eax
mov dword [ebp - 0x6c], eax
jne 0x3000da2d
mov eax, dword [0x3009e178]
mov dword [ebp - 0x6c], eax
push 2
push edi
call fcn.3007f2eb
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x68], eax
je 0x3000dd27
push 2
push 4
push dword [0x3009e148]
push eax
call fcn.3007f215
add esp, 0x10
test eax, eax
je 0x3000dd27
lea eax, [ebp - 0x64]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x60]
neg eax
push eax
mov eax, dword [ebp - 0x64]
neg eax
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x80]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
lea edi, [ebp - 0x80]
call fcn.3000d831
push dword [ebp - 0x74]
mov edi, dword [ebp - 0x68]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push edi
call dword [sym.imp.GDI32.dll_ExcludeClipRect]
push 2
push 2
push dword [0x3009e15c]
push edi
call fcn.3007f215
add esp, 0x10
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
test dword [ebx + 0x20], 0x40000
je 0x3000db39
mov esi, dword [sym.imp.USER32.dll_InflateRect]
xor eax, eax
inc eax
sub eax, dword [ebx + 8]
push eax
xor eax, eax
inc eax
sub eax, dword [ebx + 4]
push eax
lea eax, [ebp - 0x64]
push eax
call esi
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push edi
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x60]
lea eax, [eax + ecx + 1]
push eax
push dword [ebp - 0x64]
mov dword [ebp - 0x58], eax
push edi
call fcn.3008501e
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
push edi
call dword [sym.imp.GDI32.dll_LineTo]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x64]
push eax
call esi
inc dword [ebp - 0x58]
jmp 0x3000dbc6
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x60]
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [eax + ecx + 1]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_InflateRect]
push 1
mov dword [ebp - 0x84], eax
push 1
lea eax, [ebp - 0x80]
push eax
call esi
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_Rectangle]
push dword [ebp - 0x84]
push dword [ebp - 0x90]
push dword [ebp - 0x68]
call fcn.3008501e
push dword [ebp - 0x84]
push dword [ebp - 0x88]
push dword [ebp - 0x68]
call dword [sym.imp.GDI32.dll_LineTo]
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x90]
push eax
call esi
inc dword [ebp - 0x84]
lea esi, [ebp - 0x90]
lea edi, [ebp - 0x64]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x68]
test dword [ebx + 0x20], 0x80000
je 0x3000dc85
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x3000dbea
push 0x7ff2
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov esi, eax
jmp 0x3000dc09
mov esi, eax
lea eax, [ebp - 0x98]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectA]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x94]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x3009e09c]
push 2
push 1
push esi
push dword [eax + 0xc6]
call fcn.3007f215
mov esi, eax
add esp, 0x10
test esi, esi
je 0x3000dc60
mov eax, dword [0x3009e09c]
push 0xcc0020
push 0
push 0
push dword [eax + 0xc6]
push dword [ebx]
push dword [ebx + 0x1c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [0x3009e09c]
push esi
push dword [eax + 0xc6]
call fcn.300844a1
pop ecx
pop ecx
mov eax, dword [ebp - 0x64]
add eax, dword [ebx + 0x1c]
push dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
push eax
push edi
call fcn.3008501e
mov eax, dword [ebp - 0x58]
inc eax
push eax
push dword [ebp - 0x64]
push edi
call dword [sym.imp.GDI32.dll_LineTo]
inc dword [ebp - 0x64]
lea eax, [ebp - 0x54]
push eax
push 0x50
push 0xd
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x3000dcb1
push ebx
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push edi
call eax
add esp, 0x14
jmp 0x3000dd27
push 0x3f
lea eax, [ebp - 0xd8]
push 0
push eax
call sub.MSVCR80.dll_memset
or dword [ebp - 0xc4], 0xffffffff
and dword [ebp - 0xbb], 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xb7], eax
lea eax, [ebp - 0xd8]
push eax
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xc8], 0x20
mov byte [ebp - 0xbc], 2
mov byte [ebp - 0xaf], 1
mov byte [ebp - 0xae], 0
call fcn.300765f7
add esp, 0x10
push dword [ebp - 0x68]
push dword [ebp - 0x70]
call fcn.30084f53
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.3008a55a
leave
ret