Function at 0x10005fbd
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
push ebx
xor eax, eax
mov dword [ebp - 0x20], ecx
push esi
push edi
push eax
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
mov dword [ebp - 0x18], edi
test edi, edi
je 0x100061f1
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ebx, eax
test ebx, ebx
je 0x100061f1
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 8
push edi
call esi
push 0xa
push edi
mov dword [ebp - 4], eax
call esi
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov esi, eax
test esi, esi
je 0x100061f1
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x100061f1
push 0xcc0020
xor eax, eax
push eax
push eax
push edi
push dword [ebp - 0xc]
push dword [ebp - 4]
push eax
push eax
push ebx
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x14
push eax
call dword [sym.imp.USER32.dll_GetCursorInfo]
xor ecx, ecx
inc ecx
test eax, eax
je 0x100060c4
cmp dword [ebp - 0x30], ecx
jne 0x100060c4
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_CopyIcon]
lea ecx, [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x74]
mov esi, dword [ebp - 0x24]
sub edi, dword [ebp - 0x84]
sub esi, dword [ebp - 0x80]
push eax
push 0x18
push dword [ebp - 0x78]
call dword [sym.imp.GDI32.dll_GetObjectW]
push 3
push 0
push 0
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebp - 0x2c]
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov edi, dword [ebp - 0x18]
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, eax
test esi, esi
je 0x100061f1
lea eax, [ebp - 0xa0]
push eax
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp - 0x9c]
xor edx, edx
mov ecx, dword [ebp - 0x98]
inc edx
mov dword [ebp - 0x58], eax
mov word [ebp - 0x50], dx
shl eax, 5
push 0x20
pop edx
mov word [ebp - 0x4e], dx
add eax, 0x1f
xor edx, edx
mov dword [ebp - 0x5c], 0x28
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
cdq
and edx, 0x1f
mov dword [ebp - 0x54], ecx
add eax, edx
sar eax, 5
imul eax, ecx
shl eax, 2
push eax
mov dword [ebp - 4], eax
call fcn.1000ac19
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
je 0x100061f1
push 0
lea ecx, [ebp - 0x5c]
push ecx
push eax
push dword [ebp - 0x98]
push 0
push esi
push ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [ebp - 4]
add eax, 0x36
push eax
mov dword [ebp - 0xc], eax
call fcn.1000ac19
mov dword [ebp - 8], eax
pop ecx
test eax, eax
je 0x100061f1
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x6a], ecx
mov ecx, 0x4d42
mov word [ebp - 0x6c], cx
lea ecx, [ebp - 0x6c]
push 0xe
push ecx
push eax
mov dword [ebp - 0x62], 0x36
call fcn.1000acf6
add esp, 0xc
lea eax, [ebp - 0x5c]
push 0x28
push eax
mov eax, dword [ebp - 8]
add eax, 0xe
push eax
call fcn.1000acf6
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, 0x36
push dword [ebp - 4]
push dword [ebp - 0x10]
push eax
call fcn.1000acf6
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 8]
add esp, 0xc
and dword [ebp - 4], 0
push eax
call fcn.10010406
mov dword [ebp - 0x14], eax
pop ecx
test eax, eax
je 0x100061f1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x100061f1
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.1000ac2f
lea eax, [ebp - 8]
push 0
push eax
call fcn.1000ac2f
add esp, 0x10
test ebx, ebx
je 0x10006215
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
test edi, edi
je 0x10006220
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
test esi, esi
je 0x1000622b
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret