Function at 0x10b41b30
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x1c4
push ebx
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetCapture]
mov ebx, dword [esp + 0x1d8]
cmp ebx, eax
je 0x10b41b5e
mov eax, 1
mov dword [esp + 0x1e0], eax
mov dword [esp + 0x1e4], eax
mov edi, dword [esp + 0x1dc]
test edi, edi
je 0x10b41b80
lea eax, [esp + 0x90]
push eax
push ebx
call dword [sym.imp.USER32.dll_BeginPaint]
mov ebp, eax
mov dword [esp + 0x10], ebp
jmp 0x10b41b8d
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x10], eax
mov ebp, eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
push ebp
push 0x135
push ebx
call dword [sym.imp.USER32.dll_GetParent]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call esi
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x30], eax
test edi, edi
je 0x10b41bc3
test ecx, ecx
jne 0x10b41bc7
test edi, edi
jne 0x10b41c06
test eax, eax
jne 0x10b41bd7
mov edx, dword [0x10e2b020]
mov dword [esp + 0x30], edx
mov eax, edx
test edi, edi
je 0x10b41be3
test ecx, ecx
jne 0x10b41bf9
test edi, edi
jne 0x10b41c06
mov ecx, dword [esp + 0x1e0]
test ecx, ecx
je 0x10b41c06
mov ecx, dword [esp + 0x1e4]
test ecx, ecx
je 0x10b41c06
push eax
lea eax, [esp + 0x40]
push eax
push ebp
call dword [sym.imp.USER32.dll_FillRect]
push 0
push 0
push 0xf2
push ebx
call esi
mov ecx, dword [0x10e2b37c]
mov dword [esp + 0x24], eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetPropA]
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
push 0xfffffffffffffff0
push ebx
and edi, 0xf
call ebp
push 0xffffffffffffffec
push ebx
mov esi, eax
call ebp
mov eax, esi
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
shr eax, 5
and eax, 1
mov dword [esp + 0x28], eax
mov eax, esi
shr eax, 9
and eax, 1
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1e0]
test eax, eax
je 0x10b41fb3
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
sub eax, edx
and esi, 0xf
cdq
sub eax, edx
add esi, 0xfffffffe
sar eax, 1
sub eax, 7
cmp esi, 7
mov dword [esp + 0x38], eax
ja case.0x10b41c89.7
jmp dword [esi*4 + 0x10b42320]
cmp edi, 6
jne 0x10b41ca1
mov esi, 0x10e2b028
mov edi, 0x10e2b338
jmp 0x10b41cd2
mov esi, 0x10e2af50
mov edi, 0x10e2b1e0
jmp 0x10b41cd2
cmp edi, 6
jne 0x10b41cbe
mov esi, 0x10e2ae78
mov edi, 0x10e2b2f0
jmp 0x10b41cd2
mov esi, 0x10e2b220
mov edi, 0x10e2b198
jmp 0x10b41cd2
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x34]
mov edx, dword [0x10e2ceec]
neg edx
sbb edx, edx
and edx, 0xf
add edx, 6
push edx
call ebp
mov ecx, dword [edi]
shr eax, 0x10
mov byte [esi + ecx*4 + 0x28], al
mov edx, dword [0x10e2ceec]
neg edx
sbb edx, edx
and edx, 0xf
add edx, 6
push edx
call ebp
mov edx, dword [edi]
xor ecx, ecx
mov cl, ah
mov byte [esi + edx*4 + 0x29], cl
mov eax, dword [0x10e2ceec]
neg eax
sbb eax, eax
and eax, 0xf
add eax, 6
push eax
call ebp
mov ecx, dword [edi]
push 0x10
mov byte [esi + ecx*4 + 0x2a], al
call ebp
mov edx, dword [edi + 0x1c]
push 0x10
shr eax, 0x10
mov byte [esi + edx*4 + 0x28], al
call ebp
mov edx, dword [edi + 0x1c]
xor ecx, ecx
mov cl, ah
push 0x10
mov byte [esi + edx*4 + 0x29], cl
call ebp
mov ecx, dword [edi + 0x1c]
mov byte [esi + ecx*4 + 0x2a], al
mov edx, dword [0x10e2ceec]
neg edx
sbb edx, edx
and edx, 7
add edx, 0xf
push edx
call ebp
mov ecx, dword [edi + 0x20]
shr eax, 0x10
mov byte [esi + ecx*4 + 0x28], al
mov edx, dword [0x10e2ceec]
neg edx
sbb edx, edx
and edx, 7
add edx, 0xf
push edx
call ebp
mov edx, dword [edi + 0x20]
xor ecx, ecx
mov cl, ah
mov byte [esi + edx*4 + 0x29], cl
mov eax, dword [0x10e2ceec]
neg eax
sbb eax, eax
and eax, 7
add eax, 0xf
push eax
call ebp
mov ecx, dword [edi + 0x20]
push 0x14
mov byte [esi + ecx*4 + 0x2a], al
call ebp
mov edx, dword [edi + 0x38]
push 0x14
shr eax, 0x10
mov byte [esi + edx*4 + 0x28], al
call ebp
mov edx, dword [edi + 0x38]
xor ecx, ecx
mov cl, ah
push 0x14
mov byte [esi + edx*4 + 0x29], cl
call ebp
mov ebx, dword [esp + 0x24]
mov ecx, dword [edi + 0x38]
and ebx, 3
cmp bx, 1
mov byte [esi + ecx*4 + 0x2a], al
jne 0x10b41df8
push 8
call ebp
mov edx, dword [edi + 0x24]
push 8
shr eax, 0x10
mov byte [esi + edx*4 + 0x28], al
call ebp
mov edx, dword [edi + 0x24]
xor ecx, ecx
mov cl, ah
push 8
mov byte [esi + edx*4 + 0x29], cl
jmp 0x10b41e92
cmp bx, 2
jne 0x10b41e1f
push 0x10
call ebp
mov edx, dword [edi + 0x24]
push 0x10
shr eax, 0x10
mov byte [esi + edx*4 + 0x28], al
call ebp
mov edx, dword [edi + 0x24]
xor ecx, ecx
mov cl, ah
push 0x10
mov byte [esi + edx*4 + 0x29], cl
jmp 0x10b41e92
test byte [esp + 0x24], 4
je 0x10b41e73
mov edx, dword [0x10e2ceec]
neg edx
sbb edx, edx
and edx, 7
add edx, 0xf
push edx
call ebp
mov ecx, dword [edi + 0x24]
shr eax, 0x10
mov byte [esi + ecx*4 + 0x28], al
mov edx, dword [0x10e2ceec]
neg edx
sbb edx, edx
and edx, 7
add edx, 0xf
push edx
call ebp
mov edx, dword [edi + 0x24]
xor ecx, ecx
mov cl, ah
mov byte [esi + edx*4 + 0x29], cl
mov eax, dword [0x10e2ceec]
neg eax
sbb eax, eax
and eax, 7
add eax, 0xf
push eax
jmp 0x10b41e92
push 5
call ebp
mov edx, dword [edi + 0x24]
push 5
shr eax, 0x10
mov byte [esi + edx*4 + 0x28], al
call ebp
mov edx, dword [edi + 0x24]
xor ecx, ecx
mov cl, ah
push 5
mov byte [esi + edx*4 + 0x29], cl
call ebp
mov ecx, dword [edi + 0x24]
cmp bx, 2
mov byte [esi + ecx*4 + 0x2a], al
je 0x10b41ec9
test byte [esp + 0x24], 4
jne 0x10b41ec9
push 5
call ebp
mov edx, dword [edi + 0x2c]
push 5
shr eax, 0x10
mov byte [esi + edx*4 + 0x28], al
call ebp
mov edx, dword [edi + 0x2c]
xor ecx, ecx
mov cl, ah
push 5
mov byte [esi + edx*4 + 0x29], cl
jmp 0x10b41ee8
push 0xf
call ebp
mov edx, dword [edi + 0x2c]
push 0xf
shr eax, 0x10
mov byte [esi + edx*4 + 0x28], al
call ebp
mov edx, dword [edi + 0x2c]
xor ecx, ecx
mov cl, ah
push 0xf
mov byte [esi + edx*4 + 0x29], cl
call ebp
mov ecx, dword [edi + 0x2c]
mov byte [esi + ecx*4 + 0x2a], al
mov al, byte [esp + 0x24]
test al, 4
je 0x10b41f1a
push 0xf
call ebp
mov edx, dword [edi + 0x3c]
push 0xf
shr eax, 0x10
mov byte [esi + edx*4 + 0x28], al
call ebp
mov edx, dword [edi + 0x3c]
xor ecx, ecx
mov cl, ah
push 0xf
mov byte [esi + edx*4 + 0x29], cl
jmp 0x10b41f39
push 5
call ebp
mov edx, dword [edi + 0x3c]
push 5
shr eax, 0x10
mov byte [esi + edx*4 + 0x28], al
call ebp
mov edx, dword [edi + 0x3c]
xor ecx, ecx
mov cl, ah
push 5
mov byte [esi + edx*4 + 0x29], cl
call ebp
mov ecx, dword [edi + 0x3c]
mov ebx, dword [esp + 0x10]
push ebx
mov byte [esi + ecx*4 + 0x2a], al
call dword [sym.imp.GDI32.dll_GetBkColor]
mov edx, dword [edi + 4]
push ebx
shr eax, 0x10
mov byte [esi + edx*4 + 0x28], al
call dword [sym.imp.GDI32.dll_GetBkColor]
mov edx, dword [edi + 4]
xor ecx, ecx
mov cl, ah
push ebx
mov byte [esi + edx*4 + 0x29], cl
call dword [sym.imp.GDI32.dll_GetBkColor]
mov ecx, dword [edi + 4]
mov byte [esi + ecx*4 + 0x2a], al
mov eax, dword [esp + 0x28]
test eax, eax
je 0x10b41f88
mov edx, dword [esp + 0x44]
lea eax, [edx - 0xd]
jmp 0x10b41f8c
mov eax, dword [esp + 0x3c]
push 0
push esi
mov ecx, dword [esp + 0x40]
add esi, 0x68
push esi
push 0xd
push 0
push 0
push 0
push 0xd
push 0xd
push ecx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetDIBitsToDevice]
mov ebx, dword [esp + 0x1d8]
mov eax, dword [esp + 0x1e4]
test eax, eax
je 0x10b422e2
push 0
push 0
push 0x31
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
mov dword [esp + 0x4c], eax
je 0x10b41fe9
mov esi, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x34], eax
jmp 0x10b41fed
mov esi, dword [esp + 0x10]
lea edx, [esp + 0x58]
push edx
push esi
call dword [sym.imp.GDI32.dll_GetTextMetricsA]
lea eax, [esp + 0xd0]
push 0x104
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
test eax, eax
je 0x10b42048
mov eax, dword [0x10e2b140]
mov dword [esp + 0x14], eax
lea edx, [eax + eax]
mov eax, dword [0x10e2b0f8]
neg eax
sub eax, edx
jmp 0x10b42062
mov eax, dword [esp + 0x6c]
mov edi, dword [0x10e2b140]
sub eax, edi
mov edi, dword [0x10e2b0f8]
add eax, edi
add edx, eax
mov dword [esp + 0x14], edx
add ecx, eax
lea edi, [esp + 0xd0]
mov dword [esp + 0x1c], ecx
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
mov dword [esp + 0x18], ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10b420ea
mov eax, dword [esp + 0x28]
mov edi, 2
test eax, eax
je 0x10b420cc
mov ecx, dword [0x10e2b140]
mov edx, dword [0x10e2b0f8]
lea eax, [ecx*4]
mov ecx, dword [esp + 0x6c]
add ecx, edx
mov edx, dword [esp + 0x14]
add ecx, eax
sub edx, ecx
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
jmp 0x10b420ec
mov edx, dword [0x10e2b0f8]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
add eax, edx
add eax, dword [0x10e2b140]
sub ecx, eax
mov dword [esp + 0x1c], ecx
jmp 0x10b420ec
xor edi, edi
mov ecx, dword [esp + 0x1c]
push ebx
mov dword [esp + 0x3c], ecx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
jne 0x10b42185
mov eax, dword [0x10e2ceec]
test eax, eax
je 0x10b42179
push 0x14
call ebp
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
lea edx, [esp + 0x18]
push 1
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10b4214b
mov edx, dword [esp + 0x10]
mov eax, edi
or eax, 0x20024
lea ecx, [esp + 0x14]
push eax
push ecx
lea eax, [esp + 0xd8]
push edx
push eax
jmp 0x10b42163
mov eax, dword [esp + 0x10]
mov ecx, edi
or ecx, 0x24
lea edx, [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0xd8]
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push 0xffffffffffffffff
push edx
call dword [sym.imp.USER32.dll_OffsetRect]
push 0x10
call ebp
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10b421a0
mov ecx, dword [esp + 0x10]
or edi, 0x20024
lea eax, [esp + 0x14]
push edi
push eax
push ecx
jmp 0x10b421ae
mov ecx, dword [esp + 0x10]
or edi, 0x24
lea eax, [esp + 0x14]
push edi
push eax
push ecx
lea edx, [esp + 0xdc]
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0xd4]
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
mov ecx, dword [0x10e2b140]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
sub edi, ecx
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x18]
sub eax, edi
cdq
sub eax, edx
mov ebp, eax
mov eax, dword [esp + 0x58]
cdq
sub eax, edx
mov edx, dword [esp + 0x50]
sar ebp, 1
sar eax, 1
sub ebp, eax
mov eax, dword [0x10e2b334]
sub ebp, eax
lea edx, [edx + ecx*2]
add edi, ebp
mov ebp, ecx
add ebp, edx
mov edx, dword [esp + 0x14]
add ebp, edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebp
lea eax, [edx + eax*2]
add eax, edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x10b4223d
sub dword [esp + 0x14], ecx
call fcn.10bd19f0
test eax, eax
push 0x26
je 0x10b42258
lea ecx, [esp + 0xd4]
push ecx
call dword [sym.imp.MSVCRT.dll__mbschr]
jmp 0x10b42266
lea edx, [esp + 0xd4]
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
je 0x10b4227b
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10b422a4
mov ecx, dword [0x10e2b140]
mov ebp, dword [esp + 0x50]
lea eax, [ecx + ecx]
mov ecx, dword [esp + 0x38]
mov edx, ecx
sub edx, ebp
sub edx, eax
add ecx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10b422b9
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_FrameRect]
test byte [esp + 0x24], 8
je 0x10b422cc
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x10b422e6
mov edx, dword [esp + 0x34]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x10b422e6
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x1dc]
test eax, eax
je 0x10b4230b
lea eax, [esp + 0x90]
push eax
push ebx
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c4
ret