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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x55b18c]
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, 0x5652f4
xchg dword [ecx], eax
mov eax, dword [0x565418]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x4a7f8d
push eax
call esi
push 0
push dword [0x5653b0]
push 0
push dword [0x5653b4]
push 0x140
push 0x258
push 0
push 0
push 0xca0000
push edi
push dword [0x565324]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
call edi
mov dword [0x565418], eax
test eax, eax
je 0x4a84c3
mov ecx, dword [0x565424]
test ecx, ecx
je 0x4a7fe0
push ecx
call esi
mov eax, dword [0x565418]
push 0
push dword [0x5653b0]
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 [0x565424], eax
test eax, eax
je 0x4a84c3
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 [0x565424]
call edi
push 0
push 0x10
push 0x466
push dword [0x565424]
call edi
push 0
push 0x20
push 0x466
push dword [0x565424]
call edi
push 0
push 0x30
push 0x466
push dword [0x565424]
call edi
mov esi, dword [0x565424]
push 0
push 0
push 0x115
push esi
call edi
push 0
push 6
push 0x114
push esi
call edi
mov esi, dword [0x565424]
lea eax, [esp + 0x58]
push 0x4c
push 0
push eax
mov dword [esp + 0x28], 0x546aa4
call fcn.004db730
add esp, 4
mov dword [esp + 0x58], 0x54
lea edx, [esp + 0x24]
mov dword [esp + 0x5c], 0x6c400000
lea ecx, [esp + 0x72]
call fcn.004bfed0
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 [0x565428]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x4a810f
push eax
call esi
push 0
push dword [0x5653b0]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x81
push dword [0x565418]
push 0x14
push 0x1d6
push 0xdc
push 0x64
push 0x50800000
push 0
push str.Edit
push 0
call edi
mov dword [0x565428], eax
mov eax, dword [0x56541c]
test eax, eax
je 0x4a8157
push eax
call esi
push 0
push dword [0x5653b0]
push 0x7f
push dword [0x565418]
push 0x14
push 0x32
push 0xfa
push 0x64
push 0x50000f00
push 0x539cac
push str.Button
push 0
call edi
mov dword [0x56541c], eax
mov eax, dword [0x565420]
test eax, eax
je 0x4a8196
push eax
call esi
push 0
push dword [0x5653b0]
push 0x80
push dword [0x565418]
push 0x14
push 0x32
push 0xfa
push 0xaa
push 0x50000f00
push 0x539cb0
push str.Button
push 0
call edi
mov edx, dword [esp + 0x14]
push 1
push 0
push 1
push 1
push ecx
mov ecx, dword [0x565424]
mov dword [0x565420], eax
call fcn.004a4e90
add esp, 0x14
mov eax, str.not_specified
cmp dword [0x55bcf8], 0x10
cmovae eax, dword [str.not_specified]
push eax
push dword [0x565428]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x565418]
lea ecx, [esp + 0x20]
push ecx
xorps xmm0, xmm0
mov dword [esp + 0x1c], 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 + 0x20], 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 + 0x2c]
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push dword [esp + 0x30]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [0x565418]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x565420]
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 0x4a84a7
mov edi, dword [sym.imp.USER32.dll_GetFocus]
nop word [eax + eax]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [esp + 0x34]
cmp eax, 0x100
jne 0x4a83f8
mov eax, dword [esp + 0x38]
cmp eax, 0x1b
jne 0x4a8334
xor eax, eax
mov ecx, 0x5652f4
xchg dword [ecx], eax
push 0xd
push 0x53841c
mov ecx, str.not_specified
call fcn.00415090
push 1
push dword [0x5653b4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [0x5653cc]
call esi
push dword [0x565418]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4a8483
cmp eax, 0xd
jne 0x4a83b6
call edi
cmp eax, dword [0x565420]
je 0x4a82f3
call edi
cmp eax, dword [0x56541c]
jne 0x4a8483
mov eax, 1
mov ecx, 0x5652f4
xchg dword [ecx], eax
push 0x400
push 0x5cbd00
push dword [0x565428]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
cmp byte [0x5cbd00], al
je 0x4a82fc
inc eax
cmp eax, 0x400
je 0x4a839a
cmp byte [eax + 0x5cbd00], 0
jne 0x4a8381
test eax, eax
je 0x4a82fc
mov ecx, 0x5cbd00
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4a83a2
sub ecx, edx
push ecx
push 0x5cbd00
jmp 0x4a8303
cmp eax, 0x25
jne 0x4a83d4
call edi
mov ecx, dword [0x56541c]
cmp eax, ecx
jne 0x4a83e4
push dword [0x565420]
call esi
jmp 0x4a8483
cmp eax, 9
je 0x4a83bb
cmp eax, 0x27
jne 0x4a8483
jmp 0x4a83bb
cmp eax, dword [0x565420]
jne 0x4a8483
push ecx
call esi
jmp 0x4a8483
cmp eax, 0x201
jne 0x4a8483
cmp byte [0x55bc79], 0
je 0x4a8483
movsx eax, word [esp + 0x3c]
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
shr eax, 0x10
cwde
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
push dword [0x565428]
movaps xmmword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jl 0x4a8483
cmp eax, dword [esp + 0x28]
jg 0x4a8483
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jl 0x4a8483
cmp eax, dword [esp + 0x2c]
jg 0x4a8483
push 0x532bd2
push dword [0x565428]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0xd
push 0x53841c
mov ecx, str.not_specified
call fcn.00415090
mov byte [0x55bc79], 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 0x4a82d0
cmp dword [esp + 0x38], 0
setne al
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004d20a0
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xac]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004d20a0
mov esp, ebp
pop ebp
ret