Function at 0x10010150
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x101e3070]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x1c]
push esi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
push edi
mov dword [ebp - 0x64], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x58], eax
test eax, eax
jne 0x100101a2
mov eax, 0xffffff9b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret 0x1c
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x100101d1
push str.SetProcessDPIAware
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x100101ce
call eax
push esi
call edi
push esi
call edi
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x4f
call esi
push 0x4e
mov dword [ebp - 0x54], eax
call esi
push 0x4c
mov ebx, eax
call esi
push 0x4d
mov edi, eax
call esi
push dword [ebp - 0x58]
mov esi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
push ebx
push dword [ebp - 0x58]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push esi
push edi
mov edi, dword [ebp - 0x58]
push edi
push dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
push ebx
mov ebx, dword [ebp - 0x5c]
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x10010274
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x68]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x60]
call esi
push ebx
call esi
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, 0xffffff9a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret 0x1c
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
mov dword [ebp - 0x54], edi
test edi, edi
je 0x100102b2
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0
push eax
push 0
push dword [ebp - 0x60]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x54]
mov dword [edi + 4], eax
jmp 0x100102b4
xor edi, edi
mov ebx, dword [ebp - 0x58]
mov esi, dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
push 0
call esi
push dword [ebp - 0x5c]
push 0
call esi
push dword [ebp - 0x68]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x60]
call esi
push dword [ebp - 0x5c]
call esi
push ebx
call esi
lea edx, [ebp - 0x4c]
call fcn.10010040
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [0x10183344]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x50]
push eax
push 1
push 0
mov dword [ebp - 0x3c], 1
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x28], 1
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x50]
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipSaveImageToStream]
test eax, eax
je 0x1001033e
mov dword [edi + 8], eax
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov eax, dword [ebp - 0x50]
lea edx, [ebp - 0x1c]
push edx
xorps xmm0, xmm0
push 2
mov ecx, dword [eax]
movlpd qword [ebp - 0x6c], xmm0
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x6c]
push esi
push edi
push eax
call dword [ecx + 0x14]
test eax, eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
je 0x1001038a
push eax
call dword [ecx + 8]
mov eax, 0xffffff99
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret 0x1c
push 0
push 0
push esi
push edi
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x100103b9
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret 0x1c
mov esi, dword [ebp - 0x1c]
cmp esi, 0x500000
jbe 0x100103ea
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x64]
mov dword [eax], esi
mov eax, 0xfffffff5
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret 0x1c
cmp esi, 0x2800
jae 0x10010418
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x64]
mov dword [eax], esi
mov eax, 0xfffffff4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp + 0x14]
mov edi, dword [eax]
sub edi, esi
mov eax, edi
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp + 0x10]
jge 0x10010451
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x64]
mov dword [eax], edi
mov eax, 0xd
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret 0x1c
push esi
call fcn.101609af
mov ecx, dword [ebp - 0x50]
add esp, 4
mov edi, eax
lea eax, [ebp - 0x10]
mov edx, dword [ecx]
push eax
push esi
push edi
push ecx
call dword [edx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [eax]
je 0x1001049d
call dword [ecx + 8]
test edi, edi
je 0x10010485
push edi
call fcn.1015bd72
add esp, 4
mov eax, 0xffffff97
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100a66bf
mov esp, ebp
pop ebp
ret 0x1c
call dword [ecx + 8]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov dword [eax], edi
mov eax, dword [ebp - 0x74]
pop edi
mov dword [eax], esi
mov eax, 1
pop esi
pop ebx
call fcn.100a66bf
mov esp, ebp
pop ebp
ret 0x1c