Function at 0x2108d9e1
Capabilities:
Get graphical window text

Disassembly:
enter 0x48, 0
mov byte [ebp - 1], 0
mov byte [ebp - 0x33], 0
mov byte [ebp - 0x3f], 0x2e
mov byte [ebp - 0x3e], 0
push 0x32
lea eax, [ebp - 0x32]
push eax
push dword [0x40102c]
call sub.USER32.DLL_GetWindowTextA
cmp byte [ebp - 0x32], 0
jne 0x2108da2c
push 0x40
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108dd40
push dword [0x401034]
call fcn.2108cced
cmp dword [0x4010d8], 1
jne 0x2108da49
jmp 0x2108dd40
push 2
push dword [0x401034]
call fcn.2108d3dd
cmp dword [0x4010dc], 1
jne 0x2108da68
jmp 0x2108dd40
push 0xb
lea eax, [ebp - 0x3d]
push eax
push dword [0x401034]
call sub.USER32.DLL_GetWindowTextA
lea eax, [ebp - 0x3f]
push eax
lea eax, [ebp - 0x3d]
push eax
call sub.SHELL32.DLL_StrStrA
or eax, eax
jne 0x2108daa1
lea eax, [ebp - 0x3d]
push eax
call fcn.21097ec5
mov dword [0x4010f8], eax
jmp 0x2108dacd
wait
fninit
wait
fnstcw word [ebp - 0x42]
and word [ebp - 0x42], 0xf0ff
or word [ebp - 0x42], 0x1000
fldcw word [ebp - 0x42]
push 0x80
push 0
lea eax, [ebp - 0x3d]
push eax
call fcn.21097c00
fstp dword [0x4010f8]
cmp dword [0x401094], 0
jne 0x2108db94
cmp dword [0x401098], 0
jne 0x2108db94
lea eax, [ebp - 0x48]
push eax
push dword [0x4010a0]
call sub.KERNEL32.DLL_GetExitCodeProcess
cmp dword [ebp - 0x48], 0x103
je 0x2108db1f
push 0x30
push 0x2108803a
push 0x21088094
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108dd40
mov dword [0x401098], 1
push 0x21088227
push dword [0x40103c]
call sub.USER32.DLL_SetWindowTextA
push 0x2108dd44
push 0x3e8
push 0x3fd
push dword [0x401004]
call sub.USER32.DLL_SetTimer
push 0
push 1
push 0xcf
push dword [0x40102c]
call sub.USER32.DLL_SendMessageA
push 0
push 1
push 0xcf
push dword [0x401024]
call sub.USER32.DLL_SendMessageA
push 0
push 1
push 0xcf
push dword [0x401034]
call sub.USER32.DLL_SendMessageA
jmp 0x2108dd40
cmp dword [0x401094], 1
jne 0x2108dc09
cmp dword [0x401098], 1
jne 0x2108dc09
mov dword [0x401098], 0
push 0x2108821e
push dword [0x40103c]
call sub.USER32.DLL_SetWindowTextA
push 0
push 0
push 0xcf
push dword [0x40102c]
call sub.USER32.DLL_SendMessageA
push 0
push 0
push 0xcf
push dword [0x401024]
call sub.USER32.DLL_SendMessageA
push 0
push 0
push 0xcf
push dword [0x401034]
call sub.USER32.DLL_SendMessageA
jmp 0x2108dd40
cmp dword [0x401098], 0
jne 0x2108dcb6
cmp dword [0x401094], 1
jne 0x2108dcb6
lea eax, [ebp - 0x48]
push eax
push dword [0x4010a0]
call sub.KERNEL32.DLL_GetExitCodeProcess
cmp dword [ebp - 0x48], 0x103
je 0x2108dc5b
push 0x30
push 0x2108803a
push 0x21088094
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108dd40
mov dword [0x401098], 1
push 0x21088227
push dword [0x40103c]
call sub.USER32.DLL_SetWindowTextA
push 0
push 1
push 0xcf
push dword [0x40102c]
call sub.USER32.DLL_SendMessageA
push 0
push 1
push 0xcf
push dword [0x401024]
call sub.USER32.DLL_SendMessageA
push 0
push 1
push 0xcf
push dword [0x401034]
call sub.USER32.DLL_SendMessageA
jmp 0x2108dd40
cmp dword [0x401098], 1
jne 0x2108dd3b
cmp dword [0x401094], 0
jne 0x2108dd3b
mov dword [0x401098], 0
push 0x2108821e
push dword [0x40103c]
call sub.USER32.DLL_SetWindowTextA
push 0x3fd
push dword [0x401004]
call sub.USER32.DLL_KillTimer
push 0
push 0
push 0xcf
push dword [0x40102c]
call sub.USER32.DLL_SendMessageA
push 0
push 0
push 0xcf
push dword [0x401024]
call sub.USER32.DLL_SendMessageA
push 0
push 0
push 0xcf
push dword [0x401034]
call sub.USER32.DLL_SendMessageA
jmp 0x2108dd40
jmp 0x2108dd40
leave
ret 0