Function at 0x4198b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x234
mov eax, dword [0x4b3c40]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push ebp
mov ebp, dword [esp + 0x244]
push esi
mov esi, ecx
mov al, byte [esi + 0x24]
push edi
mov edi, dword [esp + 0x248]
and al, 1
cmp dword [esi + 0x48], 0
mov dword [esp + 0x14], edi
mov byte [esp + 0x13], al
je 0x4199b6
mov ecx, dword [esi + 0x48]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
call eax
mov eax, dword [esp + 0x18]
cdq
idiv dword [esi + 0x58]
mov edx, dword [esi + 4]
mov ecx, dword [esp + 0x1c]
push edx
xor edi, edi
mov dword [esp + 0x38], ecx
mov ebx, eax
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x41992b
cmp dword [esi + 0x58], 4
jne 0x41994f
lea edi, [eax + 3]
jmp 0x41994f
mov eax, dword [esi + 0x44]
test al, 4
je 0x419939
mov edi, 2
jmp 0x41994f
cmp byte [esp + 0x13], 0
jne 0x419946
test al, 2
jne 0x41994a
jmp 0x41994f
test al, 1
je 0x41994f
mov edi, 1
cmp dword [esi + 0x5c], 0
je 0x419963
mov ecx, esi
call fcn.00419690
test eax, eax
je 0x419963
add edi, 4
mov eax, dword [esi + 0x58]
dec eax
cmp edi, eax
jl 0x41996d
mov edi, eax
mov ecx, dword [esi + 0x48]
imul edi, ebx
push 0
sub esp, 0x10
mov eax, esp
mov dword [eax], edi
lea edx, [edi + ebx]
mov ebx, dword [ecx]
xor edi, edi
mov dword [eax + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x48]
mov dword [eax + 0xc], edx
mov edx, dword [ebp]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov edx, dword [ebp + 8]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebx + 0x18]
push edi
call eax
mov ecx, dword [esi + 0x4c]
mov ebx, dword [ecx - 0xc]
lea eax, [esi + 0x4c]
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x419a22
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x42]
push eax
mov word [esp + 0x44], dx
call fcn.004453c0
mov edx, dword [esi + 4]
add esp, 0xc
push 0x104
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ebx, eax
lea eax, [esp + 0x38]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419a00
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.0040e110
test ebx, ebx
je 0x419a98
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x419a40
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x54]
test eax, eax
je 0x419a60
push eax
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [ebp]
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
mov ebp, dword [ebp + 0xc]
sub ebp, dword [esi + 0x64]
push 0xa5
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
push ebx
push ecx
push edi
mov dword [esp + 0x38], ebp
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x240]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004453a3
add esp, 0x234
ret 8