Function at 0x446720
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x4b47a8]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebx + 0x1c]
mov edi, ecx
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov edx, dword [ebx + 0x18]
push edx
call fcn.00452652
mov esi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
mov ecx, dword [edi + 0x20]
mov ebx, dword [ebx + 0x10]
mov dword [esp + 0x30], eax
push 0x104
lea eax, [esp + 0x3c]
push eax
push ecx
mov dword [esp + 0x40], ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea edx, [edi + 0x54]
push edx
mov ecx, esi
call fcn.004529e9
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push 5
push 5
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_RoundRect]
test bl, 0x10
mov ecx, 1
je 0x4467cd
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xb4], ecx
jmp 0x4467db
xor eax, eax
mov dword [edi + 0xb8], eax
mov dword [edi + 0xb4], eax
mov eax, ebx
and eax, ecx
mov dword [esp + 0x10], eax
jne 0x4467ea
test bl, 0x20
je 0x4467f0
mov dword [edi + 0xb8], ecx
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.004529e9
push 0x2e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x2d
mov ebx, eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
neg ebx
push ebx
neg eax
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
cmp dword [edi + 0xac], 0
je 0x446831
lea ecx, [edi + 0x9c]
push ecx
jmp 0x446838
lea eax, [edi + 0xa4]
push eax
mov ecx, esi
call fcn.004529e9
mov edx, dword [edi]
mov edx, dword [edx + 0x13c]
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push esi
mov ecx, edi
call edx
cmp dword [edi + 0xac], 0
jne 0x446865
cmp dword [edi + 0xb4], 0
je 0x446877
mov eax, dword [edi]
mov edx, dword [eax + 0x140]
lea ecx, [esp + 0x20]
push ecx
push esi
mov ecx, edi
call edx
push ebx
mov ecx, esi
call fcn.004529e9
mov eax, dword [edi + 0x20]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call fcn.00452903
mov edx, dword [esi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x18]
push edx
push eax
lea eax, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
add eax, edx
cdq
sub eax, edx
mov edi, eax
mov eax, dword [esp + 0x18]
cdq
sub eax, edx
mov edx, dword [esp + 0x2c]
sar eax, 1
sar edi, 1
sub edi, eax
lea eax, [edx + ecx]
cdq
sub eax, edx
mov ebx, eax
mov eax, dword [esp + 0x1c]
cdq
sub eax, edx
sar ebx, 1
sar eax, 1
sub ebx, eax
cmp dword [esp + 0x10], 0
je 0x446909
add edi, 1
add ebx, 1
push 1
mov ecx, esi
call fcn.00451ee7
test byte [esp + 0x34], 4
mov dword [esp + 0x10], eax
je 0x44693c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0x22
push eax
mov eax, dword [esi + 4]
push ecx
push ebx
push edi
push 0
lea edx, [esp + 0x50]
push edx
push 0
push 0
push eax
jmp 0x446959
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 2
push ecx
mov ecx, dword [esi + 4]
push edx
push ebx
push edi
push 0
lea eax, [esp + 0x50]
push eax
push 0
push 0
push ecx
call dword [sym.imp.USER32.dll_DrawStateA]
mov edx, dword [esi]
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x28]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.00451ee7
mov edx, dword [esi]
mov eax, dword [esp + 0x30]
mov edx, dword [edx + 0x20]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00468ce5
mov esp, ebp
pop ebp
ret 4