Function at 0x43d310
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x10
lea eax, [esp]
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
mov ecx, dword [ebx + 0x20]
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
cmp edi, 4
jge 0x43d37b
cmp esi, 4
jge 0x43d37b
push 0x7f82
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [ebx + 0x20]
and esi, 0xffff
shl esi, 0x10
and edi, 0xffff
or esi, edi
push esi
push 0xd
push 0xa1
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub ecx, edi
sub ecx, edx
cmp ecx, 4
jge 0x43d3d0
cmp esi, 4
jge 0x43d3d0
push 0x7f83
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebx + 0x20]
and esi, 0xffff
shl esi, 0x10
and edi, 0xffff
or esi, edi
push esi
push 0xe
push 0xa1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
cmp edi, 4
jge 0x43d427
mov ebp, eax
sub ebp, edx
sub ebp, esi
cmp ebp, 4
jge 0x43d427
push 0x7f83
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebx + 0x20]
and esi, 0xffff
shl esi, 0x10
and edi, 0xffff
or esi, edi
push esi
push 0x10
push 0xa1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp ecx, 4
jge 0x43d476
mov ebp, eax
sub ebp, edx
sub ebp, esi
cmp ebp, 4
jge 0x43d476
push 0x7f82
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [ebx + 0x20]
and esi, 0xffff
shl esi, 0x10
and edi, 0xffff
or esi, edi
push esi
push 0x11
push 0xa1
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp edi, 2
jge 0x43d4ba
push 0x7f84
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebx + 0x20]
and esi, 0xffff
shl esi, 0x10
and edi, 0xffff
or esi, edi
push esi
push 0xa
push 0xa1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp ecx, 2
jge 0x43d4fe
push 0x7f84
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebx + 0x20]
and esi, 0xffff
shl esi, 0x10
and edi, 0xffff
or esi, edi
push esi
push 0xb
push 0xa1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
cmp esi, 2
jge 0x43d542
push 0x7f85
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edx, dword [ebx + 0x20]
and esi, 0xffff
shl esi, 0x10
and edi, 0xffff
or esi, edi
push esi
push 0xc
push 0xa1
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
sub eax, edx
sub eax, esi
cmp eax, 2
jge 0x43d58a
push 0x7f85
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, dword [ebx + 0x20]
and esi, 0xffff
shl esi, 0x10
and edi, 0xffff
or esi, edi
push esi
push 0xf
push 0xa1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 4
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp esi, eax
jg 0x43d5b9
mov ecx, dword [ebx + 0x20]
and esi, 0xffff
shl esi, 0x10
and edi, 0xffff
or esi, edi
push esi
push 2
push 0xa1
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret