Function at 0x110e0640
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x11279148]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push esi
mov esi, dword [ecx + 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x3c], esi
test eax, eax
je 0x110e0918
push ebx
push 0
push 0
push 0
push str.DISPLAY
call dword [sym.imp.GDI32.dll_CreateDCW]
mov ebx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edi, eax
push 0x18
push edi
mov dword [ebp - 0x30], edi
call ebx
push 0x58
push edi
mov dword [ebp - 0x2c], eax
call ebx
push 0x5a
push edi
mov ebx, eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov edx, dword [ebp - 0x1c]
xor ecx, ecx
cmp dword [ebp - 0x2c], 0xffffffff
push edx
sete cl
mov dword [ebp - 0x18], eax
mov dword [esi + 0x1c], ecx
call fcn.110fe3e0
push eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
lea ecx, [ebp - 0x68]
push ecx
push 0x18
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp ebx, 0x60
jg 0x110e06f4
cmp dword [ebp - 0x18], 0x60
jg 0x110e06f4
test byte [esi + 0xd8], 2
je 0x110e0873
mov eax, dword [ebp - 0x64]
cdq
idiv dword [ebp - 0x28]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x2c], ecx
imul ecx, dword [ebp - 0x18]
mov edx, eax
imul edx, ebx
mov dword [ebp - 0x1c], eax
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [ebp - 0x30]
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
mov edx, dword [esi + 0xd8]
and dl, 2
movzx esi, dl
neg esi
sbb esi, esi
push eax
and esi, edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x30]
push ecx
mov dword [ebp - 0x34], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
lea eax, [esi + edi]
mov dword [ebp - 0x4c], eax
imul eax, dword [ebp - 0x28]
push ebx
push eax
push edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x110e0859
push eax
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x34]
push ecx
push edx
mov dword [ebp - 0x40], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x50], eax
xor eax, eax
push 0xff00ff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
push ecx
push edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
call fcn.111b7c30
mov eax, edi
sub eax, dword [ebp - 0x1c]
add esp, 0xc
cdq
sub eax, edx
mov edi, eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
sar edi, 1
add edi, eax
mov eax, ebx
sub eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x28]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x18], 0
test ebx, ebx
jle 0x110e0822
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x2c]
push 0xcc0020
push 0
push eax
mov eax, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x20]
push edx
push eax
push esi
push edi
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x1c]
add dword [ebp - 0x18], edx
add edi, dword [ebp - 0x4c]
dec ebx
jne 0x110e07f3
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call esi
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x34]
push edx
push eax
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x68]
push edx
push 0x18
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x34]
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
push eax
call ebx
mov ecx, dword [ebp - 0x20]
push ecx
call ebx
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x30]
jmp 0x110e0879
mov ebx, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call ebx
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x64]
push 0
push edi
push 0x21
push edx
cdq
idiv edi
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov ebx, dword [ebp - 0x24]
push 0xff00ff
push ebx
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetImageCount]
push ebx
mov dword [esi + 0x14], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x64]
cdq
idiv edi
test dword [esi + 0xc], 0x400
mov ecx, dword [ebp - 0x60]
mov dword [esi + 0x58], ecx
pop ebx
mov dword [esi + 0x54], eax
je 0x110e08e9
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov edx, dword [esi + 0x58]
add edx, 4
mov dword [ecx + 4], edx
jmp 0x110e08fa
lea ecx, [eax + 4]
mov eax, dword [ebp - 0x38]
mov dword [eax], ecx
mov edx, dword [esi + 0x58]
add edx, 4
mov dword [eax + 4], edx
mov eax, dword [esi + 0x54]
lea ecx, [eax + eax*2 - 4]
mov eax, dword [ebp - 0x44]
mov dword [eax], ecx
mov edx, dword [esi + 0x84]
mov ecx, dword [esi + 0x58]
lea edx, [edx + ecx + 4]
mov dword [eax + 4], edx
jmp 0x110e0927
mov eax, dword [esi + 0x84]
add eax, 4
mov dword [edi + 4], eax
mov dword [edx + 4], eax
push 0
push 0
push 0xff00ff
push 0
push 9
push 0x41b
call fcn.110fe3e0
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x18], eax
xor ecx, ebp
pop esi
call fcn.111d9022
mov esp, ebp
pop ebp
ret 0x10