Function at 0x48f618
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov edi, 0x4fb7f4
mov esi, 1
test ebx, ebx
je 0x48f6de
cmp dword [edi], 0
je 0x48f648
push 1
push 0x3c
push 0x4f961f
call fcn.004ca178
mov esi, eax
test esi, esi
je 0x48f6c2
push ebx
call fcn.004e8a54
test eax, eax
je 0x48f6c2
xor eax, eax
mov dword [0x4fb760], eax
mov dword [0x4fb764], 2
mov dword [0x4fb768], 1
mov dword [0x4fb76c], 1
mov dword [0x4fb770], 1
mov dword [0x4fb774], 1
mov edx, dword [0x4f29dc]
mov dword [0x4f9160], edx
mov ecx, dword [ebx]
mov dword [0x4f9170], ecx
mov eax, dword [0x51322c]
push eax
push 0x4f9625
push 0x51382c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.0048b968
cmp dword [edi], 0
je 0x48faba
push 0
push 0x3c
push 0x4f962b
call fcn.004ca178
jmp 0x48faba
cmp dword [0x4fb09c], 0
je 0x48f78c
cmp dword [edi], 0
je 0x48f700
push 1
push 0x3c
push 0x4f9631
call fcn.004ca178
mov esi, eax
test esi, esi
je 0x48f770
push 0
call fcn.0048ee90
xor eax, eax
mov dword [0x4fb760], eax
mov dword [0x4fb764], 2
mov dword [0x4fb768], 1
mov dword [0x4fb76c], 1
mov dword [0x4fb770], 1
mov dword [0x4fb774], 1
mov edx, dword [0x4f29dc]
mov dword [0x4f9160], edx
mov ecx, dword [0x51322c]
push ecx
push 0x4f9637
push 0x51382c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.0048b968
cmp dword [edi], 0
je 0x48faba
push 0
push 0x3c
push 0x4f963d
call fcn.004ca178
jmp 0x48faba
cmp dword [0x4fb0dc], 0
je 0x48f866
mov eax, dword [0x4fd9f8]
push eax
call fcn.004eae80
mov ebx, eax
test ebx, ebx
je 0x48f866
cmp byte [ebx + 0x4cc], 1
jne 0x48f866
cmp dword [edi], 0
je 0x48f7d0
push 1
push 0x3c
push 0x4f9643
call fcn.004ca178
mov esi, eax
test esi, esi
je 0x48f84a
push ebx
call fcn.004e8a54
test eax, eax
je 0x48f84a
xor eax, eax
mov dword [0x4fb760], eax
mov dword [0x4fb764], 2
mov dword [0x4fb768], 1
mov dword [0x4fb76c], 1
mov dword [0x4fb770], 1
mov dword [0x4fb774], 1
mov edx, dword [0x4f29d0]
mov dword [0x4f9160], edx
mov ecx, dword [ebx]
mov dword [0x4f9170], ecx
mov eax, dword [0x51322c]
push eax
push 0x4f9649
push 0x51382c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.0048b968
cmp dword [edi], 0
je 0x48faba
push 0
push 0x3c
push 0x4f964f
call fcn.004ca178
jmp 0x48faba
cmp dword [edi], 0
je 0x48f896
xor edx, edx
mov dword [0x4f5358], edx
push 1
push 0x29
push 0x4f9655
call fcn.004ca178
test eax, eax
jne 0x48f887
xor esi, esi
xor eax, eax
mov dword [0x4f5358], eax
test esi, esi
je 0x48faba
mov edx, dword [0x51322c]
push esi
push edi
mov esi, 0x51382c
mov edi, edx
xor eax, eax
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
xchg edi, esi
mov eax, edi
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x51382c
call fcn.004eae20
mov ebx, eax
test ebx, ebx
je 0x48f8dd
mov eax, dword [ebx]
mov dword [0x4f9170], eax
jmp 0x48f8fd
push 0
push 1
push 2
push 0x51382c
call fcn.004ee374
mov ebx, eax
mov dword [0x4f9170], ebx
test ebx, ebx
je 0x48faba
mov eax, dword [0x4f9170]
push eax
call fcn.004eae80
mov ebx, eax
test ebx, ebx
je 0x48f974
push ebx
call fcn.0048ef90
cmp byte [ebx + 0x4cc], 2
jne 0x48f974
cmp byte [ebx + 0x4cd], 1
jne 0x48f974
push 0x513c45
push 0xdca
call fcn.0041f178
push pe_nt_image_headers32
push 0x513c45
call fcn.00401318
pop ecx
add eax, 0x513c45
push eax
mov eax, dword [ebx]
push eax
call sub.USER32.dll_GetWindowTextA
push 0x40
push 0x513c45
call fcn.00401278
add esp, 8
test eax, eax
je 0x48f974
push 0
push 0x513c45
push ebx
call fcn.0049ab0c
cmp dword [0x4fb084], 0
je 0x48f9b9
push 0x51382c
mov edx, dword [0x51322c]
push edx
mov ecx, dword [0x4f9170]
push ecx
call fcn.0048b58c
mov eax, dword [0x51322c]
push eax
push 0x4f965b
push 0x51382c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 0
push 0x51382c
call fcn.004efb4c
cmp dword [0x4fb0a8], 0
je 0x48f9f8
cmp dword [0x4fb100], 1
jne 0x48f9d9
mov edx, dword [0x4fb0b4]
push edx
call fcn.0041f778
jmp 0x48f9f8
cmp dword [0x4fb100], 2
jne 0x48f9f8
push 1
push 0x513c45
push 0
push 0
call fcn.0045a910
push eax
call fcn.004d74c0
cmp dword [0x4fb0a0], 0
je 0x48fa07
push ebx
call fcn.0048f038
cmp dword [edi], 0
je 0x48fa29
xor ecx, ecx
mov dword [0x4f5358], ecx
push 0
push 0x29
push 0x4f9666
call fcn.004ca178
xor eax, eax
mov dword [0x4f5358], eax
cmp dword [edi], 0
je 0x48fa3e
push 1
push 0x3c
push 0x4f966c
call fcn.004ca178
mov esi, eax
test esi, esi
je 0x48faa7
xor eax, eax
mov dword [0x4fb760], eax
mov dword [0x4fb764], 2
mov dword [0x4fb768], 1
mov dword [0x4fb76c], 1
mov dword [0x4fb770], 1
mov dword [0x4fb774], 1
mov edx, dword [0x4f29dc]
mov dword [0x4f9160], edx
mov ecx, dword [0x51322c]
push ecx
push 0x4f9672
push 0x51382c
call sub.USER32.dll_wsprintfA
add esp, 0xc
push 3
call fcn.0048b968
cmp dword [edi], 0
je 0x48faba
push 0
push 0x3c
push 0x4f9678
call fcn.004ca178
pop edi
pop esi
pop ebx
pop ebp
ret 4