Function at 0x40c0c3
Capabilities:
Get graphical window text
Query or enumerate registry value

Disassembly:
mov eax, 0x41c400
call fcn.00410ec8
sub esp, 0x60
push ebx
push esi
push edi
lea eax, [ebp - 0x24]
mov esi, ecx
push 8
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClassNameA]
xor ebx, ebx
test eax, eax
je 0x40c160
lea eax, [ebp - 0x24]
push 0x4044dc
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40c160
mov edi, dword [sym.imp.USER32.dll_GetWindowLongA]
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
mov ecx, eax
or ch, 1
cmp eax, ecx
je 0x40c11f
push ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xfffffffffffffff0
push dword [esi + 4]
call edi
and eax, 0xff
cmp eax, 3
je 0x40c15d
cmp eax, 4
je 0x40c15d
cmp eax, 5
je 0x40c15d
cmp eax, 6
je 0x40c15d
cmp eax, 7
je 0x40c15d
cmp eax, 8
je 0x40c15d
cmp eax, 9
je 0x40c15d
cmp eax, 0xd
je 0x40c15d
cmp eax, 0xe
je 0x40c15d
cmp eax, 0xf
jne 0x40c160
mov byte [esi + 0x44], bl
push 0x7f89
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
cmp eax, ebx
mov dword [esi + 0x28], eax
jne 0x40c1a4
push 0x4040d8
mov eax, dword [0x41c504]
push 0x404058
push 0x20
push 0x20
push dword [0x404054]
push dword [0x404050]
push eax
call dword [sym.imp.USER32.dll_CreateCursor]
cmp eax, ebx
mov dword [esi + 0x28], eax
setne al
mov byte [esi + 0x2c], al
cmp byte [esi + 0x44], bl
je 0x40c1df
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push ebx
push ebx
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
je 0x40c1df
lea ecx, [ebp - 0x6c]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
lea eax, [ebp - 0x6c]
mov byte [ebp - 0x57], 1
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov dword [esi + 0x30], eax
cmp dword [esi + 0x20], ebx
jne 0x40c21e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
cmp eax, ebx
jle 0x40c21e
lea edi, [eax + 1]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00411160
mov dword [ebp - 0x14], esp
push edi
push dword [ebp - 0x14]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
cmp eax, ebx
je 0x40c21e
push dword [ebp - 0x14]
mov ecx, esi
call fcn.0040c94b
cmp dword [esi + 0x24], ebx
jne 0x40c232
mov eax, dword [esi + 0x20]
cmp eax, ebx
je 0x40c232
push eax
mov ecx, esi
call fcn.0040b6b0
mov ecx, esi
call fcn.0040c3d0
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ebx
lea edi, [esi + 0x48]
call fcn.0040c3c0
push ebx
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ebx
call fcn.0040c3c0
push dword [esi + 4]
mov ecx, edi
call fcn.0040c854
push ebx
push 1
push 0x401
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push dword [esi + 0x24]
call fcn.0040c3c0
push dword [esi + 4]
mov ecx, edi
call fcn.0040c8a6
cmp byte [esi + 0x44], bl
je 0x40c338
mov dword [ebp - 0x10], ebx
push 0xf003f
push 0x4044ac
push SysReAllocStringLen
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.0040c370
test eax, eax
jne 0x40c32a
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x40449c
mov dword [ebp - 0x14], 0xc
push dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
call edi
test eax, eax
jne 0x40c2f3
lea eax, [ebp - 0x30]
push eax
call fcn.0040ca1a
cmp eax, 0xffffffff
pop ecx
je 0x40c2f3
mov dword [esi + 0x50], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xc
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x404484
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x40c32a
lea eax, [ebp - 0x30]
push eax
call fcn.0040ca1a
cmp eax, 0xffffffff
pop ecx
je 0x40c32a
mov dword [esi + 0x54], eax
cmp dword [ebp - 0x10], ebx
je 0x40c338
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
lea esp, [ebp - 0x78]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret