Function at 0x4601a9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [0x478b78]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
push ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x320], esi
mov dword [ebp - 0x328], esi
call dword [sym.imp.USER32.dll_GetParent]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call esi
push 4
push ebx
mov dword [ebp - 0x330], eax
call esi
mov ebx, eax
mov eax, dword [ebp - 0x330]
test eax, eax
je 0x4603f2
test ebx, ebx
je 0x4603f2
and dword [ebp - 0x324], 0
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call esi
mov dword [ebp - 0x338], eax
cmp dword [eax], 0
je 0x460253
push 0x105
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x334]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x460268
add eax, 4
push eax
push 0x106
lea eax, [ebp - 0x10c]
push eax
call fcn.00442b42
push 0x105
lea eax, [ebp - 0x318]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x10c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
call esi
mov esi, dword [eax + 0x28e]
test esi, esi
je 0x4602a2
cmp dword [esi], 0
je 0x4602a2
mov eax, dword [esi + 8]
mov dword [ebp - 0x328], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [sym.imp.ole32.dll_GetRunningObjectTable]
xor ecx, ecx
cmp dword [edi + 8], ecx
je 0x4602f7
lea eax, [ebp - 0x31c]
push eax
push ecx
call ebx
mov ecx, dword [ebp - 0x31c]
test ecx, ecx
je 0x4602df
push dword [edi + 0xc]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x10]
mov eax, dword [ebp - 0x31c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor ecx, ecx
mov dword [ebp - 0x320], 1
mov dword [edi + 8], ecx
mov eax, dword [ebp - 0x338]
mov dword [edi + 0xc], ecx
cmp dword [eax], ecx
jne 0x4603e5
cmp dword [ebp - 0x328], 0
je 0x4603e5
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x318]
push eax
call dword [sym.imp.ole32.dll_CreateFileMoniker]
cmp dword [ebp - 0x32c], 0
je 0x4603db
lea eax, [ebp - 0x31c]
push eax
push 0
call ebx
mov ecx, dword [ebp - 0x31c]
test ecx, ecx
je 0x4603e5
mov eax, dword [ecx]
lea edx, [ebp - 0x33c]
push edx
push dword [ebp - 0x32c]
mov edx, dword [ebp - 0x328]
push dword [edx + 0x14]
push 1
push ecx
call dword [eax + 0xc]
mov eax, dword [ebp - 0x31c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x32c]
and dword [ebp - 0x324], 0
cmp dword [ebp - 0x320], 0
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x33c]
mov dword [edi + 0xc], eax
je 0x4603cc
xor ebx, ebx
cmp dword [esi], ebx
jle 0x4603cc
lea eax, [esi + 8]
mov dword [ebp - 0x320], eax
mov ecx, dword [eax]
test ecx, ecx
je 0x4603be
push 2
push ecx
call fcn.00460d58
mov eax, dword [ebp - 0x320]
inc ebx
add eax, 4
mov dword [ebp - 0x320], eax
cmp ebx, dword [esi]
jl 0x4603aa
cmp dword [edi + 0x10], 0
jne 0x4603e5
mov dword [edi + 0x10], 2
jmp 0x4603e5
mov dword [ebp - 0x324], 1
mov eax, dword [ebp - 0x330]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x324]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.00475d95
mov esp, ebp
pop ebp
ret 8