Function at 0x4a8ff0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x18
cmp eax, 1
push ebx
push ebp
push esi
push edi
je 0x4a900f
cmp eax, 2
je 0x4a900f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4a901f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push eax
call fcn.004a8980
add esp, 0xc
test eax, eax
jne 0x4a903e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov esi, dword [esp + 0x38]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4a9061
push 0x11
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
jmp 0x4a9063
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, dword [esp + 0x44]
test edi, edi
je 0x4a9088
mov ebx, dword [esp + 0x48]
test ebx, ebx
je 0x4a9088
test edi, edi
jge 0x4a9080
neg edi
test ebx, ebx
jge 0x4a9098
neg ebx
jmp 0x4a9098
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x24], ebp
jne 0x4a90b7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ebp
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetMapMode]
mov eax, dword [esp + 0x10]
push 1
push eax
call dword [sym.imp.GDI32.dll_SetMapMode]
cmp edi, dword [esp + 0x18]
jne 0x4a915a
cmp ebx, dword [esp + 0x14]
jne 0x4a915a
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esp + 0x54], eax
call dword [sym.imp.GDI32.dll_SetMapMode]
push ebx
push edi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
mov dword [esp + 0x28], eax
call ebp
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
push ecx
push edx
mov dword [esp + 0x24], eax
call ebp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
push 0xcc0020
push 0
push 0
push eax
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
push ecx
push edx
call ebp
mov eax, dword [esp + 0x4c]
push eax
jmp 0x4a91cf
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esp + 0x54], eax
call dword [sym.imp.GDI32.dll_SetMapMode]
push ebx
push edi
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push esi
mov dword [esp + 0x28], eax
call ebp
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
push ecx
push edx
mov dword [esp + 0x24], eax
call ebp
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
push 0xcc0020
push eax
push ecx
push 0
push 0
push edx
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call ebp
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
push 0
push 1
push 1
push ebx
push edi
call dword [sym.imp.GDI32.dll_CreateBitmap]
mov dword [esp + 0x4c], eax
push eax
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push esi
push ebx
push edi
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
push 0
push esi
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0xffffff
push esi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esp + 0x10]
push 0x8800c6
push 0
push 0
push eax
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x34]
cmp eax, 1
jne 0x4a92f9
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
cmp ecx, edi
jne 0x4a92bb
cmp eax, ebx
jne 0x4a92bb
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
push 0x8800c6
push 0
push 0
push edx
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x38]
push 0xee0086
push 0
push 0
push esi
push ecx
push edx
push edi
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x4a9354
mov edx, dword [esp + 0x10]
push 0x8800c6
push ebx
push edi
push 0
push 0
push edx
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x5c]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push 0xee0086
push ebx
push edi
push 0
push 0
push esi
push eax
jmp 0x4a933e
cmp eax, 2
jne 0x4a9354
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
cmp ecx, edi
jne 0x4a9331
cmp eax, ebx
jne 0x4a9331
mov edx, dword [esp + 0x40]
push 0x660046
push 0
push 0
push esi
push eax
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x4a9354
push 0x660046
push ebx
push edi
push 0
push 0
push esi
push eax
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10]
push edx
push ebx
call ebp
mov eax, dword [esp + 0x4c]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
push esi
call ebp
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4a9380
push eax
call edi
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push ebx
call esi
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x18
ret