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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x4e0138]
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, 0x4e3504
xchg dword [ecx], eax
mov eax, dword [0x4e3490]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x462f8d
push eax
call esi
push 0
push dword [0x4e3430]
push 0
push dword [0x4e3434]
push 0x140
push 0x258
push 0
push 0
push 0xca0000
push edi
push dword [0x4e3530]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
call edi
mov dword [0x4e3490], eax
test eax, eax
je 0x4634b9
mov ecx, dword [0x4e349c]
test ecx, ecx
je 0x462fe0
push ecx
call esi
mov eax, dword [0x4e3490]
push 0
push dword [0x4e3430]
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 [0x4e349c], eax
test eax, eax
je 0x4634b9
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 [0x4e349c]
call edi
push 0
push 0x10
push 0x466
push dword [0x4e349c]
call edi
push 0
push 0x20
push 0x466
push dword [0x4e349c]
call edi
push 0
push 0x30
push 0x466
push dword [0x4e349c]
call edi
mov esi, dword [0x4e349c]
push 0
push 0
push 0x115
push esi
call edi
push 0
push 6
push 0x114
push esi
call edi
mov esi, dword [0x4e349c]
lea eax, [esp + 0x58]
push 0x4c
push 0
push eax
mov dword [esp + 0x28], 0x4d0c84
call fcn.0048f850
add esp, 4
mov dword [esp + 0x58], 0x54
lea edx, [esp + 0x24]
mov dword [esp + 0x5c], 0x6c400000
lea ecx, [esp + 0x72]
call fcn.00474ed0
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 [0x4e34a0]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x46310f
push eax
call esi
push 0
push dword [0x4e3430]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x81
push dword [0x4e3490]
push 0x14
push 0x1d6
push 0xdc
push 0x64
push 0x50800000
push 0
push str.Edit
push 0
call edi
mov dword [0x4e34a0], eax
mov eax, dword [0x4e3494]
test eax, eax
je 0x463157
push eax
call esi
push 0
push dword [0x4e3430]
push 0x7f
push dword [0x4e3490]
push 0x14
push 0x32
push 0xfa
push 0x64
push 0x50000f00
push 0x4c8c8c
push str.Button
push 0
call edi
mov dword [0x4e3494], eax
mov eax, dword [0x4e3498]
test eax, eax
je 0x463196
push eax
call esi
push 0
push dword [0x4e3430]
push 0x80
push dword [0x4e3490]
push 0x14
push 0x32
push 0xfa
push 0xaa
push 0x50000f00
push 0x4c8c90
push str.Button
push 0
call edi
mov edx, dword [esp + 0x14]
push 1
push 1
push ecx
mov ecx, dword [0x4e349c]
mov dword [0x4e3498], eax
call fcn.004600e0
add esp, 0xc
mov eax, str.not_specified
cmp dword [0x4e0c58], 0x10
cmovae eax, dword [str.not_specified]
push eax
push dword [0x4e34a0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x4e3490]
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 [0x4e3490]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x4e3498]
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 0x46349d
mov edi, dword [sym.imp.USER32.dll_GetFocus]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
mov eax, dword [esp + 0x34]
cmp eax, 0x100
jne 0x4633ea
mov eax, dword [esp + 0x38]
cmp eax, 0x1b
jne 0x463326
xor eax, eax
mov ecx, 0x4e3504
xchg dword [ecx], eax
push 0xd
push 0x4c810c
mov ecx, str.not_specified
call fcn.00411270
push 1
push dword [0x4e3434]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [0x4e3448]
call esi
push dword [0x4e3490]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x463479
cmp eax, 0xd
jne 0x4633a8
call edi
cmp eax, dword [0x4e3498]
je 0x4632e5
call edi
cmp eax, dword [0x4e3494]
jne 0x463479
mov eax, 1
mov ecx, 0x4e3504
xchg dword [ecx], eax
push 0x400
push 0x549898
push dword [0x4e34a0]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
cmp byte [0x549898], al
je 0x4632ee
inc eax
cmp eax, 0x400
je 0x46338c
cmp byte [eax + 0x549898], 0
jne 0x463373
test eax, eax
je 0x4632ee
mov ecx, 0x549898
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x463394
sub ecx, edx
push ecx
push 0x549898
jmp 0x4632f5
cmp eax, 0x25
jne 0x4633c6
call edi
mov ecx, dword [0x4e3494]
cmp eax, ecx
jne 0x4633d6
push dword [0x4e3498]
call esi
jmp 0x463479
cmp eax, 9
je 0x4633ad
cmp eax, 0x27
jne 0x463479
jmp 0x4633ad
cmp eax, dword [0x4e3498]
jne 0x463479
push ecx
call esi
jmp 0x463479
cmp eax, 0x201
jne 0x463479
cmp byte [0x4e0c3c], 0
je 0x463479
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 [0x4e34a0]
movaps xmmword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jl 0x463479
cmp eax, dword [esp + 0x28]
jg 0x463479
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jl 0x463479
cmp eax, dword [esp + 0x2c]
jg 0x463479
push 0x4c663e
push dword [0x4e34a0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0xd
push 0x4c810c
mov ecx, str.not_specified
call fcn.00411270
mov byte [0x4e0c3c], 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 0x4632c2
cmp dword [esp + 0x38], 0
setne al
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.0048824f
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xac]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.0048824f
mov esp, ebp
pop ebp
ret