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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x58b18c]
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, 0x598b48
xchg dword [ecx], eax
mov eax, dword [0x598c7c]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x4b83ed
push eax
call esi
push 0
push dword [0x598c00]
push 0
push dword [0x598c04]
push 0x140
push 0x258
push 0
push 0
push 0xcf0000
push edi
push dword [0x598b78]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x300
call edi
mov dword [0x598c7c], eax
test eax, eax
je 0x4b8923
mov ecx, dword [0x598c88]
test ecx, ecx
je 0x4b8443
push ecx
call esi
mov eax, dword [0x598c7c]
push 0
push dword [0x598c00]
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 [0x598c88], eax
test eax, eax
je 0x4b8923
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 [0x598c88]
call edi
push 0
push 0x10
push 0x466
push dword [0x598c88]
call edi
push 0
push 0x20
push 0x466
push dword [0x598c88]
call edi
push 0
push 0x30
push 0x466
push dword [0x598c88]
call edi
mov esi, dword [0x598c88]
push 0
push 0
push 0x115
push esi
call edi
push 0
push 6
push 0x114
push esi
call edi
mov esi, dword [0x598c88]
lea eax, [esp + 0x58]
push 0x4c
push 0
push eax
mov dword [esp + 0x28], 0x56f8d8
call fcn.00500b60
add esp, 4
mov dword [esp + 0x58], 0x54
lea edx, [esp + 0x24]
mov dword [esp + 0x5c], 0x6c400000
lea ecx, [esp + 0x72]
call fcn.004e0850
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 [0x598c8c]
mov esi, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x4b8572
push eax
call esi
push 0
push dword [0x598c00]
mov edi, dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x81
push dword [0x598c7c]
push 0x14
push 0x1d6
push 0xdc
push 0x64
push 0x50800000
push 0
push str.Edit
push 0
call edi
mov dword [0x598c8c], eax
mov eax, dword [0x598c80]
test eax, eax
je 0x4b85ba
push eax
call esi
push 0
push dword [0x598c00]
push 0x7f
push dword [0x598c7c]
push 0x14
push 0x32
push 0xfa
push 0x64
push 0x50000f00
push 0x561d5c
push str.Button
push 0
call edi
mov dword [0x598c80], eax
mov eax, dword [0x598c84]
test eax, eax
je 0x4b85f9
push eax
call esi
push 0
push dword [0x598c00]
push 0x80
push dword [0x598c7c]
push 0x14
push 0x32
push 0xfa
push 0xaa
push 0x50000f00
push 0x561d60
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 [0x598c88]
mov dword [0x598c84], eax
call fcn.004b4380
add esp, 0x14
mov eax, str.not_specified
cmp dword [0x58f22c], 0x10
cmovae eax, dword [str.not_specified]
push eax
push dword [0x598c8c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x598c7c]
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 [0x598c7c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x598c84]
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 0x4b8907
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 0x4b8858
mov eax, dword [esp + 0x38]
cmp eax, 0x1b
jne 0x4b8794
xor eax, eax
mov ecx, 0x598b48
xchg dword [ecx], eax
push 0xd
push 0x560404
mov ecx, str.not_specified
call fcn.00415ea0
push 1
push dword [0x598c04]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [0x598c04]
call esi
push dword [0x598c7c]
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x4b88e3
cmp eax, 0xd
jne 0x4b8816
call edi
cmp eax, dword [0x598c84]
je 0x4b8753
call edi
cmp eax, dword [0x598c80]
jne 0x4b88e3
mov eax, 1
mov ecx, 0x598b48
xchg dword [ecx], eax
push 0x400
push 0x94ffc8
push dword [0x598c8c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
xor eax, eax
cmp byte [0x94ffc8], al
je 0x4b875c
inc eax
cmp eax, 0x400
je 0x4b87fa
cmp byte [eax + 0x94ffc8], 0
jne 0x4b87e1
test eax, eax
je 0x4b875c
mov ecx, 0x94ffc8
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b8802
sub ecx, edx
push ecx
push 0x94ffc8
jmp 0x4b8763
cmp eax, 0x25
jne 0x4b8834
call edi
mov ecx, dword [0x598c80]
cmp eax, ecx
jne 0x4b8844
push dword [0x598c84]
call esi
jmp 0x4b88e3
cmp eax, 9
je 0x4b881b
cmp eax, 0x27
jne 0x4b88e3
jmp 0x4b881b
cmp eax, dword [0x598c84]
jne 0x4b88e3
push ecx
call esi
jmp 0x4b88e3
cmp eax, 0x201
jne 0x4b88e3
cmp byte [0x58bc7b], 0
je 0x4b88e3
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 [0x598c8c]
movaps xmmword [esp + 0x28], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jl 0x4b88e3
cmp eax, dword [esp + 0x28]
jg 0x4b88e3
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jl 0x4b88e3
cmp eax, dword [esp + 0x2c]
jg 0x4b88e3
push 0x55ac52
push dword [0x598c8c]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0xd
push 0x560404
mov ecx, str.not_specified
call fcn.00415ea0
mov byte [0x58bc7b], 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 0x4b8730
cmp dword [esp + 0x38], 0
setne al
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004f7466
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xac]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004f7466
mov esp, ebp
pop ebp
ret