Function at 0x10c436d0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x8c
push ebx
mov ebx, dword [esp + 0x98]
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 8]
push esi
lea eax, [esp + 0x20]
push edi
push eax
push ecx
call ebp
mov eax, dword [ebx + 8]
lea edx, [esp + 0x24]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x80]
mov edx, dword [ebx + 8]
rep stosd dword es:[edi], eax
mov ecx, 0xd
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x80]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x34]
push 0
push 0x83
push edx
mov dword [esp + 0x90], edx
mov dword [esp + 0xa8], 0x37
mov dword [esp + 0x68], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x54]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
sub ecx, eax
mov eax, dword [esp + 0x50]
sub ecx, edi
mov edi, dword [esp + 0x58]
sub eax, edx
add ecx, esi
mov esi, dword [esp + 0x30]
sub eax, edi
mov dword [esp + 0x10], ecx
add eax, esi
test ecx, ecx
mov dword [esp + 0x20], eax
je 0x10c437b6
test eax, eax
jne 0x10c437e6
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
call esi
shl eax, 1
push 0x21
mov dword [esp + 0x14], eax
call esi
mov ecx, dword [esp + 0xa0]
mov edx, dword [ecx + 0x8e0]
mov esi, dword [ecx + 0x8d8]
sub edx, esi
lea eax, [edx + eax*2]
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0xa0]
mov esi, dword [esp + 0xa8]
test esi, esi
mov edx, dword [ecx + 0x9b0]
mov edi, dword [ecx + 0x9b4]
mov eax, dword [ecx + 0x9ac]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx + 0x9bc]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], edx
jne 0x10c4382c
lea edx, [edi + eax*2]
add eax, edx
mov edx, dword [esp + 0x10]
lea esi, [edx + eax*2]
mov edx, dword [esp + 0x10]
lea eax, [edi + edi]
neg edx
sub edx, eax
mov eax, dword [esp + 0x18]
add esi, edx
cmp esi, eax
jg 0x10c43843
mov esi, eax
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10c4385e
mov edx, dword [eax]
mov dword [eax + 8], edx
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 8]
test eax, eax
je 0x10c4385e
mov eax, dword [eax + 8]
jmp 0x10c43860
xor eax, eax
test eax, eax
je 0x10c43909
mov ecx, dword [eax + 0x30]
test ecx, ecx
je 0x10c438c8
mov ecx, dword [eax + 0x40]
test ecx, ecx
jne 0x10c438c8
mov cx, word [eax]
cmp cx, 2
je 0x10c438ac
cmp cx, 3
je 0x10c438ac
cmp cx, 4
je 0x10c438ac
cmp cx, 1
jne 0x10c438c8
mov edx, dword [eax + 0x34]
lea ecx, [esp + 0x3c]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
sub eax, edx
cmp esi, eax
jg 0x10c438c8
jmp 0x10c438c6
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0xa04]
mov edx, dword [eax + 0xa00]
lea eax, [ecx + edx]
cmp esi, eax
jg 0x10c438c8
mov esi, eax
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x10c438f4
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10c438e0
cmp ecx, dword [eax + 4]
je 0x10c438e0
mov ecx, dword [ecx + 4]
jmp 0x10c438e2
xor ecx, ecx
mov dword [eax + 8], ecx
mov eax, dword [ebx + 0x24]
mov eax, dword [eax + 8]
test eax, eax
je 0x10c438f4
mov eax, dword [eax + 8]
jmp 0x10c438f6
xor eax, eax
test eax, eax
jne 0x10c43868
mov ecx, dword [esp + 0xa0]
mov edi, dword [esp + 0x14]
lea edx, [edi + esi]
xor ebp, ebp
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0xa4]
mov ebx, 3
mov eax, dword [edx + 0x24]
test eax, eax
je 0x10c4394b
mov ecx, dword [eax]
mov dword [eax + 8], ecx
mov eax, dword [edx + 0x24]
mov eax, dword [eax + 8]
test eax, eax
je 0x10c43940
mov esi, dword [eax + 8]
mov ecx, dword [esp + 0xa0]
jmp 0x10c4394d
mov ecx, dword [esp + 0xa0]
xor esi, esi
jmp 0x10c4394d
xor esi, esi
test esi, esi
je 0x10c43a38
jmp 0x10c4395e
mov ecx, dword [esp + 0xa0]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10c439fe
mov eax, dword [esi + 0x40]
test eax, eax
jne 0x10c439fe
mov ax, word [esi]
cmp ax, 2
je 0x10c439be
cmp ax, 3
je 0x10c439be
cmp ax, 4
je 0x10c439be
cmp ax, 1
jne 0x10c439aa
mov edx, dword [esi + 0x34]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
sub eax, ecx
jmp 0x10c439cc
cmp word [esi + 6], 0xffff
jne 0x10c439b8
mov eax, dword [esp + 0x34]
jmp 0x10c439cc
mov eax, dword [esp + 0x18]
jmp 0x10c439cc
mov eax, dword [ecx + 0xa04]
mov edx, dword [ecx + 0xa00]
add eax, edx
lea edx, [eax + edi]
mov ecx, eax
cmp edx, dword [esp + 0x38]
jle 0x10c439ed
mov edx, dword [esp + 0x1c]
cmp word [esi + 6], 0xffff
mov edi, dword [esp + 0x14]
lea ebx, [ebx + edx + 8]
jne 0x10c439ed
xor ecx, ecx
add eax, edi
cmp ebp, eax
jg 0x10c439f5
mov ebp, eax
mov edx, dword [esp + 0xa4]
add edi, ecx
mov eax, dword [edx + 0x24]
test eax, eax
je 0x10c43a2a
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10c43a16
cmp ecx, dword [eax + 4]
je 0x10c43a16
mov ecx, dword [ecx + 4]
jmp 0x10c43a18
xor ecx, ecx
mov dword [eax + 8], ecx
mov eax, dword [edx + 0x24]
mov eax, dword [eax + 8]
test eax, eax
je 0x10c43a2a
mov esi, dword [eax + 8]
jmp 0x10c43a2c
xor esi, esi
test esi, esi
jne 0x10c43957
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
add edx, eax
add ecx, edi
pop edi
lea eax, [ebx + edx + 3]
add ecx, ebp
and eax, 0xffff
and ecx, 0xffff
shl eax, 0x10
pop esi
pop ebp
or eax, ecx
pop ebx
add esp, 0x8c
ret