Function at 0x10009230
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x598
push ebx
push esi
push edi
push eax
xor eax, eax
xor eax, eax
je 0x1000924a
sub dword [edx], ebp
sub ebx, dword [eax - 0x3a]
test dword [esp + edi*8 - 1], edi
inc dword [eax]
pop eax
mov byte [ebp - 0x384], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x383]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0
push 0
push 0x100
lea eax, [ebp - 0x384]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
push eax
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte [ebp - 0x180], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x17f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x584], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x583]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x100], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x280], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x27f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp + 0x10], 0
je 0x100093fa
mov eax, dword [0x10015c08]
cmp eax, dword [ebp + 0xc]
jle 0x100093fa
mov ecx, dword [ebp + 0xc]
mov dword [0x10015c08], ecx
lea edx, [ebp - 0x594]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [ebp - 0x588]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x58a]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x58c]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x58e]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x592]
and ecx, 0xffff
push ecx
mov edx, dword [ebp - 0x594]
and edx, 0xffff
push edx
push 0x100143cb
lea eax, [ebp - 0x180]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x20
mov dword [ebp - 0x598], 0
lea ecx, [ebp - 0x598]
push ecx
mov edx, dword [0x10015c08]
push edx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0x104
lea eax, [ebp - 0x100]
push eax
mov ecx, dword [0x10015c08]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [ebp - 0x280]
push edx
mov eax, dword [ebp - 0x598]
push eax
call fcn.1000a2d0
add esp, 8
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x180]
push eax
push 0x100143bc
lea ecx, [ebp - 0x584]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea edx, [ebp - 0x384]
push edx
lea eax, [ebp - 0x584]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [ebp - 0x584]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x284], eax
push 0xffffffffffffffff
mov edx, dword [0x100146a8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10009497
mov eax, 0xffff
sub eax, dword [ebp - 0x284]
cmp dword [0x100146a4], eax
ja 0x10009497
mov ecx, dword [ebp - 0x284]
lea esi, [ebp - 0x584]
mov edi, dword [0x100146a0]
add edi, dword [0x100146a4]
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]
mov eax, dword [0x100146a4]
add eax, dword [ebp - 0x284]
mov dword [0x100146a4], eax
mov ecx, dword [0x100146a8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [0x100146ac]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret