Function at 0x1000691a
Capabilities:
Capture screenshot

Disassembly:
push 0x210
mov eax, 0x1003bc2e
call fcn.10023bba
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
mov dword [ebp - 0x214], eax
mov byte [ebp - 0x1fd], bl
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [ebp - 0x210], edi
cmp edi, ebx
je 0x10006bfd
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
push 1
mov dword [ebp - 0x204], eax
call esi
mov esi, eax
xor eax, eax
push 0x3e
mov word [ebp - 0x14c], ax
lea eax, [ebp - 0x14a]
push ebx
push eax
call fcn.10025220
add esp, 0xc
push 0x9c
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.10025220
mov eax, 0xdc
add esp, 0xc
mov word [ebp - 0x108], ax
lea eax, [ebp - 0x14c]
push eax
push 0xffffffffffffffff
push ebx
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
test eax, eax
je 0x100069c8
mov eax, dword [ebp - 0xa0]
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0x204], eax
push esi
push dword [ebp - 0x204]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
mov dword [ebp - 0x20c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [ebp - 0x208], edi
cmp dword [ebp - 0x20c], ebx
je 0x10006bc8
cmp edi, ebx
je 0x10006bdc
push dword [ebp - 0x20c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebx
push ebx
push dword [ebp - 0x210]
mov dword [ebp - 0x218], eax
push esi
push dword [ebp - 0x204]
push ebx
push ebx
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], ax
lea edi, [ebp - 0x1fc]
mov dword [ebp - 4], ebx
call fcn.10002d3d
mov byte [ebp - 4], 1
cmp dword [0x1004d598], ebx
je 0x10006ab2
mov eax, edi
push eax
call fcn.1001b21a
pop ecx
test eax, eax
je 0x10006ab2
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.10002d78
push 0x10040050
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 2
call fcn.10005fde
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 3
call fcn.10001a8c
push ebx
push 1
lea esi, [ebp - 0x6c]
call fcn.10001b39
push ebx
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10001b39
lea eax, [ebp - 0x30]
push eax
call fcn.1000ab1c
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.10006097
push ebx
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10001b39
push dword [ebp - 0x204]
lea eax, [ebp - 0x50]
push dword [ebp - 0x208]
call fcn.100033b7
push dword [ebp - 0x208]
call fcn.10003363
add esp, 0xc
push 0xf
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x20c]
call fcn.10002c1e
pop ecx
pop ecx
mov dword [ebp - 0x204], eax
cmp eax, ebx
je 0x10006ba0
lea eax, [ebp - 0x60]
push eax
call fcn.100032d9
pop ecx
test al, al
je 0x10006b94
mov dword [ebp - 0x34], 1
mov esi, 0x1003f8f0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x204]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x214]
mov dword [ebp - 0x20], 1
push dword [esi + 4]
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x21c], 0x28
call sub.gdiplus.dll_GdipSaveImageToFile
cmp eax, ebx
je 0x10006b87
mov dword [esi + 8], eax
jmp 0x10006b89
xor eax, eax
cmp eax, ebx
jne 0x10006b94
mov byte [ebp - 0x1fd], 1
mov ecx, dword [ebp - 0x204]
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp - 0x218]
push dword [ebp - 0x208]
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [ebp - 0x1fc]
call fcn.10003794
push ebx
push 1
lea esi, [ebp - 0x50]
call fcn.10001b39
cmp dword [ebp - 0x208], ebx
je 0x10006bdc
push dword [ebp - 0x208]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x20c], ebx
je 0x10006bf0
push dword [ebp - 0x20c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x210]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov al, byte [ebp - 0x1fd]
call fcn.10023c3d
ret