Function at 0x4460e0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x250
push ebx
push esi
push edi
push ebp
mov edi, dword [esp + 0x264]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x1f
push edi
mov ebx, eax
mov ebp, dword [sym.imp.USER32.dll_GetParent]
call ebp
mov esi, dword [esp + 0x268]
push 2
mov dword [esp + 0x18], eax
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
lea eax, [esp + 0x40]
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
push eax
push edi
call ebp
mov ebp, dword [esp + 0x44]
lea edx, [esp + 0x40]
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push 0
push 0
push 0x31
mov dword [ecx], eax
mov eax, dword [edx + 8]
push edi
mov edx, dword [edx + 0xc]
mov dword [ecx + 4], ebp
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x44616a
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x10], eax
push 0xf
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
call ebp
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x12
call ebp
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x14]
push edi
push esi
push 0x135
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
push eax
mov ebp, dword [sym.imp.GDI32.dll_IntersectClipRect]
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
push esi
call ebp
mov ebp, dword [esp + 0x26c]
test ebp, 0x10
je 0x4461ff
cmp ebx, 7
je 0x4461ff
mov eax, dword [esp + 0x3c]
push 0xf00021
sub eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
push eax
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_PatBlt]
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
mov dword [esp + 0x1c], eax
push 0
push 0
push 0xf2
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x24], 0
mov ecx, eax
and ecx, 3
mov dword [esp + 0x2c], ecx
cmp ecx, 1
sbb ecx, ecx
and eax, 4
inc ecx
mov edx, eax
sar edx, 1
mov dword [esp + 0x50], eax
or edx, ecx
mov eax, edx
shl edx, 3
sub edx, eax
add edx, edx
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x20], edx
jne 0x446264
add ecx, 2
mov eax, ecx
shl ecx, 3
sub ecx, eax
lea edx, [edx + ecx*2]
mov dword [esp + 0x20], edx
test ebp, 0xa
jne 0x446275
test ebx, ebx
je 0x446275
cmp ebx, 1
jne 0x44628a
lea eax, [esp + 0x60]
push 0x100
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [esp + 0x18], eax
cmp ebx, 9
ja case.0x446293.8
jmp dword [ebx*4 + 0x4465a0]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x60]
push eax
lea eax, [esp + 0x44]
push ebx
push ecx
push edx
push eax
push esi
push edi
call fcn.00445da0
add esp, 0x1c
jmp case.0x446293.8
mov dword [esp + 0x24], 0xd
test ebp, 4
je 0x446335
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
test edi, edi
je 0x446335
mov eax, dword [0x449754]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, eax
test ebx, ebx
je 0x44632e
mov eax, dword [esp + 0x24]
push 0xcc0020
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x44]
push ecx
sub eax, dword [esp + 0x40]
push edi
push 0xd
sub eax, 0xd
mov ecx, dword [esp + 0x48]
push 0xe
cdq
sub eax, edx
sar eax, 1
add ecx, eax
mov eax, dword [esp + 0x48]
push ecx
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test ebp, 2
je 0x446374
mov eax, dword [esp + 0x40]
add eax, 0x12
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x30], eax
jne 0x44635c
mov eax, dword [0x449740]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x30]
push 0x24
mov ecx, dword [esp + 0x1c]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
test ebp, 8
je case.0x446293.8
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x50]
lea edx, [esp + 0x60]
push eax
push ecx
push edx
push esi
call fcn.00444590
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x44]
add esp, 0x10
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
add eax, 0x12
push 1
lea ecx, [esp + 0x34]
push 1
mov dword [esp + 0x38], eax
push ecx
mov eax, dword [esp + 0x5c]
add eax, dword [esp + 0x3c]
mov dword [esp + 0x44], eax
call dword [sym.imp.USER32.dll_InflateRect]
lea ecx, [esp + 0x40]
lea eax, [esp + 0x30]
push ecx
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
lea ecx, [esp + 0x30]
push ecx
push esi
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov eax, dword [esp + 0x28]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esp + 0x10], 0
je 0x446420
mov eax, dword [esp + 0x10]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x250
ret
cmp dword [esp + 0x2c], 2
jne case.0x446293.2
mov dword [esp + 0x24], 0x1a
jmp case.0x446293.2
test ebp, 6
je case.0x446293.8
lea eax, [esp + 0x24]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x60]
push eax
push ecx
push edx
push esi
call fcn.00444590
add esp, 0x10
cmp dword [esp + 0x24], 0
jne 0x446482
lea eax, [esp + 0x24]
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x44d830
push esi
call fcn.00444590
add esp, 0x10
add dword [esp + 0x30], 4
mov eax, dword [esp + 0x2c]
add eax, dword [esp + 0x30]
add eax, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x34]
test ebp, 0x20
mov dword [esp + 0x3c], eax
je 0x44651f
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x38]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x50]
mov eax, dword [ecx]
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x48]
push edx
push edi
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [edx + 4], ebx
mov dword [edx + 8], ebp
mov dword [edx + 0xc], eax
mov dword [esp + 0x60], ecx
call esi
lea ecx, [esp + 0x58]
push ecx
push edi
call esi
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x14]
push eax
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
push ecx
call esi
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x14]
push ecx
push eax
call esi
lea ecx, [esp + 0x50]
push 1
mov edx, dword [esp + 0x18]
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x250
ret
mov eax, dword [esp + 0x24]
dec dword [esp + 0x48]
dec dword [esp + 0x4c]
push 0xf
cdq
sub eax, edx
push 2
sar eax, 1
push 2
add dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.004443a0
lea eax, [esp + 0x54]
add esp, 0x14
push 1
push 1
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
lea ecx, [esp + 0x40]
push 0xf
push 0
push 0
push ecx
push esi
call fcn.004443a0
add esp, 0x14
cmp dword [esp + 0x1c], 0
jne 0x446580
mov eax, dword [0x449740]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
lea eax, [esp + 0x30]
push 0x20
mov ecx, dword [esp + 0x1c]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
push esi
call dword [sym.imp.USER32.dll_DrawTextW]
jmp case.0x446293.8