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

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x2008]
mov esi, dword [edi + eax*4 + 0x1004]
push esi
call fcn.00409000
cmp eax, dword [edi + 0x2004]
jge 0x40942e
mov ecx, dword [edi + 0x2008]
mov edx, dword [edi + ecx*4 + 4]
push esi
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
mov dword [esp + 0x14], ebx
jmp 0x40943a
mov dword [esp + 0x14], 0
mov ebx, dword [esp + 0x14]
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push ebx
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDC]
lea esi, [edi + 0x3110]
push esi
mov ebp, eax
push ebx
mov dword [esp + 0x24], ebp
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x20]
mov ebp, eax
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [edi + 0x2008]
cmp dword [edi + ecx*4 + 0x4128], 0
mov dword [esp + 0x10], eax
je 0x4094cd
push esi
push ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 0x2008]
mov edx, dword [edi + ecx*4 + 0x4128]
push edx
push esi
push ebp
call dword [sym.imp.USER32.dll_FillRect]
jmp 0x40954c
mov ecx, dword [edi + ecx*4 + 0x6130]
push ecx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x18]
test al, 3
je 0x40952b
test eax, 0x1000
je 0x40952b
mov eax, dword [edi + 0x2008]
mov edx, dword [edi + eax*4 + 0x1004]
mov eax, dword [edi + eax*4 + 4]
push 0
push 0
push pe_nt_image_headers32
push edx
push eax
call dword [sym.imp.USER32.dll_SendDlgItemMessageA]
cmp eax, 1
jne 0x40952b
mov ecx, dword [edi + 0x2008]
mov edx, dword [edi + ecx*4 + 0x7130]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push 0xcc0020
push 0
push 0
push ecx
push edx
push eax
push 0
push 0
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [edi + 0x2008]
cmp dword [edi + ecx*4 + 0x8130], 0
lea eax, [edi + ecx*4 + 0x8130]
je 0x4095c3
mov eax, dword [eax]
lea edx, [esp + 0x34]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [edi + 0x2008]
mov edx, dword [edi + ecx*4 + 0x8130]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
push 0xcc0020
push 0
push 0
sub eax, edx
push ecx
mov ecx, dword [esp + 0x48]
push edx
cdq
sub eax, edx
sar eax, 1
push ecx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
push eax
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x4095cd
mov dword [edi + 0xa170], 1
cmp dword [edi + 0xa170], 0
je 0x40970b
mov edx, dword [esp + 0x14]
push 0xff
lea ebx, [edi + 0x2010]
push ebx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 1
push ebp
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [edi + 0x2008]
mov ecx, dword [edi + eax*4 + 0x3124]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x409614
lea edx, [esp + 0x2c]
push edx
sub eax, ecx
push eax
push ebx
push ebp
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, ebx
xor edx, edx
lea ecx, [eax + 1]
mov dword [esp + 0x18], edx
mov dword [esp + 0x24], ecx
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409640
sub eax, dword [esp + 0x24]
je 0x409678
nop
cmp byte [ebx + edx], 0xa
jne 0x40965b
add dword [esp + 0x18], 1
mov eax, ebx
lea ecx, [eax + 1]
add edx, 1
mov dword [esp + 0x24], ecx
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x409667
sub eax, dword [esp + 0x24]
cmp edx, eax
jb 0x409650
mov ecx, dword [esp + 0x18]
mov eax, dword [esi + 0xc]
add ecx, 1
imul ecx, dword [esp + 0x30]
cdq
sub eax, edx
sar eax, 1
shr ecx, 1
mov edx, eax
push 0x80ffff
sub edx, ecx
add eax, ecx
push ebp
mov dword [esi + 4], edx
mov dword [esi + 0xc], eax
call dword [sym.imp.GDI32.dll_SetTextColor]
add dword [esi], 2
add dword [esi + 4], 2
mov eax, ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4096b2
push 1
push esi
sub eax, ecx
push eax
push ebx
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
add dword [esi], 0xfffffffe
add dword [esi + 4], 0xfffffffe
mov eax, dword [edi + 0x2008]
mov ecx, dword [edi + eax*4 + 0x5130]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, ebx
lea edi, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4096f0
push 1
push esi
sub eax, edi
push eax
push ebx
push ebp
call dword [sym.imp.USER32.dll_DrawTextA]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
push edx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push eax
call esi
push ebp
call esi
mov ecx, dword [esp + 0x1c]
push ecx
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x20]
push edx
push 0
push 0xf7
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret