Function at 0x513748
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
mov edi, dword [0x586404]
xor eax, eax
push ebp
push 0x513a37
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040c448
mov eax, dword [edi]
fstp qword [eax + 0x388]
wait
mov edx, 0x20e
mov eax, 0xa4
call fcn.00513700
push 0x3e8
call sub.kernel32.dll_Sleep_2
mov edx, 0xaa
mov eax, 0x117
call fcn.00513700
push 0x1f4
call sub.kernel32.dll_Sleep_2
mov edx, 0xaa
mov eax, 0x117
call fcn.00513700
push 0x1f4
call sub.kernel32.dll_Sleep_2
call fcn.0040339c
mov eax, 3
call fcn.004033c4
test eax, eax
jne 0x5137ed
mov edx, 0xa6
mov eax, 0x26b
call fcn.00513700
push 0x3e8
call sub.kernel32.dll_Sleep_2
call fcn.0040c448
mov eax, dword [edi]
fstp qword [eax + 0x388]
wait
call fcn.0040339c
mov eax, 6
call fcn.004033c4
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x51382e
inc ebx
mov edx, 0xdc
mov eax, 0x2cd
call fcn.00513700
push 0x1f4
call sub.kernel32.dll_Sleep_2
dec ebx
jne 0x513812
call fcn.0040c448
mov eax, dword [edi]
fstp qword [eax + 0x388]
wait
call fcn.0040339c
mov eax, 0xf
call fcn.004033c4
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x51386f
inc ebx
mov edx, 0x101
mov eax, 0x2cd
call fcn.00513700
push 0x1f4
call sub.kernel32.dll_Sleep_2
dec ebx
jne 0x513853
call fcn.0040c448
mov eax, dword [edi]
fstp qword [eax + 0x388]
wait
call fcn.0040339c
mov eax, 5
call fcn.004033c4
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5138b0
inc ebx
mov edx, 0x123
mov eax, 0x2cd
call fcn.00513700
push 0x1f4
call sub.kernel32.dll_Sleep_2
dec ebx
jne 0x513894
call fcn.0040c448
mov eax, dword [edi]
fstp qword [eax + 0x388]
wait
call fcn.0040339c
mov eax, 5
call fcn.004033c4
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5138f1
inc ebx
mov edx, 0x145
mov eax, 0x2cd
call fcn.00513700
push 0x1f4
call sub.kernel32.dll_Sleep_2
dec ebx
jne 0x5138d5
call fcn.0040c448
mov eax, dword [edi]
fstp qword [eax + 0x388]
wait
call fcn.0040339c
mov eax, 5
call fcn.004033c4
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x513932
inc ebx
mov edx, 0x170
mov eax, 0x2cd
call fcn.00513700
push 0x1f4
call sub.kernel32.dll_Sleep_2
dec ebx
jne 0x513916
call fcn.0040c448
mov eax, dword [edi]
fstp qword [eax + 0x388]
wait
mov edx, 0x513a50
mov eax, esi
call fcn.0051f280
lea eax, [ebp - 4]
call fcn.005136cc
mov edx, 0x513a68
mov eax, esi
call fcn.0051f280
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00513344
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, 0x513a84
call fcn.004054c0
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0051f280
mov eax, dword [ebp - 4]
call fcn.005132d4
push 0x1f4
call sub.kernel32.dll_Sleep_2
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_SendMessageA
push 0x14
call sub.kernel32.dll_Sleep_2
push 0
push 0xd
push 0x101
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_SendMessageA
push 0x12c
call sub.kernel32.dll_Sleep_2
push 0
push 0xd
push pe_nt_image_headers32
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_SendMessageA
push 0x14
call sub.kernel32.dll_Sleep_2
push 0
push 0xd
push 0x101
mov eax, dword [edi]
mov eax, dword [eax + 0x1c]
push eax
call sub.user32.dll_SendMessageA
push 0x1f4
call sub.kernel32.dll_Sleep_2
push 0x4b0
call sub.kernel32.dll_Sleep_2
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00513344
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x513a3e
lea eax, [ebp - 8]
mov edx, 2
call fcn.004051cc
ret