Function at 0x4080e0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x492782
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x14], 0
push ecx
lea eax, [esp + 0x13c]
mov ebx, 1
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x134], ebx
call fcn.004841a8
mov ecx, ebp
call fcn.00407d50
test eax, eax
jne 0x408150
mov esi, dword [esp + 0x134]
push 0x4c2d98
mov ecx, esi
call fcn.004844a1
mov dword [esp + 0x14], ebx
jmp 0x4083ca
mov ecx, dword [ebp + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x408190
mov ecx, ebp
call fcn.00407dc0
test eax, eax
mov dword [ebp + 4], eax
jne 0x408188
mov esi, dword [esp + 0x134]
push 0x4c2d98
mov ecx, esi
call fcn.004844a1
mov dword [esp + 0x14], ebx
jmp 0x4083ca
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp + 4]
mov edi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push str.Button
push 0
push edx
call edi
mov esi, eax
mov eax, dword [ebp + 4]
push 0
push str.Edit
push 0
push eax
call edi
push 2
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push ebx
mov dword [esp + 0x20], eax
call edi
push 0
push 0
push 0x201
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0xf5
push esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [ebp + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
mov eax, dword [ebp + 4]
push 3
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov ebx, eax
test ebx, ebx
je 0x408267
lea edx, [esp + 0x20]
push 0xff
push edx
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov esi, 0x4b90b0
lea eax, [esp + 0x20]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40825e
test cl, cl
je 0x40825a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40825e
add eax, 2
add esi, 2
test cl, cl
jne 0x40823a
xor eax, eax
jmp 0x408263
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x408275
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x40820e
cmp edi, 0xa
jne 0x40829a
push 0x4b90b0
push str.32770
call dword [sym.imp.USER32.dll_FindWindowA]
mov ebx, eax
test ebx, ebx
jne 0x40829a
push 0x4c2d98
jmp 0x4083b4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push 1
push 0
push 0
push eax
push ecx
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [esp + 0x10], 0
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
push 0
push str.ComboBoxEx32
push 0
push ebx
call esi
test eax, eax
je 0x408357
push 0
push str.ComboBox
push 0
push eax
call esi
test eax, eax
je 0x408357
push 0
push str.Edit
push 0
push eax
call esi
mov esi, eax
test esi, esi
je 0x408357
mov edx, dword [esp + 0x138]
push 0
lea ecx, [esp + 0x13c]
mov edi, dword [edx - 8]
call fcn.00484863
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0xc
push esi
call edi
push 0xffffffffffffffff
lea ecx, [esp + 0x13c]
call fcn.004848b2
lea eax, [esp + 0x20]
mov byte [esp + 0x20], 0
push eax
push 0x104
push 0xd
push esi
call edi
mov edx, dword [esp + 0x138]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.0046f2f7
add esp, 8
test eax, eax
je 0x408371
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 5
mov dword [esp + 0x10], eax
jl 0x4082bb
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 1
push 0x111
push ebx
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push 0x104
push 0xd
push ecx
mov byte [esp + 0x30], 0
call esi
mov edx, dword [ebp + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esp + 0x20]
push eax
mov esi, dword [esp + 0x138]
mov ecx, esi
call fcn.004844a1
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x138]
mov byte [esp + 0x12c], 0
call fcn.00484433
mov ecx, dword [esp + 0x124]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x120
ret 8