Function at 0x40c1c0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5d7ffc
push eax
mov dword fs:[0], esp
sub esp, 0x4ec
lea eax, [esp + 0x4fc]
push ebx
push esi
push edi
push eax
call fcn.0040a1e0
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
jne 0x40c1fd
xor eax, eax
jmp 0x40c46a
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], ebx
push ecx
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x22]
mov word [esp + 0x20], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x20]
push 0x64
push edx
push eax
call fcn.0040bc50
mov dword [esp + 0x1c], eax
mov eax, dword [0x6646f8]
add esp, 0xc
cmp eax, ebx
je 0x40c379
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2f2]
mov word [esp + 0x2f0], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xea]
mov word [esp + 0xe8], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x2f0]
push 0x103
push ecx
push esi
stosw word es:[edi], ax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 0xe8]
push 0x103
push edx
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
cmp dword [0x6646f8], ebx
je 0x40c379
mov eax, dword [esp + 0xc]
push ebp
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.004a8530
add esp, 8
mov eax, dword [eax]
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x508], ebx
call fcn.0045a720
mov edi, eax
lea edx, [esp + 0x24]
lea ecx, [esp + 0x1c]
push edx
mov byte [esp + 0x508], 1
call fcn.0045a830
mov ebp, eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x50c]
push eax
push ecx
mov byte [esp + 0x50c], 2
call dword [sym.imp.USER32.dll_IsWindowVisible]
mov edx, dword [ebp]
push eax
lea eax, [esp + 0xf4]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x300]
push eax
mov eax, dword [esp + 0x51c]
push ecx
push edx
push esi
push eax
push str.EnumWindowsProc_hwnd__08x__hWndChild__08x__dwProcId__d____s___s___s____d____s_
push 0x62dbe4
push 0xf
push 0x66468c
call fcn.00427530
add esp, 0x30
lea ecx, [esp + 0x1c]
mov byte [esp + 0x504], 1
call fcn.0045b0a0
lea ecx, [esp + 0x18]
mov byte [esp + 0x504], bl
call fcn.0045b0a0
lea ecx, [esp + 0x20]
mov dword [esp + 0x504], 0xffffffff
call fcn.005c8667
pop ebp
cmp dword [esp + 0x10], ebx
je 0x40c465
lea ecx, [esp + 0x20]
push ecx
call fcn.00441ab0
add esp, 4
test eax, eax
jbe 0x40c465
mov edx, dword [esp + 0x508]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x40c3d7
lea eax, [esp + 0x20]
push eax
call fcn.00479410
add esp, 4
test eax, eax
jne 0x40c3d7
mov edx, dword [esp + 0x50c]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.00441a4e
add esp, 8
xor eax, eax
jmp 0x40c46a
or esi, 0xffffffff
mov edi, 0x664f68
mov ecx, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x40c407
call fcn.0047e1d0
push eax
push str._sExplorer.exe
push 0x103
push 0x664f68
call fcn.00442748
add esp, 0x10
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.004a8530
mov edx, dword [esp + 0x18]
push 0x664f68
push edx
call fcn.004420bf
add esp, 0x10
test eax, eax
jne 0x40c455
mov ecx, dword [esp + 0x50c]
lea eax, [esp + 0x20]
push eax
push ecx
call fcn.00441a4e
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x500], esi
call fcn.005c8667
xor eax, eax
jmp 0x40c46a
lea ecx, [esp + 0x10]
mov dword [esp + 0x500], esi
call fcn.005c8667
mov eax, 1
mov ecx, dword [esp + 0x4f8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4f8
ret 8