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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov edi, dword [ebp + 8]
call sub.USER32.dll_GetDesktopWindow
lea edx, [ebp - 0x28]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.USER32.dll_GetWindowRect
sub esp, 8
mov dword [esp + 0x2c], 0
mov eax, dword [0x9f1fa4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov eax, dword [0x9f1f90]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 0x7d
mov dword [esp + 0x18], 0x190
mov eax, dword [ebp - 0x1c]
sub eax, 0x7d
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
sub eax, 0x190
mov edx, eax
shr edx, 0x1f
add eax, edx
sar eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x80c90000
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str.InputBox
mov dword [esp], pe_nt_image_headers32
call sub.USER32.dll_CreateWindowExA
sub esp, 0x30
mov dword [0x9f1f8c], eax
mov eax, 0
cmp dword [0x9f1f8c], 0
je 0x4dbb2f
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [0x9f1fa0]
mov dword [esp], eax
call sub.USER32.dll_SetWindowTextA
sub esp, 8
mov eax, dword [0x9f1f8c]
mov dword [esp], eax
call sub.USER32.dll_SetForegroundWindow
sub esp, 4
mov dword [esp + 4], 0
mov eax, dword [0x9f1f90]
mov dword [esp], eax
call sub.USER32.dll_EnableWindow
sub esp, 8
mov dword [esp + 4], 5
mov eax, dword [0x9f1f8c]
mov dword [esp], eax
call sub.USER32.dll_ShowWindow
sub esp, 8
mov eax, dword [0x9f1f8c]
mov dword [esp], eax
call sub.USER32.dll_UpdateWindow
sub esp, 4
mov dword [ebp - 0x4c], 0
lea ebx, [ebp - 0x48]
jmp 0x4dbb01
cmp dword [ebp - 0x44], 0x100
jne 0x4dbaeb
cmp dword [ebp - 0x40], 0x1b
jne 0x4dba0c
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov eax, dword [0x9f1f8c]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x40], 0xd
jne 0x4dba96
mov eax, dword [0x9f1f94]
mov dword [esp], eax
call sub.USER32.dll_GetWindowTextLengthA
sub esp, 4
mov esi, eax
inc esi
cmp dword [edi + 4], 0
je 0x4dba41
mov eax, dword [edi + 4]
mov dword [esp], eax
call fcn.0080e824
mov dword [edi + 4], 0
mov dword [esp], esi
call fcn.0080e834
mov dword [edi + 4], eax
mov dword [esp + 8], esi
mov eax, dword [edi + 4]
mov dword [esp + 4], eax
mov eax, dword [0x9f1f94]
mov dword [esp], eax
call sub.USER32.dll_GetWindowTextA
sub esp, 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 2
mov eax, dword [0x9f1f8c]
mov dword [esp], eax
call sub.USER32.dll_SendMessageA
sub esp, 0x10
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x40], 9
jne 0x4dbaeb
call sub.USER32.dll_GetFocus
mov esi, eax
cmp eax, dword [0x9f1f94]
jne 0x4dbabb
mov eax, dword [0x9f1f98]
mov dword [esp], eax
call sub.USER32.dll_SetFocus
sub esp, 4
cmp esi, dword [0x9f1f98]
jne 0x4dbad3
mov eax, dword [0x9f1f9c]
mov dword [esp], eax
call sub.USER32.dll_SetFocus
sub esp, 4
cmp esi, dword [0x9f1f9c]
jne 0x4dbaeb
mov eax, dword [0x9f1f94]
mov dword [esp], eax
call sub.USER32.dll_SetFocus
sub esp, 4
mov dword [esp], ebx
call sub.USER32.dll_TranslateMessage
sub esp, 4
mov dword [esp], ebx
call sub.USER32.dll_DispatchMessageA
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call sub.USER32.dll_GetMessageA
sub esp, 0x10
test eax, eax
jne 0x4db9ca
mov eax, dword [ebp - 0x4c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret