Function at 0x48dbcc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x12c], ecx
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00404a60
xor eax, eax
push ebp
push 0x48df06
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
push 0
mov eax, edi
call fcn.0044b6b8
push eax
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
je 0x48dead
push pe_nt_image_headers32
lea eax, [ebp - 0x120]
push eax
push ebx
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x120]
mov ecx, pe_nt_image_headers32
call fcn.00404820
mov eax, dword [ebp - 0x124]
mov edx, 0x48df20
call fcn.004049bc
jne 0x48de9b
lea edx, [ebp - 0x128]
mov eax, edi
call fcn.0048da84
mov eax, dword [ebp - 0x128]
call fcn.00409168
sub eax, 7
je 0x48dce2
dec eax
jne 0x48dd06
push 0
push 0x48df28
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x48dcbb
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
jmp 0x48dea5
push 0
push 0x48df34
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
jne 0x48dd08
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
jmp 0x48dea5
push 0
push 0x48df34
push 0
push ebx
call sub.user32.dll_FindWindowExA
mov esi, eax
test esi, esi
jne 0x48dd08
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
jmp 0x48dea5
mov esi, ebx
lea eax, [ebp - 0x120]
mov edx, pe_nt_image_headers32
call fcn.00407700
push pe_nt_image_headers32
lea eax, [ebp - 0x120]
push eax
push esi
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x1c]
lea edx, [ebp - 0x120]
mov ecx, pe_nt_image_headers32
call fcn.00404820
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00404bb4
test eax, eax
jle 0x48de9b
push 0
push 0x48df44
push 0
push esi
call sub.user32.dll_FindWindowExA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48de9b
push 0
push 0x48df5c
push 0
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_FindWindowExA
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48de9b
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x18]
call fcn.0048d8d8
cmp dword [ebp - 0x14], 0
je 0x48de9b
lea eax, [ebp - 0x12c]
call fcn.004061c8
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x48]
call fcn.004062d8
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x10]
mov ecx, 0x48df78
call fcn.0040620c
cmp dword [ebp - 0x10], 0
je 0x48de9b
lea eax, [ebp - 0x130]
call fcn.00404c90
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [eax]
call dword [eax + 0x78]
call fcn.004062d8
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0x20]
call fcn.00404838
mov edx, dword [ebp - 0x20]
mov eax, 0x48df90
call fcn.00404bb4
test eax, eax
jg 0x48de21
mov edx, dword [ebp - 0x20]
mov eax, 0x48dfa4
call fcn.00404bb4
test eax, eax
jle 0x48de71
mov byte [0x499e58], 1
mov eax, 0x499e54
mov edx, dword [ebp - 0x10]
call fcn.004061e0
mov eax, 0x499e50
mov edx, dword [ebp - 0x14]
call fcn.004061e0
push 0x499e68
mov eax, dword [ebp - 0x18]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov edx, dword [ebp - 0x20]
mov eax, 0x48dfa4
call fcn.00404bb4
test eax, eax
jle 0x48de6a
mov byte [0x499e85], 1
jmp 0x48de71
mov byte [0x499e85], 0
cmp byte [0x499e58], 0
je 0x48de80
mov byte [ebp - 5], 1
jmp 0x48dead
push 0x10
push 0x48dfb8
push 0x48dfc4
mov eax, edi
call fcn.0044b6b8
push eax
call sub.user32.dll_MessageBoxA_1
jmp 0x48dead
push 2
push ebx
call sub.user32.dll_GetWindow
mov ebx, eax
test ebx, ebx
jne 0x48dc36
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48df0d
lea eax, [ebp - 0x130]
call fcn.00404c90
lea eax, [ebp - 0x12c]
call fcn.004061c8
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.004045d4
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004045d4
lea eax, [ebp - 0x14]
call fcn.004061c8
lea eax, [ebp - 0x10]
call fcn.004061c8
lea eax, [ebp - 4]
call fcn.004045b0
ret