Function at 0x1000bc70
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x10029210]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x58], edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetDC]
push eax
call esi
push eax
mov dword [ebp - 0x48], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
mov dword [ebp - 0x40], eax
call esi
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov esi, eax
push 8
push esi
call edi
push 0x76
push esi
mov dword [ebp - 0x3c], eax
call edi
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
push esi
push 0
fidiv dword [ebp - 0x3c]
fstp dword [ebp - 0x38]
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [ebp + 0x10], 0
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
je 0x1000bcf6
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], esi
jmp 0x1000bd76
push 0x4e
call ebx
cmp byte [ebp + 0xc], 0
je 0x1000bd4b
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.100201c0
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push 0x4f
mov dword [ebp - 0x44], eax
call ebx
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.100201c0
mov ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jmp 0x1000bd6e
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.100201c0
push 0x4f
mov dword [ebp - 0x44], eax
call ebx
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.100201c0
mov edi, dword [ebp - 0x44]
mov esi, eax
mov dword [ebp - 0x3c], eax
push 0x4c
call ebx
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.100201c0
push 0x4d
mov dword [ebp - 0x50], eax
call ebx
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul dword [ebp - 0x38]
call fcn.100201c0
push esi
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
push edi
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x40]
push eax
push ecx
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x40]
push 3
push edx
call dword [sym.imp.GDI32.dll_SetStretchBltMode]
push 0xcc0020
push 0x4f
call ebx
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
fmul dword [ebp - 0x38]
call fcn.100201c0
push eax
push 0x4e
call ebx
mov dword [ebp - 0x54], eax
fild dword [ebp - 0x54]
fmul dword [ebp - 0x38]
call fcn.100201c0
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x40]
push ecx
push edx
push esi
push edi
xor ebx, ebx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_StretchBlt]
mov eax, edi
shl eax, 5
add eax, 0x1f
cdq
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
and edx, 0x1f
lea ebx, [edx + eax]
sar ebx, 5
imul ebx, esi
add ebx, ebx
add ebx, ebx
mov dword [ebp - 0x2c], edi
lea edi, [ebx + 0x36]
mov dword [ebp - 0x30], 0x28
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0x200001
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x6a], edi
mov eax, 0x4d42
xor ecx, ecx
push ebx
mov word [ebp - 0x6c], ax
mov dword [ebp - 0x62], 0x36
mov dword [ebp - 0x66], ecx
call fcn.1000eff4
add esp, 4
push ebx
push 0
push eax
mov dword [ebp - 0x38], eax
call fcn.10016770
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
add esp, 0xc
push 0
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x40]
push ecx
push esi
push 0
push edx
push eax
call dword [sym.imp.GDI32.dll_GetDIBits]
push edi
call fcn.1000eff4
add esp, 4
push edi
mov esi, eax
push 0
push esi
mov dword [ebp - 0x50], esi
call fcn.10016770
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x64]
mov dword [esi], ecx
mov cx, word [ebp - 0x60]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov word [esi + 0xc], cx
add esp, 0xc
lea edi, [esi + 0xe]
mov ecx, 0xa
lea esi, [ebp - 0x30]
push ebx
mov ebx, dword [ebp - 0x38]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x50]
lea edx, [edi + 0x36]
push ebx
push edx
call fcn.10017660
add esp, 0xc
push 0x1c
call fcn.1000f707
xor esi, esi
add esp, 4
cmp eax, esi
je 0x1000bf10
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov esi, eax
mov edx, dword [ebp - 0x4c]
push edi
mov ecx, esi
call fcn.1000c060
test eax, eax
jne 0x1000bf99
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x48]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.1000fac9
add esp, 4
test ebx, ebx
je 0x1000bf55
push ebx
call fcn.1000fac9
add esp, 4
test esi, esi
je 0x1000bf84
cmp dword [esi + 0x14], 0x10
jb 0x1000bf6a
mov eax, dword [esi]
push eax
call fcn.1000efff
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push esi
mov byte [esi], 0
call fcn.1000efff
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000f00a
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x44]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ecx], edx
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x58]
mov dword [ecx], edx
mov edx, dword [eax]
push edx
call fcn.1000eff4
add esp, 4
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x58], eax
jb 0x1000bfc9
mov ecx, dword [esi]
jmp 0x1000bfcb
mov ecx, esi
mov edx, dword [ebp - 0x5c]
mov edx, dword [edx]
push edx
push ecx
push eax
call fcn.10017660
mov eax, dword [ebp - 0x34]
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebp - 0x40]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x48]
push edx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push edi
call fcn.1000fac9
add esp, 4
test ebx, ebx
je 0x1000c011
push ebx
call fcn.1000fac9
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x1000c022
mov eax, dword [esi]
push eax
call fcn.1000efff
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push esi
mov byte [esi], 0
call fcn.1000efff
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x58]
add esp, 4
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000f00a
mov esp, ebp
pop ebp
ret 0x14