Function at 0x4a2480
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x54c84b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x5bc9cc]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5bc9cc]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov esi, dword [esp + 0x140]
lea ecx, [esp + 0x1c]
call sym.RtHDVCpl.exe_public:_void___thiscall_WCEventMessage::constructor_void_
mov dword [esp + 0x138], 0
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x144]
mov ebp, dword [esp + 0x14c]
mov dword [eax], esi
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x148]
mov dword [ecx + 4], ebx
mov edx, dword [esp + 0x1c]
mov dword [edx + 8], eax
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffeb
push esi
mov dword [ecx + 0xc], ebp
mov byte [esp + 0x1f], 1
call dword [sym.imp.USER32.dll_GetWindowLongA]
push str.EditBoxSubClassing
push esi
mov edi, eax
call dword [sym.imp.USER32.dll_GetPropA]
cmp ebx, 0x100
mov dword [esp + 0x28], eax
jb case.0x4a2563.8
cmp ebx, 0x101
jbe 0x4a2629
cmp ebx, 0x102
jne case.0x4a2563.8
mov cl, byte [esp + 0x148]
movsx eax, cl
add eax, 0xfffffff8
cmp eax, 0x13
ja case.0x4a2563.10
movzx edx, byte [eax + 0x4a26fc]
jmp dword [edx*4 + 0x4a26f0]
cmp dword [edi + 0x1c], 0
je 0x4a2599
push 1
lea eax, [esp + 0x1c]
mov byte [esp + 0x1c], cl
push eax
lea ecx, [edi + 8]
push ecx
xor eax, eax
call fcn.004a2710
cmp eax, 0xffffffff
jne 0x4a2599
cmp byte [esp + 0x148], 0x16
jne 0x4a265d
cmp dword [edi + 0x24], 0
mov byte [esp + 0x17], 0
jbe 0x4a265d
push 0xff
lea edx, [esp + 0x31]
push 0
push edx
mov byte [esp + 0x38], 0
call fcn.0052d8f0
mov ecx, dword [edi]
add esp, 0xc
push 0xff
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
jle 0x4a265d
lea eax, [esp + 0x2c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4a25e3
sub eax, edx
mov ebp, eax
xor eax, eax
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
push eax
push 0xb0
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
add ebp, 1
cmp ebp, dword [edi + 0x24]
jbe 0x4a265d
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x24]
jne 0x4a265d
mov byte [esp + 0x17], 1
jmp 0x4a265d
test edi, edi
je 0x4a2640
mov ecx, dword [edi + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
lea eax, [esp + 0x1c]
push eax
call edx
test al, al
jne case.0x4a2563.8
mov eax, dword [esp + 0x148]
push ebp
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov byte [esp + 0x17], 0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4a26a7
cmp byte [esp + 0x17], 0
jne 0x4a26a7
mov ecx, dword [esp + 0x14c]
mov edx, dword [esp + 0x148]
push ecx
push edx
push ebx
push esi
push eax
call dword [sym.imp.USER32.dll_CallWindowProcA]
mov esi, eax
mov dword [esp + 0x138], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a26a3
push eax
call fcn.0050364e
add esp, 4
mov eax, esi
jmp 0x4a26c5
mov dword [esp + 0x138], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4a26c3
push eax
call fcn.0050364e
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0052944d
add esp, 0x128
ret 0x10