Function at 0x48e330
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffcec
mov dword [esp + 4], edx
mov dword [esp], eax
mov byte [esp + 8], 0
cmp dword [esp], 0
jne 0x48e4dc
mov edx, dword [0x4be538]
lea eax, [esp + 0x10]
call fcn.004b81b0
mov edx, dword [0x4be784]
lea eax, [esp + 0x110]
call fcn.004b81b0
mov edx, dword [0x4bec94]
mov eax, dword [0x4be538]
call fcn.004b81b0
mov edx, dword [0x4bec94]
lea eax, [esp + 0x210]
call fcn.004b81b0
mov eax, dword [0x4bec94]
cmp byte [eax], 0
jne 0x48e415
push 0xff
mov eax, dword [0x4bedb0]
push eax
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_GetWindowTextA
mov eax, dword [0x4bedb0]
mov dl, 0x22
call fcn.004b8284
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
xor edx, edx
call fcn.004aca84
test al, al
je 0x48e3fb
mov eax, dword [0x4bedb0]
cmp byte [eax], 0
je 0x48e3fb
push 0x48e5c8
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll_lstrcatA
mov edx, dword [0x4bedb0]
mov eax, dword [0x4be538]
call fcn.004b81b0
mov eax, dword [0x4be538]
call fcn.004b1c50
mov edx, dword [0x4bedb0]
mov eax, dword [0x4be538]
call fcn.004b81b0
mov al, 1
call fcn.00421294
mov ebx, eax
test bl, bl
je 0x48e4a0
push 0x48e5d0
mov eax, dword [0x4be538]
call fcn.004aecd8
push eax
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x48e44b
push 0x48e5c8
mov eax, dword [0x4be538]
push eax
call sub.kernel32.dll_lstrcatA
mov edx, dword [0x4be538]
mov eax, dword [0x4bec94]
call fcn.004b81b0
lea eax, [esp + 0x210]
push eax
mov eax, dword [0x4bec94]
push eax
call sub.kernel32.dll_lstrcmpiA
test eax, eax
je 0x48e490
mov eax, dword [0x4be538]
call fcn.004b1914
test al, al
je 0x48e490
mov eax, dword [0x4be538]
xor edx, edx
call fcn.004b0584
test al, al
je 0x48e415
mov edx, dword [0x4be538]
mov eax, dword [0x4bedb0]
call fcn.004b81b0
lea edx, [esp + 0x10]
mov eax, dword [0x4be538]
call fcn.004b81b0
lea edx, [esp + 0x110]
mov eax, dword [0x4be784]
call fcn.004b81b0
push 0
push 0
push 0xb1
mov eax, dword [esp + 0x10]
push eax
call sub.user32.dll_SendMessageA
test bl, bl
je 0x48e5b6
jmp 0x48e4e9
mov eax, dword [0x4bedb0]
mov edx, dword [esp]
call fcn.004b81b0
push 0
mov eax, dword [0x4bedb0]
push eax
call sub.kernel32.dll__lcreat
mov edi, eax
cmp edi, 0xffffffff
jne 0x48e511
mov edx, dword [0x4bedb0]
mov ax, 1
call fcn.004acdac
jmp 0x48e5b6
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
push 4
push 0x1000
lea ebp, [ebx + 1]
push ebp
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
test esi, esi
jne 0x48e55c
mov dword [esp + 0x310], ebp
fild dword [esp + 0x310]
add esp, 0xfffffff8
fistp qword [esp]
wait
call fcn.004b1e30
mov edx, eax
mov ax, 0xb
call fcn.004acdac
jmp 0x48e5b6
push ebp
push esi
mov eax, dword [esp + 0xc]
push eax
call sub.user32.dll_GetWindowTextA
push ebx
push esi
push edi
call sub.kernel32.dll__hwrite
mov edx, dword [0x4be6b0]
mov dword [edx], eax
push edi
call sub.kernel32.dll_CloseHandle_1
cmp dword [esp], 0
jne 0x48e58b
mov byte [0x4c24d2], 1
push 0x4000
push ebp
push esi
call sub.kernel32.dll_VirtualFree_1
mov eax, dword [0x4be6b0]
cmp ebx, dword [eax]
jle 0x48e5b1
mov edx, dword [0x4bec94]
mov ax, 3
call fcn.004acdac
jmp 0x48e5b6
mov byte [esp + 8], 1
mov al, byte [esp + 8]
add esp, 0x314
pop ebp
pop edi
pop esi
pop ebx
ret