Function at 0x1000833d
Capabilities:
Capture screenshot

Disassembly:
push 0x260
mov eax, 0x1003d68a
call fcn.1002553a
mov eax, dword [ebp + 8]
xor ebx, ebx
push ebx
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x24d], bl
call dword [sym.imp.USER32.dll_GetWindowDC]
mov edi, eax
mov dword [ebp - 0x260], edi
cmp edi, ebx
je 0x10008622
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call esi
push 1
mov dword [ebp - 0x254], 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.10026b90
add esp, 0xc
push 0x9c
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.10026b90
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 0x100083eb
mov eax, dword [ebp - 0xa0]
mov esi, dword [ebp - 0x9c]
mov dword [ebp - 0x254], eax
push esi
push dword [ebp - 0x254]
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push edi
mov dword [ebp - 0x258], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov dword [ebp - 0x25c], edi
cmp dword [ebp - 0x258], ebx
je 0x100085ed
cmp edi, ebx
je 0x10008601
push dword [ebp - 0x258]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebx
push ebx
push dword [ebp - 0x260]
mov dword [ebp - 0x268], eax
push esi
push dword [ebp - 0x254]
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 - 0x24c]
mov dword [ebp - 4], ebx
call fcn.10002d54
mov byte [ebp - 4], 1
cmp dword [0x1004f6fc], ebx
je 0x100084d5
mov eax, edi
push eax
call fcn.1000f305
pop ecx
test eax, eax
je 0x100084d5
lea eax, [ebp - 0x30]
push eax
mov ecx, edi
call fcn.10002db0
push 0x100420c8
push eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 2
call fcn.10007122
add esp, 0xc
push 0xffffffffffffffff
lea ecx, [ebp - 0x50]
push ecx
xor ebx, ebx
mov byte [ebp - 4], 3
call fcn.10001ae4
push ebx
push 1
lea esi, [ebp - 0x6c]
call fcn.10001b91
push ebx
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10001b91
lea eax, [ebp - 0x30]
push eax
call fcn.1000c5d1
pop ecx
push 0xffffffffffffffff
push ebx
lea esi, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.100071db
push ebx
push 1
lea esi, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10001b91
push ebx
push dword [ebp - 0x254]
lea eax, [ebp - 0x50]
push dword [ebp - 0x25c]
call fcn.10003508
add esp, 0xc
push dword [ebp - 0x25c]
call fcn.100034b4
pop ecx
push 0xf
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x258]
call fcn.10002c35
pop ecx
pop ecx
mov dword [ebp - 0x254], eax
cmp eax, ebx
je 0x100085c5
lea eax, [ebp - 0x60]
push eax
call fcn.1000342a
pop ecx
test al, al
je 0x100085b9
mov dword [ebp - 0x34], 1
mov esi, 0x10041900
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 - 0x254]
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x264]
mov dword [ebp - 0x20], 1
push dword [esi + 4]
mov dword [ebp - 0x1c], 4
mov dword [ebp - 0x26c], 0x28
call sub.gdiplus.dll_GdipSaveImageToFile
cmp eax, ebx
je 0x100085ac
mov dword [esi + 8], eax
jmp 0x100085ae
xor eax, eax
cmp eax, ebx
jne 0x100085b9
mov byte [ebp - 0x24d], 1
mov ecx, dword [ebp - 0x254]
mov eax, dword [ecx]
push 1
call dword [eax]
push dword [ebp - 0x268]
push dword [ebp - 0x25c]
call dword [sym.imp.GDI32.dll_SelectObject]
lea esi, [ebp - 0x24c]
call fcn.10003946
push ebx
push 1
lea esi, [ebp - 0x50]
call fcn.10001b91
cmp dword [ebp - 0x25c], ebx
je 0x10008601
push dword [ebp - 0x25c]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0x258], ebx
je 0x10008615
push dword [ebp - 0x258]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x260]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov al, byte [ebp - 0x24d]
call fcn.100255bd
ret