Function at 0x48ea90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov ebx, ecx
push esi
push edi
push 0x100
mov eax, dword [ebx + 0x84]
push dword [eax + 0x9c]
push dword [eax + 0x7c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x84]
mov dword [eax + 0x98], ecx
mov ecx, dword [ebx + 0x84]
push dword [ecx + 0xa0]
lea edx, [ecx + 0x98]
mov ecx, dword [ecx + 0x9c]
call fcn.004520b0
mov ecx, dword [ebx + 0x84]
add esp, 4
mov edx, dword [ecx + 0x98]
mov ecx, dword [ecx + 0x9c]
call fcn.00452370
mov eax, dword [ebx + 0x84]
mov ecx, dword [eax + 0x98]
mov eax, dword [eax + 0x9c]
test ecx, ecx
je 0x48eb30
mov edx, 0xff5c
mov esi, 0x7c
nop
cmp word [eax], dx
jne 0x48eb28
mov word [eax], si
add eax, 2
sub ecx, 1
jne 0x48eb20
mov eax, dword [ebx + 0x84]
push dword [eax + 0x9c]
push dword [eax + 0x7c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebx + 0x84]
cmp dword [esi + 0x98], 1
jbe 0x48eceb
cmp dword [ebp + 8], 0
mov esi, dword [esi + 0x78]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x24], esi
push 0
jne 0x48eb71
push 9
jmp 0x48eb73
push 0
push 0x110a
push esi
call edi
mov dword [esp + 0x10], eax
test eax, eax
jne 0x48eb91
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x34], eax
xorps xmm0, xmm0
lea eax, [esp + 0x30]
movlpd qword [esp + 0x38], xmm0
push eax
push 0
push 0x113e
push esi
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x40], 4
call edi
mov eax, dword [ebx + 0x60]
mov esi, dword [esp + 0x54]
mov dword [esp + 0x1c], esi
mov edx, dword [eax + 0x4d4]
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x20], edx
mov ecx, dword [eax + 0x98]
add ecx, ecx
or ecx, 0x10000
mov dword [esp + 0x18], ecx
test esi, esi
je 0x48eceb
mov eax, dword [eax + 0x9c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x48eceb
mov eax, ecx
and eax, 0xff0000
cmp eax, 0x10000
jne 0x48eceb
cmp cx, 0x200
ja 0x48eceb
lea esi, [edx + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x20]
push 0
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x28]
call fcn.004508b0
push esi
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x48ecae
push dword [esp + 0x10]
mov esi, dword [esp + 0x28]
push 2
push 0x1102
push esi
call edi
mov eax, dword [ebx + 0x88]
mov ecx, dword [eax + 0x74]
mov eax, dword [esp + 0x54]
mov eax, dword [eax + 4]
push dword [eax + ecx*4 + 0x50]
push 9
push 0x110b
push esi
call edi
mov eax, dword [ebx + 0x84]
push 0xffffffffffffffff
push 0
push 0xb1
push dword [eax + 0x7c]
call edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 2
jne 0x48eceb
mov ecx, dword [ebx + 0x6c]
lea edx, [esp + 0x2c]
push 0x13a
push edx
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebx + 0x6c]
lea edx, [esp + 0x28]
push 0x135
push edx
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebx + 0x64]
push 0
push dword [esp + 0x2c]
push dword [esp + 0x34]
push dword [eax + 0x54]
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4