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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x5ca1c0]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov dword [esp + 0x14], ecx
mov edi, edx
xor eax, eax
mov ecx, 0x5dc198
xchg dword [ecx], eax
mov eax, dword [0x5de2c4]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x4e084d
push eax
call esi
push 0
push dword [0x5de248]
push 0
push dword [0x5de24c]
push 0x140
push 0x258
push 0
push 0
push 0x2cf0000
push edi
push dword [0x5dc1d0]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x300
call edi
mov dword [0x5de2c4], eax
test eax, eax
je 0x4e0d83
mov ecx, dword [0x5de2d0]
test ecx, ecx
je 0x4e08a3
push ecx
call esi
mov eax, dword [0x5de2c4]
push 0
push dword [0x5de248]
push 0
push eax
push 0xc8
push 0x230
push 0xa
push 0xa
push 0x50a00844
push 0
push str.RichEdit20A
push 0
call edi
mov dword [0x5de2d0], eax
test eax, eax
je 0x4e0d83
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x443
push eax
call edi
push 0
push 0
push 0x443
push dword [0x5de2d0]
call edi
push 0
push 0x10
push 0x466
push dword [0x5de2d0]
call edi
push 0
push 0x20
push 0x466
push dword [0x5de2d0]
call edi
push 0
push 0x30
push 0x466
push dword [0x5de2d0]
call edi
mov esi, dword [0x5de2d0]
push 0
push 0
push 0x115
push esi
call edi
push 0
push 6
push 0x114
push esi
call edi
mov esi, dword [0x5de2d0]
lea eax, [esp + 0x58]
push 0x4c
push 0
push eax
mov dword [esp + 0x24], 0x5aaa34
call fcn.00532960
add esp, 4
mov dword [esp + 0x58], 0x54
lea edx, [esp + 0x20]
mov dword [esp + 0x5c], 0x6c400000
lea ecx, [esp + 0x72]
call fcn.005065b0
add esp, 8
mov byte [esp + 0x68], 0xcc
mov eax, 0x320
mov dword [esp + 0x64], 0xffffff
mov word [esp + 0x8c], ax
lea eax, [esp + 0x50]
mov dword [esp + 0x90], 0
push eax
push 1
push 0x444
push esi
call edi
mov eax, dword [0x5de2d4]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x4e09d2
push eax
call esi
push 0
push dword [0x5de248]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x81
push dword [0x5de2c4]
push 0x14
push 0x1d6
push 0xdc
push 0x64
push 0x50800000
push 0
push str.Edit
push 0
call edi
mov dword [0x5de2d4], eax
mov eax, dword [0x5de2c8]
test eax, eax
je 0x4e0a1a
push eax
call esi
push 0
push dword [0x5de248]
push 0x7f
push dword [0x5de2c4]
push 0x14
push 0x32
push 0xfa
push 0x64
push 0x50000f00
push 0x59b05c
push str.Button
push 0
call edi
mov dword [0x5de2c8], eax
mov eax, dword [0x5de2cc]
test eax, eax
je 0x4e0a59
push eax
call esi
push 0
push dword [0x5de248]
push 0x80
push dword [0x5de2c4]
push 0x14
push 0x32
push 0xfa
push 0xaa
push 0x50000f00
push 0x59b060
push str.Button
push 0
call edi
mov edx, dword [esp + 0x14]
push 1
push ecx
push 1
push 1
push ecx
mov ecx, dword [0x5de2d0]
mov dword [0x5de2cc], eax
call fcn.004dbe00
add esp, 0x14
mov eax, str.not_specified
cmp dword [0x5ce2b0], 0xf
cmova eax, dword [str.not_specified]
push eax
push dword [0x5de2d4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x5de2c4]
lea ecx, [esp + 0x20]
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x20], eax
push eax
movaps xmmword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x24]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
mov dword [esp + 0x1c], eax
call esi
push 1
mov dword [esp + 0x18], eax
call esi
sub eax, edi
cdq
push 1
sub eax, edx
push 0
sar eax, 1
push 0
push eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x28]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push dword [esp + 0x34]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [0x5de2c4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x5de2cc]
mov esi, dword [sym.imp.USER32.dll_SetFocus]
call esi
push 0
push 0
xorps xmm0, xmm0
mov dword [esp + 0x50], 0
push 0
lea eax, [esp + 0x3c]
movaps xmmword [esp + 0x3c], xmm0
push eax
movq qword [esp + 0x50], xmm0
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4e0d67
mov edi, dword [sym.imp.USER32.dll_GetFocus]
nop dword [eax + eax]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [esp + 0x34]
cmp eax, 0x100
jne 0x4e0cb8
mov eax, dword [esp + 0x38]
cmp eax, 0x1b
jne 0x4e0bf4
xor eax, eax
mov ecx, 0x5dc198
xchg dword [ecx], eax
push 0xd
push 0x5991a0
mov ecx, str.not_specified
call fcn.004176a0
push 1
push dword [0x5de24c]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [0x5de24c]
call esi
push dword [0x5de2c4]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4e0d43
cmp eax, 0xd
jne 0x4e0c76
call edi
cmp eax, dword [0x5de2cc]
je 0x4e0bb3
call edi
cmp eax, dword [0x5de2c8]
jne 0x4e0d43
mov eax, 1
mov ecx, 0x5dc198
xchg dword [ecx], eax
push 0x400
push 0x930070
push dword [0x5de2d4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
cmp byte [0x930070], al
je 0x4e0bbc
inc eax
cmp eax, 0x400
je 0x4e0c5a
cmp byte [eax + 0x930070], 0
jne 0x4e0c41
test eax, eax
je 0x4e0bbc
mov ecx, 0x930070
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e0c62
sub ecx, edx
push ecx
push 0x930070
jmp 0x4e0bc3
cmp eax, 0x25
jne 0x4e0c94
call edi
mov ecx, dword [0x5de2c8]
cmp eax, ecx
jne 0x4e0ca4
push dword [0x5de2cc]
call esi
jmp 0x4e0d43
cmp eax, 9
je 0x4e0c7b
cmp eax, 0x27
jne 0x4e0d43
jmp 0x4e0c7b
cmp eax, dword [0x5de2cc]
jne 0x4e0d43
push ecx
call esi
jmp 0x4e0d43
cmp eax, 0x201
jne 0x4e0d43
cmp byte [0x5cacf9], 0
je 0x4e0d43
movsx eax, word [esp + 0x3c]
xorps xmm0, xmm0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
shr eax, 0x10
cwde
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push dword [0x5de2d4]
movaps xmmword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x1c]
cmp eax, dword [esp + 0x20]
jl 0x4e0d43
cmp eax, dword [esp + 0x28]
jg 0x4e0d43
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jl 0x4e0d43
cmp eax, dword [esp + 0x2c]
jg 0x4e0d43
push 0x593042
push dword [0x5de2d4]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0xd
push 0x5991a0
mov ecx, str.not_specified
call fcn.004176a0
mov byte [0x5cacf9], 0
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4e0b90
cmp dword [esp + 0x38], 0
setne al
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0052450f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xac]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.0052450f
mov esp, ebp
pop ebp
ret