Function at 0x417000
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x588df2
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5f3fcc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
lea eax, [edi + 8]
push eax
push 4
push edi
push 0x40d200
mov dword [ebp - 0x74], edi
push 0
mov dword [edi], vtable.Thread.0
mov byte [edi + 0xc], 0
push 0
mov dword [ebp - 0x5c], esi
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 4], 0
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x64]
mov dword [edi + 0x18], esi
lea esi, [edi + 0x20]
mov dword [edi], vtable.Win32MirrordriverThread.0
mov dword [edi + 0x1c], eax
mov dword [esi], vtable.FrameBuffer.0
mov dword [esi + 4], vtable.Dimension.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x24], 0
movups xmmword [esi + 0x10], xmm0
mov word [esi + 0x20], 0
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
add edi, 0x58
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov eax, dword [ebp - 0x58]
mov byte [ebp - 4], 3
cmp edi, eax
je 0x417108
push dword [ebp - 0x74]
mov ecx, edi
push dword [eax + 4]
push dword [eax]
call fcn.004103c0
push dword [ebp - 0x64]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x5c]
call dword [eax + 0x58]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0
push 0
call dword [eax + 0xc]
push 0xc0
call fcn.00422160
mov esi, eax
add esp, 4
mov dword [ebp - 0x70], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x417155
push 0xc0
push 0
push esi
call fcn.0056a3b0
add esp, 0xc
mov ecx, esi
call fcn.0041bea0
jmp 0x417157
xor eax, eax
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x68]
mov dword [esi + 0x64], eax
mov edi, dword [edi]
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x70], eax
cmp edi, eax
je 0x41742b
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x44], vtable.Rect.0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], vtable.Rect.0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
push 0x28
mov byte [ebp - 4], 5
call fcn.00422160
add esp, 4
mov dword [ebp - 0x60], eax
test eax, eax
je 0x41720c
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
movq qword [eax + 0x20], xmm0
mov dword [eax], vtable.FrameBuffer.0
mov dword [eax + 4], vtable.Dimension.0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
movups xmmword [eax + 0x10], xmm0
mov word [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmmword [eax + 0x10], xmm0
mov word [eax + 0x20], 0
jmp 0x41720e
xor eax, eax
mov esi, dword [edi]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x58]
mov edi, dword [edi + 4]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
neg ecx
neg edx
lea eax, [ecx + esi]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x6c]
add eax, ecx
mov ecx, dword [ebp - 0x60]
add eax, esi
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x38], eax
lea eax, [edx + edi]
mov dword [ebp - 0x3c], eax
lea eax, [edx + ecx]
add eax, edi
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x10]
test eax, eax
je 0x41727b
cmp eax, 2
je 0x41727b
mov eax, dword [esi + 8]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
jmp 0x417284
mov eax, dword [esi + 8]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x5c]
push dword [eax + 0x10]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push 0x5d32dc
push dword [0x5fd6d0]
call fcn.0040b090
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
push str.m_screens_rect___d__d__dx_d
push dword [0x5fd6d0]
call fcn.0040b090
mov eax, dword [esi + 0x18]
add esp, 0x30
mov edi, dword [esi + 0x14]
mov dword [ebp - 0x6c], eax
cmp edi, eax
je 0x41735c
push 0x60
call fcn.00422160
mov esi, eax
add esp, 4
mov dword [ebp - 0x78], esi
mov byte [ebp - 4], 6
test esi, esi
je 0x41730d
push 0x60
push 0
push esi
call fcn.0056a3b0
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
push dword [ebp - 0x48]
push dword [edi + 4]
push dword [edi]
call fcn.0041a640
mov esi, eax
jmp 0x41730f
xor esi, esi
push dword [ebp - 0x64]
mov byte [ebp - 4], 5
lea edx, [ebp - 0x2c]
mov ecx, dword [ebp - 0x48]
push edx
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, esi
call fcn.0041a8b0
test eax, eax
jne 0x41734d
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], esi
cmp dword [ebp - 0x4c], eax
je 0x417340
mov dword [eax], esi
add dword [ebp - 0x50], 4
jmp 0x41734d
lea ecx, [ebp - 0x60]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.00407810
add edi, 8
cmp edi, dword [ebp - 0x6c]
jne 0x4172d2
mov esi, dword [ebp - 0x58]
mov edi, dword [ebp - 0x68]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x54]
push eax
mov esi, dword [edi + 0x50]
cmp dword [edi + 0x54], esi
je 0x4173c8
mov ecx, esi
call fcn.00418540
mov eax, dword [ebp - 0x48]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], vtable.Rect.0
mov eax, dword [ebp - 0x40]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], vtable.Rect.0
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x40], eax
add dword [edi + 0x50], 0x44
jmp 0x4173d1
push esi
lea ecx, [edi + 0x4c]
call fcn.004180c0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x2c], vtable.Rect.0
mov dword [ebp - 0x44], vtable.Rect.0
test edx, edx
je 0x417416
mov ecx, dword [ebp - 0x4c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x41740c
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417479
push ecx
push edx
call fcn.00567d94
add esp, 8
mov edi, dword [ebp - 0x58]
add edi, 0x20
mov dword [ebp - 0x58], edi
cmp edi, dword [ebp - 0x70]
jne 0x417174
mov esi, dword [ebp - 0x68]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 4]
sub dword [edx + 0xc], eax
sub dword [edx + 0x10], ecx
mov dword [edx + 4], 0
mov dword [edx + 8], 0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
mov eax, esi
setne cl
mov byte [esi + 0xc], cl
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.00567879
mov esp, ebp
pop ebp
ret 0x14
call fcn.0056d4c2
int3