Function at 0x43e940
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a6ade
push eax
mov dword fs:[0], esp
sub esp, 0x95c
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0xf8], 0
jne 0x43ec4f
mov eax, dword [ebx + 0xe8]
lea ecx, [ebx + 0xcc]
add eax, dword [ebx + 0xb0]
mov esi, dword [ebx + 0xe4]
add esi, dword [ebx + 0xac]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x16c]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], 0
mov edi, dword [eax + 4]
mov dword [ebp - 0x18], edi
call fcn.00401e75
test al, al
je 0x43ea67
push 0x80
lea eax, [ebp - 0x164]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClassNameW]
push 0x30
lea eax, [ebp - 0x64]
push 0
push eax
call fcn.00458260
add esp, 0xc
mov dword [ebp - 0x64], 0x30
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x164]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExW]
test eax, eax
je 0x43ea06
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x43ea31
push 0
push 0
push 0x7f
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x43ea31
push eax
push 1
push 0x7f
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x43eb2f
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
push 0x32
mov edi, eax
call esi
mov esi, dword [ebp - 0x24]
push 3
push 0
push 0
push eax
push edi
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x20]
mov eax, dword [ebp + 8]
push esi
push eax
call dword [sym.imp.USER32.dll_DrawIconEx]
add esi, edi
jmp 0x43eb2c
mov eax, dword [0x4e6950]
test al, 1
jne 0x43ea98
or eax, 1
mov dword [0x4e6950], eax
mov dword [ebp - 4], 0
call fcn.00433c20
push 0x4aaa80
call fcn.00455bf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xcc]
call fcn.00406ddd
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 1
push 1
push eax
mov ecx, 0x4e6958
call fcn.00434eb0
mov edi, eax
test edi, edi
je 0x43eaf2
cmp dword [ebp - 0x14], 0
je 0x43eaf2
mov dword [edi + 0x18], 1
cmp dword [0x4e6968], 0
je 0x43eaf2
push dword [0x4e6964]
mov ecx, edi
push dword [0x4e6960]
push dword [0x4e695c]
call fcn.004410b0
mov ecx, edi
call fcn.00425cd4
mov ecx, edi
mov dword [ebp - 0x24], eax
call fcn.00415667
cmp dword [edi + 8], 0
mov dword [ebp - 0x14], eax
jbe 0x43eb29
cmp dword [edi + 0xc], 0
jbe 0x43eb29
mov eax, dword [ebp + 8]
push 0xff
push 0
push ecx
push dword [ebp - 0x20]
mov ecx, edi
push esi
push eax
call fcn.00440ae0
add esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x18]
add esi, dword [ebx + 0xf4]
push 0
push 0xf060
push 0
push edi
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
mov ecx, dword [ebx + 0x168]
test al, 3
je 0x43eb6b
mov edx, dword [ecx + 0x18]
mov eax, edx
shr eax, 1
not eax
test al, 1
jne 0x43eb7f
and edx, 0xfffffffd
mov dword [ecx + 0x18], edx
jmp 0x43eb78
mov eax, dword [ecx + 0x18]
test al, 2
jne 0x43eb7f
or eax, 2
mov dword [ecx + 0x18], eax
push 0
call fcn.00425d23
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebx + 0x7c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x16c]
cmp dword [eax + 0x88], 0
jne 0x43eba8
mov eax, dword [ebx + 0x80]
mov dword [ebp - 0x18], eax
lea ecx, [ebx + 0x20]
call fcn.00401e75
test al, al
je 0x43ebf4
push 0x800
lea eax, [ebp - 0x964]
push 0
push eax
call fcn.00458260
add esp, 0xc
lea eax, [ebp - 0x964]
push 0x400
push eax
mov eax, dword [ebx + 0x16c]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x964]
push eax
lea ecx, [ebx + 0x20]
call fcn.00406eb9
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 0xb4]
mov edx, dword [ebp - 0x14]
test edx, edx
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, 0x14
cmovg eax, edx
mov dword [ebp - 0x30], ecx
add eax, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x28], eax
lea ecx, [ebx + 0x20]
mov eax, dword [ebx + 0x3c]
push 0x40024
mov esi, dword [eax + 0x24]
mov edi, dword [esi]
call fcn.00401e9e
push eax
lea ecx, [ebx + 0x20]
call fcn.00406ddd
push eax
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
push dword [ebx + 0x15c]
push dword [ebp - 0x18]
push dword [ebp + 8]
call dword [edi + 0xc]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4