Function at 0x2108d9d7
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 0x2108da22
push 0x40
push 0x2108803a
push 0x21088028
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108dd36
push dword [0x401034]
call fcn.2108cce3
cmp dword [0x4010d8], 1
jne 0x2108da3f
jmp 0x2108dd36
push 2
push dword [0x401034]
call fcn.2108d3d3
cmp dword [0x4010dc], 1
jne 0x2108da5e
jmp 0x2108dd36
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 0x2108da97
lea eax, [ebp - 0x3d]
push eax
call fcn.21097e95
mov dword [0x4010f8], eax
jmp 0x2108dac3
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.21097bd0
fstp dword [0x4010f8]
cmp dword [0x401094], 0
jne 0x2108db8a
cmp dword [0x401098], 0
jne 0x2108db8a
lea eax, [ebp - 0x48]
push eax
push dword [0x4010a0]
call sub.KERNEL32.DLL_GetExitCodeProcess
cmp dword [ebp - 0x48], 0x103
je 0x2108db15
push 0x30
push 0x2108803a
push 0x21088094
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108dd36
mov dword [0x401098], 1
push 0x21088227
push dword [0x40103c]
call sub.USER32.DLL_SetWindowTextA
push 0x2108dd3a
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 0x2108dd36
cmp dword [0x401094], 1
jne 0x2108dbff
cmp dword [0x401098], 1
jne 0x2108dbff
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 0x2108dd36
cmp dword [0x401098], 0
jne 0x2108dcac
cmp dword [0x401094], 1
jne 0x2108dcac
lea eax, [ebp - 0x48]
push eax
push dword [0x4010a0]
call sub.KERNEL32.DLL_GetExitCodeProcess
cmp dword [ebp - 0x48], 0x103
je 0x2108dc51
push 0x30
push 0x2108803a
push 0x21088094
push dword [0x401004]
call sub.USER32.DLL_MessageBoxA
jmp 0x2108dd36
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 0x2108dd36
cmp dword [0x401098], 1
jne 0x2108dd31
cmp dword [0x401094], 0
jne 0x2108dd31
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 0x2108dd36
jmp 0x2108dd36
leave
ret 0