Function at 0x1008a8a0
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x101650a8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b629c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov esi, dword [esp + 0x64]
push 0x4e
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
call edi
push 0x4f
mov ebp, eax
call edi
push 0x4c
mov dword [esp + 0x28], eax
call edi
push 0x4d
mov ebx, eax
call edi
mov edx, dword [esp + 0x68]
cmp edx, ebx
jge 0x1008a90e
mov edx, ebx
cmp dword [esp + 0x6c], eax
jge 0x1008a918
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x70]
lea edi, [ebx + ebp]
cmp ecx, edi
jle 0x1008a925
mov ecx, edi
mov edi, dword [esp + 0x24]
add edi, eax
mov eax, dword [esp + 0x74]
cmp eax, edi
jle 0x1008a935
mov eax, edi
cmp edx, ecx
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jge 0x1008ab7a
cmp edi, eax
jge 0x1008ab7a
mov edx, dword [esp + 0x2c]
push edx
lea eax, [esp + 0x38]
push esi
push eax
call fcn.10062f40
add esp, 0xc
xor eax, eax
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x4c], 0x10
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
jae 0x1008a985
lea eax, [esp + 0x38]
lea ecx, [esp + 0x28]
push ecx
push 0x1016a8d8
push eax
call fcn.101019f5
add esp, 0xc
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x28]
push edx
push ebp
mov edi, eax
call dword [sym.imp.GDI32.dll_SetTextColor]
mov eax, dword [esi + 0x25e0]
cmp eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
jne 0x1008a9f6
cmp dword [esi + 0x25e8], ecx
jne 0x1008a9f6
mov edx, dword [esi + 0x25e4]
cmp edx, dword [esp + 0x18]
jne 0x1008a9f6
cmp dword [esi + 0x25ec], eax
je 0x1008aace
mov edx, dword [esi + 0x25f0]
test edx, edx
je 0x1008aa56
push edx
push edi
call ebx
mov edx, dword [esi + 0x25ec]
mov ecx, dword [esi + 0x25e0]
push 0xcc0020
push 0
push 0
push edi
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x25e4]
sub edx, eax
push edx
mov edx, dword [esi + 0x25e8]
sub edx, ecx
push edx
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x24]
push eax
push edi
call ebx
mov ecx, dword [esi + 0x25f0]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
sub ecx, dword [esp + 0x14]
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esi + 0x25f0], eax
call ebx
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push 0xcc0020
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
push eax
push ecx
push ebp
sub edx, eax
mov eax, dword [esp + 0x2c]
push edx
sub eax, ecx
push eax
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x24]
push ecx
push edi
call ebx
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x25e0], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x25e4], eax
mov dword [esi + 0x25e8], ecx
mov dword [esi + 0x25ec], edx
mov eax, dword [esi + 0x25f0]
push eax
push edi
call ebx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push 0xcc0020
push 0
push 0
push edi
mov esi, eax
mov eax, dword [esp + 0x28]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x28]
sub edx, ecx
push edx
push eax
push ecx
push ebp
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push edi
call ebx
mov esi, dword [esp + 0x30]
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x1008ab10
push 0
push 1
sub eax, ecx
lea ecx, [esp + 0x1c]
push ecx
push eax
push esi
push ebp
call dword [sym.imp.USER32.dll_DrawTextExA]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebp
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov dword [esp + 0x5c], 0xffffffff
cmp dword [esp + 0x4c], 0x10
jb 0x1008ab5e
mov edx, dword [esp + 0x38]
push edx
call fcn.100ee0d8
add esp, 4
mov dword [esp + 0x4c], 0xf
mov dword [esp + 0x48], 0
mov byte [esp + 0x38], 0
mov eax, 1
jmp 0x1008ab7c
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100ff704
add esp, 0x4c
ret