Function at 0x68007820
Capabilities:
Get graphical window text

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x918
mov eax, dword [ecx + 8]
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
je 0x68007868
xor ebx, ebx
cmp edx, 0x300
jne 0x68007853
cmp ax, 0x9c4
je 0x680078c0
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
cmp eax, 1
je 0x68007920
cmp eax, 2
je 0x68007890
xor ebx, ebx
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp], esi
mov ebx, 1
mov dword [esp + 4], 2
call sym._EndDialog_8
mov eax, ebx
sub esp, 8
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x10
mov dword [esp], esi
mov dword [esp + 4], 0x9c4
call sym._GetDlgItem_8
sub esp, 8
mov esi, eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0xba
mov dword [esp], eax
call sym._SendMessageW_16
sub esp, 0x10
cmp eax, 1
setg al
mov dword [esp + 4], 1
movzx eax, al
mov dword [esp], esi
mov dword [esp + 8], eax
call sym._ShowScrollBar_12
sub esp, 0xc
jmp 0x68007853
mov dword [esp + 4], 0x9c4
lea ebx, [ebp - 0x918]
mov dword [esp], esi
call sym._GetDlgItem_8
sub esp, 8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0xd
mov dword [esp], eax
call sym._SendMessageA_16
movzx eax, byte [ebp - 0x918]
sub esp, 0x10
test al, al
je 0x68007890
sub eax, 0x30
cmp al, 2
ja 0x68007977
cmp byte [ebp - 0x917], 0x2e
je 0x680079ed
mov eax, dword [0x68022004]
lea ebx, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
lea edi, [ebp - 0x818]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x40f
mov dword [esp], eax
call sym._LoadStringW_16
mov eax, dword [0x68022004]
sub esp, 0x10
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x40e
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 4], ebx
xor ebx, ebx
mov dword [esp + 8], edi
mov dword [esp], esi
call sym._MessageBoxW_16
sub esp, 0x10
jmp 0x68007878
movsx eax, byte [ebp - 0x916]
lea edx, [ebp - 0x916]
test al, al
je 0x68007977
sub eax, 0x30
cmp eax, 9
ja 0x68007977
movsx eax, byte [edx + 1]
test al, al
je 0x68007a40
cmp al, 0x2e
jne 0x68007b10
movsx eax, byte [edx + 2]
test al, al
je 0x68007977
sub eax, 0x30
add edx, 2
cmp eax, 9
ja 0x68007977
jmp 0x68007a0e
mov dword [esp + 4], 8
mov dword [esp], esi
call sym._GetWindowLongW_8
sub esp, 8
mov dword [esp + 4], 0x965
mov dword [esp], eax
call sym._GetDlgItem_8
mov edx, ebx
sub esp, 8
call sym._find_oid_in_list
cmp eax, 0xffffffff
je 0x68007ad8
mov eax, dword [0x68022004]
lea ebx, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
lea edi, [ebp - 0x818]
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x410
mov dword [esp], eax
call sym._LoadStringW_16
mov eax, dword [0x68022004]
sub esp, 0x10
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x40e
mov dword [esp], eax
call sym._LoadStringW_16
sub esp, 0x10
mov dword [esp + 0xc], 0x30
jmp 0x680079d3
mov dword [esp + 4], 8
mov dword [esp], esi
call sym._GetWindowLongW_8
mov edx, ebx
mov ebx, 1
sub esp, 8
call sym._add_purpose
mov dword [esp + 4], 1
mov dword [esp], esi
call sym._EndDialog_8
sub esp, 8
jmp 0x68007853
add edx, 1
jmp 0x68007a02