Function at 0x2108a68e
Capabilities:
Get graphical window text

Disassembly:
enter 0xa8, 0
push dword [0x401014]
call fcn.2108cced
cmp dword [0x4010d8], 1
jne 0x2108a6af
jmp 0x2108ac32
lea eax, [ebp - 0x80]
push eax
push dword [0x401088]
call sub.KERNEL32.DLL_GetExitCodeProcess
cmp dword [ebp - 0x80], 0x103
je 0x2108a6e7
push 0x30
push 0x2108803a
push 0x21088094
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108ac32
mov byte [ebp - 0x71], 0
push 0x28
lea eax, [ebp - 0xa8]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
mov dword [ebp - 0xa8], 6
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
lea eax, [ebp - 0xa8]
push eax
push 0
push 0x1005
push dword [0x40100c]
call sub.USER32.DLL_SendMessageA
cmp dword [ebp - 0x88], 0
jne 0x2108a759
push 0x30
push 0x2108803a
push 0x21088100
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108ac32
push 0x28
lea eax, [ebp - 0xa8]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
push 0
push 0
push 0x1032
push dword [0x40100c]
call sub.USER32.DLL_SendMessageA
or eax, eax
jne 0x2108a79f
push 0x30
push 0x2108803a
push 0x21088119
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108ac32
push 0xb
lea eax, [ebp - 0x7b]
push eax
push dword [0x401018]
call sub.USER32.DLL_GetWindowTextA
mov byte [ebp - 0x6e], 0x2e
mov byte [ebp - 0x6d], 0
mov byte [ebp - 0x70], 0x2d
mov byte [ebp - 0x6f], 0
lea eax, [ebp - 0x6e]
push eax
lea eax, [ebp - 0x7b]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
jne 0x2108a88c
lea eax, [ebp - 0x7b]
push eax
call fcn.21097ec5
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7b]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
jne 0x2108a844
cmp dword [ebp - 0xc], 0xff
jg 0x2108a80a
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0xc], 0xff
jle 0x2108a82b
cmp dword [ebp - 0xc], 0xffff
jg 0x2108a82b
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0xc], 0xffff
jle 0x2108a83f
mov dword [ebp - 0x1c], 3
jmp 0x2108a887
mov eax, 0xffffff01
mov ebx, 0xffff0001
cmp dword [ebp - 0xc], eax
jl 0x2108a85e
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0xc], eax
jge 0x2108a877
cmp dword [ebp - 0xc], ebx
jl 0x2108a877
mov dword [ebp - 0x1c], 2
cmp dword [ebp - 0xc], ebx
jge 0x2108a887
mov dword [ebp - 0x1c], 3
jmp 0x2108a8bc
mov dword [ebp - 0x1c], 4
wait
fninit
wait
fnstcw word [ebp - 0x6c]
and word [ebp - 0x6c], 0xf0ff
or word [ebp - 0x6c], 0x1000
fldcw word [ebp - 0x6c]
push 0x80
push 0
lea eax, [ebp - 0x7b]
push eax
call fcn.21097c00
fstp dword [ebp - 0xc]
push 0
push 0
push 0x1004
push dword [0x40100c]
call sub.USER32.DLL_SendMessageA
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0
cmp dword [ebp - 4], 0
je 0x2108abf0
push 0x28
lea eax, [ebp - 0xa8]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
mov dword [ebp - 0xa8], 0xe
mov eax, dword [ebp - 8]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x98], 2
lea eax, [ebp - 0xa8]
push eax
push 0
push 0x1005
push dword [0x40100c]
call sub.USER32.DLL_SendMessageA
mov al, byte [ebp - 0x9c]
cmp al, 2
jne 0x2108abe5
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x8c], eax
jl 0x2108abe5
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x8c], 1
jne 0x2108aa00
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x11], al
push 0
push 1
lea eax, [ebp - 0x11]
push eax
push dword [ebp - 0x20]
push dword [0x401088]
call sub.KERNEL32.DLL_WriteProcessMemory
or eax, eax
jne 0x2108aa00
push dword [ebp - 0x20]
push 0x2108805f
lea eax, [ebp - 0x6a]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0x2108817a
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
lea eax, [ebp - 0x6a]
push eax
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
push 0x21088185
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
push 0x20
push 0x210881b6
lea eax, [ebp - 0x56]
push eax
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [ebp - 0x24], 1
push 0x32
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
push 0x14
lea eax, [ebp - 0x6a]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
cmp dword [ebp - 0x8c], 2
jne 0x2108aaa3
mov ax, word [ebp - 0xc]
mov word [ebp - 0x14], ax
push 0
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x20]
push dword [0x401088]
call sub.KERNEL32.DLL_WriteProcessMemory
or eax, eax
jne 0x2108aaa3
push dword [ebp - 0x20]
push 0x2108805f
lea eax, [ebp - 0x6a]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0x2108817a
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
lea eax, [ebp - 0x6a]
push eax
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
push 0x21088185
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
push 0x20
push 0x210881b6
lea eax, [ebp - 0x56]
push eax
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [ebp - 0x24], 1
push 0x32
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
push 0x14
lea eax, [ebp - 0x6a]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
cmp dword [ebp - 0x8c], 3
jne 0x2108ab44
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
push 0
push 4
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
push dword [0x401088]
call sub.KERNEL32.DLL_WriteProcessMemory
or eax, eax
jne 0x2108ab44
push dword [ebp - 0x20]
push 0x2108805f
lea eax, [ebp - 0x6a]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0x2108817a
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
lea eax, [ebp - 0x6a]
push eax
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
push 0x21088185
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
push 0x20
push 0x210881b6
lea eax, [ebp - 0x56]
push eax
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [ebp - 0x24], 1
push 0x32
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
push 0x14
lea eax, [ebp - 0x6a]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
cmp dword [ebp - 0x8c], 4
jne 0x2108abe5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
push 0
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x20]
push dword [0x401088]
call sub.KERNEL32.DLL_WriteProcessMemory
or eax, eax
jne 0x2108abe5
push dword [ebp - 0x20]
push 0x2108805f
lea eax, [ebp - 0x6a]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0xc
push 0x2108817a
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
lea eax, [ebp - 0x6a]
push eax
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
push 0x21088185
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_lstrcatA
push 0x20
push 0x210881b6
lea eax, [ebp - 0x56]
push eax
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
mov dword [ebp - 0x24], 1
push 0x32
lea eax, [ebp - 0x56]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
push 0x14
lea eax, [ebp - 0x6a]
push eax
call sub.KERNEL32.DLL_RtlZeroMemory
dec dword [ebp - 4]
inc dword [ebp - 8]
jmp 0x2108a8e1
cmp dword [ebp - 0x24], 0
jne 0x2108ac16
push 0x40
push 0x210881b6
push 0x21088190
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108ac2d
push 0x40
push 0x210881b6
push 0x210881a3
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108ac32
leave
ret 0