Function at 0x4327f0
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x42c
push ebp
push esi
push str.PROP_PSKIN
push eax
call dword [sym.imp.USER32.dll_GetPropA]
mov esi, dword [esp + 0x43c]
mov ebp, eax
cmp dword [esi], 4
je 0x432823
pop esi
xor al, al
pop ebp
add esp, 0x42c
ret 8
mov ecx, dword [esi + 0x14]
push ebx
push edi
push 0
push 0
push 0x31
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ebx, [esi + 0x1c]
lea edx, [esp + 0x24]
push ebx
push edx
mov edi, eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
push ecx
mov dword [esp + 0x24], eax
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov edx, dword [esi + 0x18]
push edi
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 0x18]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x3d]
mov byte [esp + 0x3c], 0
rep stosd dword es:[edi], eax
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x3c]
stosw word es:[edi], ax
push 0x400
push ecx
push edx
stosb byte es:[edi], al
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 4]
mov ecx, ebp
mov dword [esp + 0x18], eax
call fcn.00433990
lea ecx, [esp + 0x18]
mov edi, eax
push ecx
mov ecx, edi
call fcn.0043aea0
mov edi, dword [edi + 4]
mov dword [esp + 0x34], eax
cmp eax, edi
je 0x4328dd
mov edx, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jl 0x4328dd
lea eax, [esp + 0x34]
jmp 0x4328e5
mov dword [esp + 0x10], edi
lea eax, [esp + 0x10]
mov edi, dword [eax]
mov ecx, ebp
call fcn.00433990
cmp edi, dword [eax + 4]
jne 0x43291e
mov ecx, ebp
call fcn.00433990
xor ecx, ecx
lea edx, [esp + 0x34]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
push ecx
push edx
mov ecx, eax
call fcn.004381b0
mov eax, dword [esp + 0x34]
mov edi, dword [eax + 0x10]
jmp 0x432921
mov edi, dword [edi + 0x10]
mov eax, dword [esi + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, 0xfffffffb
je 0x4329a3
test byte [esi + 0x10], 1
je 0x43293c
mov eax, dword [edi + 0x70]
jmp 0x43293f
mov eax, dword [edi + 0x6c]
mov ecx, dword [eax + 4]
mov edx, dword [esi + 0x18]
mov eax, dword [eax]
push ecx
push edx
push eax
call fcn.0043f5d0
mov eax, dword [esi + 0x10]
add esp, 0xc
test al, 1
je 0x432969
mov edx, dword [esi + 0x20]
mov ecx, dword [ebx]
add edx, 2
add ecx, 2
mov dword [esi + 0x20], edx
mov dword [ebx], ecx
test al, 4
je 0x432977
mov ecx, dword [edi + 0x64]
mov edx, dword [esi + 0x18]
push ecx
push edx
jmp 0x43297f
mov eax, dword [edi + 0x60]
mov ecx, dword [esi + 0x18]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea edx, [esp + 0x24]
push 0x25
lea eax, [esp + 0x40]
push edx
push eax
call ebp
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x44]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test byte [esi + 0xc], 4
jne 0x4329b3
test byte [esi + 0x10], 0x10
je 0x432a3c
lea eax, [esp + 0x10]
lea ecx, [esp + 0x3c]
push eax
push ecx
call ebp
push eax
mov eax, dword [esi + 0x18]
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x30]
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x28]
sub eax, ebp
sub eax, ebx
mov edi, dword [esp + 0x10]
cdq
sub eax, edx
mov edx, dword [esp + 0x24]
sar eax, 1
mov ecx, 2
sub ecx, eax
mov eax, dword [esp + 0x2c]
sub eax, edi
push ecx
sub eax, edx
cdq
sub eax, edx
mov edx, 2
sar eax, 1
sub edx, eax
lea eax, [esp + 0x28]
push edx
push eax
call dword [sym.imp.USER32.dll_InflateRect]
mov edx, dword [esi + 0x18]
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x440]
push 0
push eax
push 0x401
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x18]
push edx
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x14]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x20]
pop edi
mov dword [esi + 0x18], eax
pop ebx
pop esi
mov al, 1
pop ebp
add esp, 0x42c
ret 8