Function at 0x443730
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b786e
mov eax, dword fs:[0]
push eax
sub esp, 0x968
mov eax, dword [0x4e50cc]
xor eax, esp
mov dword [esp + 0x960], eax
push ebx
push esi
push edi
mov eax, dword [0x4e50cc]
xor eax, esp
push eax
lea eax, [esp + 0x978]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x118], 0
mov eax, dword [ebp + 8]
mov dword [esp + 0x20], eax
jne 0x443ad6
mov eax, dword [ebx + 0x108]
add eax, dword [ebx + 0xd0]
mov edi, dword [ebx + 0x104]
add edi, dword [ebx + 0xcc]
cmp dword [ebx + 0xfc], 0
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0
mov esi, dword [eax + 4]
mov dword [esp + 0x18], esi
jne 0x443888
push 0x80
lea eax, [esp + 0x70]
push eax
push esi
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x30
lea eax, [esp + 0x30]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x2c], 0x30
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x70]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
je 0x44381b
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x443848
push 0
push 0
push 0x7f
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x443848
push eax
push 1
push 0x7f
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x24], eax
test eax, eax
je 0x44396e
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
push 0x32
mov edi, eax
call esi
mov esi, dword [esp + 0x1c]
push 3
push 0
push 0
push eax
push edi
push dword [esp + 0x38]
mov dword [esp + 0x2c], eax
push dword [esp + 0x40]
push esi
push dword [esp + 0x40]
call dword [sym.imp.USER32.dll_DrawIconEx]
add esi, edi
mov dword [esp + 0x1c], esi
mov edi, esi
jmp 0x44396a
cmp dword [ebx + 0x100], 8
lea esi, [ebx + 0xec]
jb 0x443899
mov esi, dword [esi]
mov eax, dword [0x4edac8]
test al, 1
jne 0x4438d2
or eax, 1
mov dword [0x4edac8], eax
mov dword [esp + 0x980], 0
call fcn.00446c60
push 0x4bb780
call fcn.004a5ca8
add esp, 4
mov dword [esp + 0x980], 0xffffffff
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push ecx
push 1
push esi
mov ecx, 0x4edad0
call fcn.00447b10
mov esi, eax
test esi, esi
je 0x443926
cmp dword [esp + 0x14], 0
je 0x443926
mov dword [esi + 0x228], 1
cmp dword [0x4edae0], 0
je 0x443926
push dword [0x4edadc]
mov ecx, esi
push dword [0x4edad8]
push dword [0x4edad4]
call fcn.00446700
cmp dword [esi + 0x218], 0
mov eax, dword [esi + 0x220]
mov ecx, dword [esi + 0x224]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
jbe 0x443968
cmp dword [esi + 0x21c], 0
jbe 0x443968
push 0xff
push 0
push ecx
push dword [esp + 0x34]
mov ecx, esi
push edi
push dword [esp + 0x34]
call fcn.00446080
mov eax, dword [esp + 0x1c]
add edi, eax
mov esi, dword [esp + 0x18]
add edi, dword [ebx + 0x114]
push 0
push 0xf060
push 0
push esi
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
mov ecx, dword [ebx + 0x1c8]
test al, 3
je 0x4439aa
mov edx, dword [ecx + 0x18]
mov eax, edx
shr eax, 1
not eax
test al, 1
jne 0x4439d1
and edx, 0xfffffffd
mov dword [ecx + 0x18], edx
jmp 0x4439b7
mov eax, dword [ecx + 0x18]
test al, 2
jne 0x4439d1
or eax, 2
mov dword [ecx + 0x18], eax
lea eax, [ecx + 4]
mov ecx, dword [ecx + 0x3c]
test ecx, ecx
je 0x4439d1
mov ecx, dword [ecx + 0x10]
test eax, eax
push 0
cmove eax, eax
push eax
call fcn.00441d70
push 1
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov esi, dword [ebx + 0x1cc]
mov eax, dword [ebx + 0x9c]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x130], 0
jne 0x443a00
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x30], 0
jne 0x443a75
xor eax, eax
push 0x7fe
push eax
mov word [esp + 0x174], ax
lea eax, [esp + 0x176]
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [esp + 0x16c]
push 0x400
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [esp + 0x16c], 0
jne 0x443a4b
xor ecx, ecx
jmp 0x443a64
lea ecx, [esp + 0x16c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x443a55
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x170]
push eax
lea ecx, [ebx + 0x20]
call fcn.00402ddd
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 0xd4]
mov edx, dword [esp + 0x14]
test edx, edx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov eax, 0x14
cmovg eax, edx
mov dword [esp + 0x60], ecx
add eax, ecx
mov dword [esp + 0x5c], edi
cmp dword [ebx + 0x34], 8
lea ecx, [ebx + 0x20]
mov dword [esp + 0x68], eax
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + 0x38]
jb 0x443ab3
mov ecx, dword [ecx]
mov eax, dword [edx]
push 0x40024
push dword [ebx + 0x30]
push ecx
lea ecx, [esp + 0x68]
push ecx
push dword [ebx + 0x18c]
mov ecx, edx
push dword [esp + 0x2c]
push dword [esp + 0x38]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x978]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x960]
xor ecx, esp
call fcn.004a5ae0
mov esp, ebp
pop ebp
ret 4