Function at 0x408f40
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x428f4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x39c
push ebx
push ebp
push esi
xor ebx, ebx
push edi
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ebx
call fcn.004255a2
mov eax, dword [0x4342d0]
mov dword [esp + 0x3b4], ebx
mov dword [esp + 0x10], eax
mov edi, dword [0x438870]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xac]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
lea edx, [esp + 0x2b8]
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xb8]
mov byte [esp + 0x3c0], 1
push ecx
push pe_nt_image_headers32
push edx
push str.DriverDesc
mov ecx, 0x438850
call sub.SiSApCom.dll_public:_int___thiscall_CSiSEscExt::ReadKeyString_char___char___int__char___char___struct_HKEY_____unsigned_long_int_
mov edi, dword [esp + 0x3bc]
mov ebp, dword [sym.imp.USER32.dll_FindWindowExA]
push ebx
push str.Button
push ebx
push edi
call ebp
mov esi, eax
cmp esi, ebx
je 0x409015
push 0xfffffffffffffff4
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, 0x70a
je 0x409015
push 0
push str.Button
push esi
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x408ff4
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 1
push 0x201
push esi
call edi
push 0
push 0
push 0x202
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_GetParent]
mov dword [esp + 0x18], 0
cmp dword [esp + 0x18], 0x32
jg 0x409156
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x3bc]
push eax
call ebp
push 0
push str.32770
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
test esi, esi
je 0x409145
lea ecx, [esp + 0x1ac]
push pe_nt_image_headers32
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [esp + 0x1ac]
lea ecx, [esp + 0x20]
push edx
mov edi, eax
call fcn.0041d672
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3b8], 2
call fcn.0041d6f1
lea ecx, [esp + 0x20]
mov byte [esp + 0x3b4], 1
call fcn.0041d604
lea eax, [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x18]
call fcn.00417b06
lea ecx, [esp + 0x2ac]
mov byte [esp + 0x3b4], 3
push ecx
mov ecx, eax
call fcn.00417ba0
cmp eax, 0xffffffff
je 0x40910a
push esi
call ebp
mov edx, dword [esp + 0x3bc]
mov edi, eax
push edx
call ebp
cmp eax, edi
sete al
test al, al
je 0x40910a
mov bl, 1
jmp 0x40910c
xor bl, bl
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3b4], 1
call fcn.0041d604
test bl, bl
jne 0x40913d
push 0
push str.32770
push esi
push 0
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
test esi, esi
jne 0x409079
jmp 0x409141
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc ecx
test ebx, ebx
mov dword [esp + 0x18], ecx
je 0x409041
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x409189
lea ecx, [esp + 0x10]
mov byte [esp + 0x3b4], al
call fcn.0041d604
lea ecx, [esp + 0x24]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.00425664
xor eax, eax
jmp 0x4091c3
push 3
push 0
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esp + 0x10]
mov byte [esp + 0x3b4], 0
call fcn.0041d604
lea ecx, [esp + 0x24]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.00425664
mov eax, ebx
mov ecx, dword [esp + 0x3ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3a8
ret 4