Function at 0x4809a5
Capabilities:
Capture screenshot

Disassembly:
mov eax, 0x4a4bff
call fcn.0049e6bc
sub esp, 0x98
lea eax, [ebp - 0xa4]
push ebx
push esi
push edi
mov ebx, ecx
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0xa4]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndPaint]
cmp dword [ebx + 0x44], 0
je 0x480a2d
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [ebp - 0x54]
push ecx
push eax
call esi
lea eax, [ebp - 0x64]
push eax
push dword [ebx + 4]
call esi
mov ecx, dword [ebp - 0x64]
mov esi, 0x3fe
mov edx, dword [ebp - 0x60]
mov eax, ecx
sub eax, dword [ebp - 0x54]
sub edx, dword [ebp - 0x50]
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x4c], eax
cmp eax, esi
jle 0x480a24
sub ecx, dword [ebp - 0x4c]
add ecx, esi
mov dword [ebx + 0x4c], ecx
cmp edx, 0x50
jle 0x480a2d
and dword [ebx + 0x48], 0
lea eax, [ebp - 0x2c]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x20]
mov esi, eax
push dword [ebp - 0x24]
mov dword [ebp - 0x14], esi
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
mov dword [ebp - 0x30], eax
call edi
xor eax, eax
mov dword [ebp - 0x1c], eax
lea ecx, [ebx + 0x70]
mov dword [ebp - 4], eax
cmp dword [ecx + 0x14], 8
jb 0x480a81
mov ecx, dword [ecx]
push ecx
push 0x30
push eax
push 1
push 2
call fcn.0041e77e
mov ecx, dword [eax + 0x38]
call fcn.00469cc9
push eax
xor ecx, ecx
xor eax, eax
cmp byte [ebx + 0x29], al
push ecx
setne al
push eax
push ecx
push 0x64
push ecx
push ecx
push ecx
push dword [ebx + 0x88]
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
push esi
mov dword [ebp - 0x1c], eax
call edi
push 0xcc0020
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebx + 0x48]
push dword [ebx + 0x4c]
push dword [ebx + 0x44]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
cmp byte [ebx + 0x29], 0
je 0x480aec
mov eax, dword [ebx + 0x54]
jmp 0x480aef
mov eax, dword [ebx + 0x50]
push eax
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push esi
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x44]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x58]
cmp dword [eax + 0x14], 8
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jb 0x480b18
mov eax, dword [eax]
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x44]
push 0
push 0x405
push ecx
push dword [ebx + 0x68]
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextExW]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x24]
add eax, esi
mov ecx, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 0x38]
add eax, ecx
cdq
sub eax, edx
mov edx, eax
sar edx, 1
test byte [ebx + 0x24], 4
je 0x480b63
mov eax, dword [ebp - 0x14]
sub esi, eax
jmp 0x480b81
test byte [ebx + 0x24], 1
je 0x480b76
mov eax, dword [ebp - 0x14]
and dword [ebx + 0x2c], 0
add eax, eax
sub esi, eax
jmp 0x480b84
test byte [ebx + 0x24], 2
je 0x480b8f
mov eax, dword [ebp - 0x14]
add eax, eax
mov dword [ebx + 0x2c], eax
sub ecx, edx
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x38], ecx
mov eax, dword [ebx]
mov ecx, ebx
push edi
call dword [eax + 0x10]
push dword [ebp - 0x34]
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0xcc0020
xor eax, eax
push eax
push eax
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
push eax
push dword [ebp - 0x18]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x30]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [sym.imp.USER32.dll_ReleaseDC]
push edi
push dword [ebx + 4]
call esi
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [ebp - 0x18]
push dword [ebx + 4]
call esi
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call esi
test edi, edi
je 0x480bf3
push edi
call esi
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
inc eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10