Function at 0x48bea8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffad0
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov eax, 0x5974a0
call fcn.004d08c0
push esi
mov esi, 0x5972a0
lea edi, [ebp - 0x130]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
pop esi
push esi
mov esi, 0x5973a0
lea edi, [ebp - 0x230]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
pop esi
xor eax, eax
mov dword [ebp - 0x30], eax
push 0x59729c
call fcn.00401b2c
inc dword [0x519340]
pop ecx
mov word [ebp - 0x14], 8
mov dl, byte [0x5963e8]
test dl, dl
jne 0x48bf20
mov ecx, dword [0x519334]
test ecx, ecx
je 0x48c2f7
mov al, byte [0x597290]
cmp al, 1
je 0x48c2f7
inc dword [0x597298]
mov edx, dword [0x597294]
test edx, edx
jne 0x48bf47
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [0x597294], eax
mov dword [ebp - 0x28], 0xffffffff
lea ecx, [ebp - 0x28]
push ecx
push ebx
call sub.USER32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x48bfd7
mov edx, dword [ebp - 0x28]
mov ecx, dword [0x597294]
cmp edx, ecx
jne 0x48bfd7
inc dword [0x5963e4]
mov eax, dword [0x5963e0]
cmp ebx, eax
je 0x48c2f7
mov edx, dword [0x5963cc]
cmp ebx, edx
je 0x48c2f7
mov ecx, dword [0x5963d0]
cmp ebx, ecx
je 0x48c2f7
mov eax, dword [0x5963d4]
cmp ebx, eax
je 0x48c2f7
mov edx, dword [0x5963d8]
cmp ebx, edx
je 0x48c2f7
mov ecx, dword [0x5963dc]
cmp ebx, ecx
je 0x48c2f7
test byte [0x516434], 0x20
je 0x48c2f7
jmp 0x48c2f7
cmp esi, 1
jne 0x48c06b
test byte [ebp + 0xc], 4
je 0x48c039
mov eax, dword [0x5963cc]
cmp ebx, eax
je 0x48c016
mov edx, dword [0x5963d0]
cmp ebx, edx
je 0x48c016
mov ecx, dword [0x5963d4]
cmp ebx, ecx
je 0x48c016
mov eax, dword [0x5963d8]
cmp ebx, eax
je 0x48c016
mov edx, dword [0x5963dc]
cmp ebx, edx
jne 0x48c039
mov ecx, dword [0x5963e0]
cmp ebx, ecx
je 0x48c2f7
push ebx
push 0x5dae94
push 0x20
call fcn.0045174c
add esp, 0xc
jmp 0x48c2f7
mov eax, dword [0x5963d8]
mov dword [0x5963dc], eax
mov edx, dword [0x5963d4]
mov dword [0x5963d8], edx
mov ecx, dword [0x5963d0]
mov dword [0x5963d4], ecx
mov eax, dword [0x5963cc]
mov dword [0x5963d0], eax
mov dword [0x5963cc], ebx
push pe_nt_image_headers32
lea edx, [ebp - 0x130]
push edx
push ebx
call sub.USER32.dll_GetWindowTextA
test eax, eax
jg 0x48c09f
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x130]
push ecx
push 0x32
push 2
push eax
push pe_nt_image_headers32
push 0xd
push ebx
call sub.USER32.dll_SendMessageTimeoutA
test eax, eax
push pe_nt_image_headers32
lea edx, [ebp - 0x230]
push edx
push ebx
call sub.USER32.dll_GetClassNameA
lea ecx, [ebp - 0x130]
push ecx
push ebx
call fcn.004c96e8
add esp, 8
test eax, eax
je 0x48c12e
mov byte [ebp - 0xed], 0x2e
mov byte [ebp - 0xec], 0x2e
mov byte [ebp - 0xeb], 0
lea eax, [ebp - 0x130]
lea edx, [ebp - 0x230]
push eax
push edx
push ebx
lea ecx, [ebp - 0x530]
inc dword [0x519350]
push 0x5daea2
push ecx
call fcn.004d26c8
add esp, 0x14
test byte [0x516434], 0x20
je 0x48c2f7
lea eax, [ebp - 0x530]
push eax
push 0x5daeb2
push 0x516438
call fcn.00451598
add esp, 0xc
jmp 0x48c2f7
dec esi
jne 0x48c1d8
mov dl, byte [0x518c2c]
test dl, dl
je 0x48c1d8
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x130]
push ecx
push eax
mov edx, dword [ebp + 0xc]
push edx
push ebx
call fcn.0048b910
add esp, 0x10
test eax, eax
je 0x48c1d8
inc dword [0x519348]
test byte [0x516434], 0x20
je 0x48c2f7
mov byte [ebp - 0xed], 0x2e
mov byte [ebp - 0xec], 0x2e
mov byte [ebp - 0xeb], 0
lea ecx, [ebp - 0x130]
push ecx
lea eax, [ebp - 0x230]
push eax
push ebx
push 0x5daec4
lea edx, [ebp - 0x530]
push edx
call fcn.004d26c8
add esp, 0x14
test byte [0x516434], 0x20
je 0x48c2f7
lea ecx, [ebp - 0x530]
push ecx
push 0x5daed4
push 0x516438
call fcn.00451598
add esp, 0xc
jmp 0x48c2f7
lea eax, [ebp - 0x230]
push eax
lea edx, [ebp - 0x130]
push edx
mov ecx, dword [0x5963c0]
push ecx
call fcn.004846b0
add esp, 0xc
test eax, eax
jne 0x48c21a
lea eax, [ebp - 0x230]
push eax
lea edx, [ebp - 0x130]
push edx
mov ecx, dword [0x5963c4]
push ecx
call fcn.004846b0
add esp, 0xc
test eax, eax
je 0x48c294
test byte [0x516434], 0x20
je 0x48c27d
mov byte [ebp - 0xed], 0x2e
mov byte [ebp - 0xec], 0x2e
mov byte [ebp - 0xeb], 0
lea eax, [ebp - 0x130]
push eax
lea edx, [ebp - 0x230]
push edx
push ebx
push 0x5daee6
lea ecx, [ebp - 0x530]
push ecx
call fcn.004d26c8
add esp, 0x14
test byte [0x516434], 0x20
je 0x48c27d
lea eax, [ebp - 0x530]
push eax
push 0x5daef6
push 0x516438
call fcn.00451598
add esp, 0xc
push ebx
call fcn.0048bb60
pop ecx
push ebx
push 0x48be50
call fcn.00401bdc
add esp, 8
jmp 0x48c2f7
test byte [0x516434], 0x20
je 0x48c2f7
mov byte [ebp - 0xed], 0x2e
mov byte [ebp - 0xec], 0x2e
mov byte [ebp - 0xeb], 0
lea edx, [ebp - 0x130]
push edx
lea ecx, [ebp - 0x230]
push ecx
push ebx
push 0x5daf06
lea eax, [ebp - 0x530]
push eax
call fcn.004d26c8
add esp, 0x14
test byte [0x516434], 0x20
je 0x48c2f7
lea edx, [ebp - 0x530]
push edx
push 0x5daf16
push 0x516438
call fcn.00451598
add esp, 0xc
mov dword [0x5963e0], ebx
push 0x59729c
dec dword [0x597298]
call fcn.00401b40
pop ecx
mov eax, 1
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x48c359
mov esp, ebp
mov edi, dword [ebp - 0x53c]
mov esi, dword [ebp - 0x538]
mov ebx, dword [ebp - 0x534]
pop ebp
ret