Function at 0x41db80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x451050]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0xfffffffffffffffc
push ebx
mov dword [esp + 0x1c], ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp eax, 0x41de90
jne 0x41dd97
test esi, esi
je 0x41dd97
push 0xffffffffffffffeb
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, eax
test ebx, ebx
je 0x41dd97
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push 0x104
push 0xd
push ecx
mov dword [esp + 0x20], 0x820
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebx + 0x18]
test al, 1
je 0x41dc09
mov dword [esp + 0x10], 0x822
jmp 0x41dc15
test al, 2
je 0x41dc15
mov dword [esp + 0x10], 0x821
test al, 8
je 0x41dc20
or dword [esp + 0x10], 8
jmp 0x41dc29
test al, 4
je 0x41dc29
or dword [esp + 0x10], 4
test edi, edi
jne 0x41dd20
mov edi, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [0x45a164], 0
je 0x41dc59
lea eax, [esp + 0x18]
push eax
push esi
push edi
call dword [0x45a148]
jmp 0x41dc67
push 0x10
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.USER32.dll_FillRect]
test byte [ebx + 0x18], 0x20
je 0x41dc98
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
jne 0x41dc83
lea edx, [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, 1
add dword [esp + 0x18], eax
sub dword [esp + 0x20], eax
add dword [esp + 0x1c], eax
sub dword [esp + 0x24], eax
test byte [ebx + 0x18], 0x10
je 0x41dca3
mov eax, dword [ebx + 0x10]
jmp 0x41dca6
mov eax, dword [ebx + 0xc]
mov edi, dword [sym.imp.GDI32.dll_SetTextColor]
push eax
push esi
call edi
push 1
push esi
mov dword [esp + 0x34], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 8]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
call ebx
mov ecx, dword [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x1c], eax
push 0xffffffffffffffff
lea eax, [esp + 0x3c]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x14]
push ecx
push esi
call ebx
mov edx, dword [esp + 0x28]
push edx
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x2c]
push eax
push esi
call edi
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00433c32
mov esp, ebp
pop ebp
ret
mov eax, 0x7fff
mov dword [edi + 4], 0
mov dword [edi], 0
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov ecx, dword [ebx + 8]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
or eax, 0x400
push eax
push edi
push 0xffffffffffffffff
lea edx, [esp + 0x3c]
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
test byte [ebx + 0x18], 0x20
je 0x41dd7d
mov eax, 2
add dword [edi + 8], eax
add dword [edi + 0xc], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.00433c32
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00433c32
mov esp, ebp
pop ebp
ret