Function at 0x4428d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1438
call fcn.0045db90
mov eax, dword [0x4920c0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x97
push dword [0x4959f8]
mov ebx, edx
mov dword [ebp - 0x1434], ebx
mov edi, ecx
call dword [sym.imp.USER32.dll_LoadMenuW]
mov dword [0x4945b8], eax
test eax, eax
jne 0x442921
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
push 0
push eax
call dword [sym.imp.USER32.dll_GetSubMenu]
mov esi, dword [ebp + 8]
mov dword [0x4945b4], eax
mov dword [ebp - 0x1430], esi
cmp ebx, 0xffffffff
jne 0x44296d
cmp esi, ebx
jne 0x44296d
lea eax, [ebp - 0x141c]
push eax
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x141c]
mov esi, dword [ebp - 0x1418]
mov dword [ebp - 0x1434], eax
mov dword [ebp - 0x1430], esi
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [ebp - 0x142c]
push eax
push 0x464
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp esi, dword [ebp - 0x1428]
jl 0x44290e
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
xor eax, eax
cmp dword [0x493288], eax
sete al
push eax
push 0x8009
push dword [0x4945b4]
call esi
cmp dword [0x493288], 0
je 0x4429d6
mov eax, dword [0x495b38]
cmp eax, 6
jg 0x4429d2
jne 0x4429d6
cmp dword [0x495b3c], 2
jl 0x4429d6
xor eax, eax
jmp 0x4429db
mov eax, 1
push eax
push 0x800f
push dword [0x4945b4]
call esi
xor eax, eax
push 0x9fe
push eax
mov word [ebp - 0xa0c], ax
lea eax, [ebp - 0xa0a]
push eax
call fcn.00455910
add esp, 0xc
lea eax, [ebp - 0xa0c]
push 0x500
push eax
push 0x45f
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp dword [0x4932bc], 0
jne 0x442a4c
lea ecx, [ebp - 0xa0c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x442a34
sub ecx, edx
sar ecx, 1
jne 0x442a4c
mov eax, 1
jmp 0x442a4e
xor eax, eax
push eax
push 0x800a
push dword [0x4945b4]
call esi
cmp dword [0x4932bc], 0
je 0x442a72
cmp byte [0x4932c4], 0
jne 0x442a72
xor eax, eax
jmp 0x442a77
mov eax, 1
push eax
push 0x800e
push dword [0x4945b4]
call esi
mov esi, dword [sym.imp.USER32.dll_CheckMenuItem]
xor eax, eax
cmp byte [0x4932c4], al
mov ecx, 8
cmovne eax, ecx
push eax
push 0x8010
push dword [0x4945b4]
call esi
xor eax, eax
cmp byte [0x4930ed], al
mov ecx, 8
cmovne eax, ecx
push eax
push 0x800b
push dword [0x4945b4]
call esi
xor eax, eax
cmp byte [0x4930ee], al
mov ecx, 8
cmovne eax, ecx
push eax
push 0x800c
push dword [0x4945b4]
call esi
xor eax, eax
cmp byte [0x4930ef], al
mov ecx, 8
cmovne eax, ecx
push eax
push 0x800d
push dword [0x4945b4]
call esi
xor eax, eax
cmp byte [0x4930f0], al
mov ecx, 8
cmovne eax, ecx
push eax
push 0x8011
push dword [0x4945b4]
call esi
mov ecx, dword [0x4945d0]
test ecx, ecx
je 0x442bbf
mov eax, dword [0x4945cc]
test eax, eax
je 0x442bbf
mov esi, dword [sym.imp.USER32.dll_SetMenuItemBitmaps]
push ecx
push eax
push 0
push 0x800b
push dword [0x4945b4]
call esi
push dword [0x4945d0]
push dword [0x4945cc]
push 0
push 0x800c
push dword [0x4945b4]
call esi
push dword [0x4945d0]
push dword [0x4945cc]
push 0
push 0x800d
push dword [0x4945b4]
call esi
push dword [0x4945d0]
push dword [0x4945cc]
push 0
push 0x8010
push dword [0x4945b4]
call esi
push dword [0x4945d0]
push dword [0x4945cc]
push 0
push 0x8011
push dword [0x4945b4]
call esi
push 0
push edi
push 0
push dword [ebp - 0x1430]
push dword [ebp - 0x1434]
push 0x182
push dword [0x4945b4]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push dword [0x4945b8]
mov esi, eax
call dword [sym.imp.USER32.dll_DestroyMenu]
add esi, 0xffff7ff7
mov dword [0x4945b4], 0
cmp esi, 8
ja case.default.0x442c08
jmp dword [esi*4 + 0x442e40]
push 0x46b720
push 0x456
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, 0x493278
call fcn.00402070
push 0
push 1
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
push 0
push 0x421920
push edi
push 0x9b
push dword [0x4959f8]
mov dword [0x493038], 1
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
push 0x46b720
push 0x45f
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, 0x4932ac
call fcn.00402070
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
cmp dword [0x4932c0], 8
mov eax, 0x4932ac
cmovae eax, dword [0x4932ac]
push eax
lea eax, [ebp - 0x140c]
push str.notepad.exe___s_
push eax
call fcn.00409980
lea eax, [ebp - 0x140c]
push eax
push str.The_selected_Run_file_is_open_for_editing._n_nExit_Notepad_to_continue.
mov ecx, edi
call fcn.00422db0
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
cmp byte [0x4932c4], 0
sete cl
xor eax, eax
test cl, cl
sete al
mov byte [0x4932c4], cl
push eax
push 0x460
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
cmp byte [0x4932c4], al
push 0
sete al
push eax
push 0xcf
push 0x45f
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x46b720
push 0x45f
push edi
call ebx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, 0x4932ac
call fcn.00402070
cmp byte [0x4932c4], 0
je 0x442d97
push str.Enter_path_to_Run_file_located_in_WIM__e.g._myscripts_backup.ifw_:
push 0x467
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
push 0x488d48
push 0x467
push edi
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
cmp byte [0x4930ed], 0
mov al, 1
sete byte [0x4930ed]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
cmp byte [0x4930ee], 0
mov al, 1
sete byte [0x4930ee]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
cmp byte [0x4930ef], 0
mov al, 1
sete byte [0x4930ef]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0044fdac
mov esp, ebp
pop ebp
ret
cmp byte [0x4930f0], 0
sete byte [0x4930f0]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.0044fdac
mov esp, ebp
pop ebp
ret