Function at 0x466310
Capabilities:
Capture screenshot
Get graphical window text

Disassembly:
sub esp, 0x474
push ebx
mov ebx, dword [0x613894]
test ebx, ebx
mov dword [esp + 0xc], ebx
je 0x46661d
push ebp
push esi
push edi
jmp 0x466340
mov ebx, dword [esp + 0x18]
jmp 0x466340
mov edi, dword [esp + 0x488]
cmp dword [ebx + 0xc8], edi
je 0x466368
mov ebx, dword [ebx + 0x13ac]
test ebx, ebx
mov dword [esp + 0x18], ebx
jne 0x46632e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x474
ret
mov eax, dword [ebx + 0x137c]
test eax, eax
je 0x46661a
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x46661a
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
test esi, esi
je 0x4663c7
mov eax, dword [0x613704]
push 0
push 0
push 0x31
push edi
mov dword [esp + 0x54], eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x60]
push ecx
push 0x3c
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
jne 0x4663da
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x474
ret
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x79], 1
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov edi, eax
test edi, edi
mov dword [esp + 0x3c], edi
jne 0x466415
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x488]
push ebp
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x474
ret
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push edi
push esi
call ebp
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x137c]
test eax, eax
mov dword [esp + 0x14], eax
je 0x4665f1
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + 0xc]
test edi, edi
mov dword [esp + 0x48], edi
je 0x4665da
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4665da
push edi
push ebx
call fcn.00465f10
add esp, 8
test eax, eax
je 0x4665da
lea edx, [esp + 0x1c]
push edx
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebx + 0xc8]
push 2
lea eax, [esp + 0x20]
push eax
push ecx
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
sub eax, ecx
mov ecx, dword [esp + 0x28]
sub ecx, edx
mov edx, dword [esp + 0x10]
push ecx
push eax
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, eax
test edi, edi
je 0x4665da
push edi
push esi
call ebp
push 0x9b0000
push esi
mov ebx, eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ebp, eax
mov eax, dword [esp + 0x44]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x9c]
push ecx
push 0x3e7
push 0xd
push edx
mov dword [esp + 0x50], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
push 0x2c10
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x60], edx
push 0xffffffffffffffff
lea edx, [esp + 0xa8]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
push edx
push esi
mov dword [esp + 0x70], eax
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x5c]
push 0
push 0
push 0x5e6c98
sub eax, ecx
lea ecx, [esp + 0x38]
push ecx
push 6
push 0
push 0
push esi
mov dword [esp + 0x58], eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
push 0x2810
lea edx, [esp + 0x30]
push edx
push 0xffffffffffffffff
lea eax, [esp + 0xa8]
push eax
push esi
call dword [sym.imp.USER32.dll_DrawTextA]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
push 0xcc0020
push 0
push 0
push esi
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x28]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
push ebp
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x40]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ebx, dword [esp + 0x18]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x40]
test eax, eax
mov dword [esp + 0x14], eax
jne 0x466435
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
push edx
push esi
call ebp
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x488]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x474
ret