Function at 0x4910a0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x18]
push ebx
mov ebx, ecx
push ebp
mov dword [eax], 1
push esi
mov eax, dword [ebx + 0x230]
lea ebp, [ebx + 0x230]
push edi
mov dword [esp + 0x10], ebx
mov edx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp edx, 1
mov ecx, 0x400
mov dword [esp + 0x14], esi
jg 0x4910dc
cmp dword [eax - 4], ecx
jge 0x491121
mov edi, dword [eax - 8]
cmp edi, ecx
mov dword [esp + 0x28], edi
jle 0x4910e9
mov ecx, edi
push ecx
mov ecx, ebp
call fcn.004012f0
test eax, eax
je 0x491124
lea ecx, [edi + edi + 2]
mov edi, dword [ebp]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp]
mov ecx, dword [esp + 0x2c]
mov dword [eax - 8], ecx
call fcn.00401350
mov eax, dword [ebp]
push 0x400
push eax
mov eax, dword [ebx + 0x26c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx + 0x234]
lea edi, [ebx + 0x234]
mov ecx, 0x400
mov edx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp edx, 1
mov dword [esp + 0x14], esi
jg 0x49115c
cmp dword [eax - 4], ecx
jge 0x4911aa
mov eax, dword [eax - 8]
cmp eax, 0x400
mov dword [esp + 0x28], eax
jle 0x49116c
mov ecx, eax
push ecx
mov ecx, edi
call fcn.004012f0
test eax, eax
je 0x4911b0
mov ecx, dword [esp + 0x28]
mov edi, dword [edi]
add esi, 0xc
lea ecx, [ecx + ecx + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x234]
mov ecx, dword [esp + 0x2c]
mov dword [eax - 8], ecx
call fcn.00401350
mov eax, dword [ebx + 0x234]
push 0x400
push eax
mov eax, dword [ebx + 0x270]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebx + 0x238]
add ebx, 0x238
mov ecx, 0x400
mov edx, dword [eax - 0xc]
lea esi, [eax - 0xc]
cmp edx, 1
mov dword [esp + 0x14], esi
jg 0x4911e8
cmp dword [eax - 4], ecx
jge 0x49122b
mov edi, dword [eax - 8]
cmp edi, ecx
mov dword [esp + 0x28], edi
jle 0x4911f5
mov ecx, edi
push ecx
mov ecx, ebx
call fcn.004012f0
test eax, eax
je 0x49122d
lea ecx, [edi + edi + 2]
mov edi, dword [ebx]
mov edx, ecx
add esi, 0xc
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
push edx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x2c]
mov dword [eax - 8], ecx
call fcn.00401350
mov eax, dword [ebx]
mov esi, dword [esp + 0x10]
push 0x400
push eax
mov eax, dword [esi + 0x274]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, ebx
call fcn.00401380
mov ecx, dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ecx
call edi
mov edx, dword [ebx]
add esi, 0x234
mov dword [edx - 8], eax
mov ecx, dword [ebx]
mov word [ecx + eax*2], 0
mov ecx, esi
call fcn.00401380
mov edx, dword [esi]
push edx
call edi
mov ecx, dword [esi]
mov dword [ecx - 8], eax
mov edx, dword [esi]
mov ecx, ebp
mov word [edx + eax*2], 0
call fcn.00401380
mov eax, dword [ebp]
push eax
call edi
mov ecx, dword [ebp]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push ecx
mov dword [ecx - 8], eax
mov edx, dword [ebp]
mov ecx, esp
mov word [edx + eax*2], 0
mov eax, dword [ebp]
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x4912bb
mov dword [ecx], eax
add eax, 0xfffffff4
push eax
call edi
jmp 0x4912cb
mov eax, dword [0x4d9540]
mov dword [ecx], eax
mov edx, dword [ebp]
push edx
call fcn.004016e0
push ecx
mov ecx, esp
push str.include
call fcn.004014f0
push ecx
mov ecx, esp
push str.FindFile
call fcn.004014f0
call fcn.00455410
mov eax, dword [esi]
add esp, 8
mov ecx, esp
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x491302
mov dword [ecx], eax
add eax, 0xfffffff4
push eax
call edi
jmp 0x491311
mov eax, dword [0x4d9540]
mov dword [ecx], eax
mov edx, dword [esi]
push edx
call fcn.004016e0
push ecx
mov ecx, esp
push str.exclude
call fcn.004014f0
push ecx
mov ecx, esp
push str.FindFile
call fcn.004014f0
call fcn.00455410
mov eax, dword [ebx]
add esp, 8
mov ecx, esp
mov edx, dword [eax - 0xc]
test edx, edx
jl 0x491348
mov dword [ecx], eax
add eax, 0xfffffff4
push eax
call edi
jmp 0x491357
mov eax, dword [0x4d9540]
mov dword [ecx], eax
mov edx, dword [ebx]
push edx
call fcn.004016e0
push ecx
mov ecx, esp
push str.exclude_folder
call fcn.004014f0
push ecx
mov ecx, esp
push str.FindFile
call fcn.004014f0
call fcn.00455410
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edi, dword [eax + 0x18c]
test edi, edi
je 0x4913bc
push ebp
mov ecx, edi
call fcn.00491500
test eax, eax
je 0x4913bc
push 0
call fcn.004c6991
add esp, 4
push eax
push ecx
mov ecx, esp
push ebp
call fcn.00401200
mov ecx, dword [edi + 0x24]
call fcn.00492320
mov ecx, edi
call fcn.00491670
mov ecx, dword [edi]
push edi
call dword [ecx + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0x224]
test ecx, ecx
je 0x4913d0
push esi
call fcn.00491410
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x228]
test ecx, ecx
je 0x4913e4
push ebx
call fcn.00491410
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x22c]
test ecx, ecx
je 0x4913fe
mov edx, dword [ecx + 0x3258]
push edx
call fcn.0046e3f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0x10