Function at 0x1000d160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10030a43
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x10042040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xfc], eax
lea edi, [eax + 0x80]
movaps xmm0, xmmword [0x1003d2e0]
xor esi, esi
movups xmmword [ebp - 0x50], xmm0
mov dword [eax], vtable.CScreenSpy.0
movaps xmm0, xmmword [0x1003d2d0]
movups xmmword [ebp - 0x40], xmm0
mov dword [eax + 0x3c], vtable.CCursorInfo.0
movaps xmm0, xmmword [0x1003d2c0]
movups xmmword [ebp - 0x30], xmm0
movaps xmm0, xmmword [0x1003d2b0]
movups xmmword [ebp - 0x20], xmm0
mov eax, dword [ebp + esi*4 - 0x50]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
inc esi
mov dword [edi], eax
lea edi, [edi + 4]
cmp esi, 0x10
jl 0x1000d1e2
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0xf0]
mov byte [edi + 0x38], 1
mov dword [edi + 0x2c], 0xcc0020
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0x10
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [edi + 0x18], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [edi + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x9c
mov dword [edi + 0x20], eax
lea eax, [ebp - 0xec]
push 0
push eax
call fcn.10013850
add esp, 0xc
mov dword [ebp - 0xc8], 0x9c
lea eax, [ebp - 0xec]
push eax
push 0xffffffffffffffff
push 0
call dword [sym.imp.USER32.dll_EnumDisplaySettingsA]
mov eax, dword [ebp - 0x80]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x7c]
push 0
mov dword [edi + 0x14], eax
call esi
push 1
mov dword [ebp - 0xf4], eax
call esi
mov esi, dword [edi + 0x10]
mov edx, eax
cmp dword [ebp - 0xf4], esi
jne 0x1000d2a7
cmp edx, dword [edi + 0x14]
jne 0x1000d2a7
xor cl, cl
jmp 0x1000d2a9
mov cl, 1
movd xmm0, dword [ebp - 0xf4]
mov eax, esi
movd xmm2, esi
cvtdq2pd xmm2, xmm2
shr eax, 0x1f
mov byte [edi + 0xcc], cl
mov ecx, dword [edi + 0x14]
push ecx
push esi
cvtdq2pd xmm0, xmm0
sub esp, 0x10
addsd xmm2, qword [eax*8 + 0x1003d300]
movd xmm1, ecx
mov eax, ecx
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
divsd xmm2, xmm0
addsd xmm1, qword [eax*8 + 0x1003d300]
movd xmm0, edx
cvtdq2pd xmm0, xmm0
movsd qword [edi + 0xd0], xmm2
divsd xmm1, xmm0
movsd qword [esp + 8], xmm1
movsd qword [esp], xmm2
push 0x1003d110
movsd qword [edi + 0xd8], xmm1
call fcn.100079f0
movups xmm0, xmmword [edi + 0xd0]
mov ecx, dword [ebp - 0xf0]
movaps xmm1, xmmword [0x1003d2f0]
divpd xmm1, xmm0
mov eax, dword [edi + 0x14]
mov esi, dword [ecx + 8]
mov ecx, esi
mov dword [ebp - 0xf4], eax
mov eax, 1
shl eax, cl
xor ecx, ecx
cmp esi, 8
cmova eax, ecx
lea eax, [eax*4 + 0x28]
push eax
movups xmmword [edi + 0xd0], xmm1
mov edi, dword [edi + 0x10]
call fcn.100118d3
mov ecx, dword [ebp - 0xf4]
add esp, 0x20
mov dword [ebp - 0xf8], eax
mov dword [eax + 8], ecx
mov ecx, 1
mov word [eax + 0xc], cx
mov dword [eax], 0x28
mov dword [eax + 4], edi
mov dword [eax + 0x10], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movzx ecx, si
mov word [eax + 0xe], cx
mov eax, ecx
mov ecx, dword [ebp - 0xf8]
mov esi, dword [ebp - 0xf0]
imul eax, edi
push 0
push 0
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
imul eax, dword [ebp - 0xf4]
shl eax, 2
mov dword [ecx + 0x14], eax
lea eax, [esi + 0x28]
push eax
push 0
push ecx
push dword [esi + 0x1c]
mov dword [esi + 0xc], ecx
mov dword [eax], 0
mov edi, dword [sym.imp.GDI32.dll_CreateDIBSection]
call edi
push eax
push dword [esi + 0x20]
mov dword [esi + 0x24], eax
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
call esi
mov ecx, dword [ebp - 0xf0]
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + 0x14]
add eax, eax
push eax
call fcn.100118d3
mov ecx, dword [ebp - 0xf0]
add esp, 4
push dword [ecx + 0x1c]
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x34], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0xf0]
push 0
push 0
mov dword [ecx + 0xc0], eax
lea eax, [ecx + 0xc8]
push eax
push 0
push dword [ecx + 0xc]
push dword [ecx + 0x1c]
call edi
mov edi, dword [ebp - 0xf0]
push eax
push dword [edi + 0xc0]
mov dword [edi + 0xc4], eax
call esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10011882
mov esp, ebp
pop ebp
ret 4