Function at 0x680079d0
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, 0x928
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
cmp eax, 0x110
je 0x68007a90
cmp eax, 0x111
jne 0x68007b0e
mov eax, edx
shr eax, 0x10
je 0x68007b20
xor ebx, ebx
cmp eax, 0x300
jne 0x68007b10
cmp dx, 0x9c4
jne 0x68007b10
mov dword [esp], esi
mov dword [esp + 4], 0x9c4
call dword [sym.imp.user32.dll_GetDlgItem]
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 dword [sym.imp.user32.dll_SendMessageW]
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 dword [sym.imp.user32.dll_ShowScrollBar]
sub esp, 0xc
jmp 0x68007b10
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
mov dword [esp + 4], 0x9c4
mov dword [esp], esi
call edi
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xff
mov dword [esp + 4], 0xc5
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageW]
sub esp, 0x10
mov dword [esp + 4], 0x9c4
mov dword [esp], esi
call edi
sub esp, 8
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowScrollBar]
sub esp, 0xc
mov dword [esp + 8], ebx
mov dword [esp + 4], 8
mov dword [esp], esi
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
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
cmp edx, 1
je 0x68007b48
cmp edx, 2
jne 0x68007b0e
mov dword [esp + 4], 2
mov ebx, 1
mov dword [esp], esi
call dword [sym.imp.user32.dll_EndDialog]
sub esp, 8
jmp 0x68007b10
mov dword [esp], esi
mov edi, dword [sym.imp.user32.dll_GetDlgItem]
lea ebx, [ebp - 0x918]
mov dword [esp + 4], 0x9c4
call edi
sub esp, 8
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0xd
mov dword [esp], eax
call dword [sym.imp.user32.dll_SendMessageA]
movzx eax, byte [ebp - 0x918]
sub esp, 0x10
test al, al
je 0x68007b2a
sub eax, 0x30
cmp al, 2
ja 0x68007ba3
cmp byte [ebp - 0x917], 0x2e
je 0x68007c24
mov edx, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x68024004]
lea ebx, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], ebx
lea edi, [ebp - 0x818]
mov dword [ebp - 0x91c], edx
mov dword [esp + 4], 0x40f
mov dword [esp], eax
call edx
mov eax, dword [0x68024004]
mov edx, dword [ebp - 0x91c]
sub esp, 0x10
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x40e
mov dword [esp], eax
call edx
sub esp, 0x10
mov dword [esp + 0xc], 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], ebx
mov dword [esp], esi
call dword [sym.imp.user32.dll_MessageBoxW]
sub esp, 0x10
jmp 0x68007b0e
movsx eax, byte [ebp - 0x916]
lea edx, [ebp - 0x916]
test al, al
je 0x68007ba3
sub eax, 0x30
cmp eax, 9
ja 0x68007ba3
movsx eax, byte [edx + 1]
test al, al
je 0x68007c78
cmp al, 0x2e
jne 0x68007d58
movsx eax, byte [edx + 2]
test al, al
je 0x68007ba3
sub eax, 0x30
add edx, 2
cmp eax, 9
ja 0x68007ba3
jmp 0x68007c45
mov ecx, dword [sym.imp.user32.dll_GetWindowLongW]
mov dword [esp + 4], 8
mov dword [esp], esi
mov dword [ebp - 0x91c], ecx
call ecx
sub esp, 8
mov dword [esp + 4], 0x965
mov dword [esp], eax
call edi
mov edx, ebx
sub esp, 8
call sym._find_oid_in_list
cmp eax, 0xffffffff
jne 0x68007ceb
mov ecx, dword [ebp - 0x91c]
mov dword [esp + 4], 8
mov dword [esp], esi
call ecx
mov edx, ebx
mov ebx, 1
sub esp, 8
call sym._add_purpose
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.user32.dll_EndDialog]
sub esp, 8
jmp 0x68007b10
mov edx, dword [sym.imp.user32.dll_LoadStringW]
mov eax, dword [0x68024004]
lea ebx, [ebp - 0x418]
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], ebx
lea edi, [ebp - 0x818]
mov dword [ebp - 0x91c], edx
mov dword [esp + 4], 0x410
mov dword [esp], eax
call edx
mov eax, dword [0x68024004]
mov edx, dword [ebp - 0x91c]
sub esp, 0x10
mov dword [esp + 0xc], 0x200
mov dword [esp + 8], edi
mov dword [esp + 4], 0x40e
mov dword [esp], eax
call edx
sub esp, 0x10
mov dword [esp + 0xc], 0x30
jmp 0x68007c0b
inc edx
jmp 0x68007c39