Function at 0x140031cf0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x14013d0a8]
xor rax, rsp
mov qword [rbp + 0x20], rax
movzx esi, dl
mov r13, rcx
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov edx, 0x7f02
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x40], r14
mov dword [rbp - 0x38], r14d
mov dword [rsp + 0x40], r14d
mov qword [rbp - 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
xor edx, edx
mov rcx, r13
call fcn.140032900
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov r8, qword [r13 + 0x50]
mov rax, qword [r13 + 0x58]
sub rax, r8
sar rax, 3
movabs r15, 0x6666666666666667
cmp rax, 1
jne 0x140031de0
mov r8, qword [r8]
cmp qword [r8 + 0x250], r14
je 0x140031da9
mov edx, dword [r8 + 0x23c]
jmp 0x140031dca
mov rcx, qword [r8 + 0x658]
sub rcx, qword [r8 + 0x650]
mov rax, r15
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov ecx, dword [r8 + 0x680]
add ecx, edx
cmp ecx, 0x2000000
jbe 0x140031de0
mov dil, 1
jmp 0x140031de3
xor dil, dil
mov byte [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1042
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test eax, eax
js 0x140031e66
movsxd r8, ebx
lea rdx, [rbp - 0x70]
mov rcx, r13
call fcn.140021860
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x140031e5d
mov ecx, dword [rax + 0x10]
mov rax, qword [rax + 0x1c]
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], ecx
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1027
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15d, ebx
sub r15d, eax
mov dword [rsp + 0x40], r15d
movabs r15, 0x6666666666666667
lea rcx, [rbp - 0x70]
call fcn.140028220
lea r12, [r13 + 0x30]
test sil, sil
je 0x140032270
cmp byte [r12], 0
je 0x140032270
mov rcx, qword [r13 + 0x40]
sub rcx, qword [r13 + 0x38]
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rbx, qword [r13 + 0x28]
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x54], r14d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rsp + 0x58], rax
lea rcx, str.Applying_Event_Filter
call fcn.1400b0640
mov rdx, rax
lea rcx, str.Applying_Event_Filter
call fcn.1400b0780
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x78], r14
cmp dword [rsp + 0x50], 0
je 0x140031fb7
test rbx, rbx
je 0x140031f20
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x18]
add eax, dword [rbp + 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x1c]
add eax, dword [rbp + 0x14]
jmp 0x140031f3c
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x78], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x7c], eax
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetAncestor]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x140031f8f
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x140031f8f
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x140031f68
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x50]
lea r8, [0x1400219f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x80], rax
mov edi, r14d
mov dword [rsp + 0x38], r14d
mov esi, r14d
mov dword [rsp + 0x34], r14d
mov rcx, qword [r13 + 0x40]
sub rcx, qword [r13 + 0x38]
movabs r10, 0x2aaaaaaaaaaaaaab
mov rax, r10
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
test edx, edx
je 0x1400321d0
lea r9, vtable.CEventRef.0
nop dword [rax]
mov r14d, edi
mov r8, qword [r12 + 8]
mov rcx, qword [r12 + 0x10]
sub rcx, r8
mov rax, r10
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rbx, [r14 + r14*2]
shl rbx, 3
cmp r14, rdx
jb 0x14003204a
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x70], r9
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
jmp 0x140032136
lea rdi, [rbx + r8]
mov rax, qword [r13 + 0x50]
cmp byte [r12], 0
je 0x14003206e
mov r8d, dword [rdi + 0x10]
lea rdx, [rbp - 0x70]
mov rcx, qword [rax]
call fcn.1400abb30
jmp 0x140032132
mov ecx, dword [rdi + 0x10]
shr rcx, 0x19
mov r8, r14
mov rdx, rdi
mov rcx, qword [rax + rcx*8]
call fcn.1400ac410
mov esi, eax
cmp eax, 0xffffffff
jne 0x1400320ce
mov ecx, dword [rdi + 0x10]
shr rcx, 0x19
mov rax, qword [r13 + 0x50]
mov rcx, qword [rax + rcx*8]
mov rdx, qword [r12 + 8]
add rdx, rbx
xor r8d, r8d
call fcn.1400ab960
mov esi, eax
cmp eax, 0xffffffff
jne 0x1400320ce
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
lea rax, vtable.CEventRef.0
mov qword [rbp - 0x70], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
jmp 0x14003212e
mov rax, qword [r12 + 8]
mov r9d, dword [rbx + rax + 0x10]
and r9d, 0x1ffffff
cmp r9d, esi
je 0x1400320ff
mov r8d, dword [rdi + 0x10]
shr r8d, 0x19
mov dword [rsp + 0x20], esi
mov rdx, r14
lea rcx, str.Display_index__d_moved_from_snapshot__d:_d_to__d_n
call fcn.1400737b0
mov rcx, qword [r12 + 8]
mov eax, esi
xor eax, dword [rcx + rbx + 0x10]
and eax, 0x1ffffff
xor dword [rcx + rbx + 0x10], eax
mov ecx, dword [rdi + 0x10]
shr rcx, 0x19
mov rax, qword [r13 + 0x50]
mov r8d, esi
lea rdx, [rbp - 0x70]
mov rcx, qword [rax + rcx*8]
call fcn.1400abb30
mov esi, dword [rsp + 0x34]
mov edi, dword [rsp + 0x38]
lea rdx, [rbp - 0x70]
lea rcx, [r13 + 0x100]
call fcn.14002da70
test al, al
je 0x14003216e
mov rdx, qword [r13 + 0x38]
movups xmm1, xmmword [rbx + rdx]
movsd xmm0, qword [rbx + rdx + 0x10]
mov eax, esi
lea rcx, [rax + rax*2]
movups xmmword [rdx + rcx*8], xmm1
movsd qword [rdx + rcx*8 + 0x10], xmm0
inc esi
mov dword [rsp + 0x34], esi
mov rax, qword [rsp + 0x48]
inc eax
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x54], eax
lea rcx, [rbp - 0x70]
cmp byte [rsp + 0x30], 0
jne 0x1400321cb
call fcn.140028220
inc edi
mov dword [rsp + 0x38], edi
mov rcx, qword [r13 + 0x40]
sub rcx, qword [r13 + 0x38]
movabs r10, 0x2aaaaaaaaaaaaaab
mov rax, r10
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp edi, edx
lea r9, vtable.CEventRef.0
jb 0x140032000
jmp 0x1400321d0
call fcn.140028220
mov r9d, esi
mov rdi, qword [r13 + 0x40]
mov r10, qword [r13 + 0x38]
mov rcx, rdi
sub rcx, r10
movabs r11, 0x2aaaaaaaaaaaaaab
mov rax, r11
imul rcx
mov rcx, rdx
sar rcx, 2
mov rax, rcx
shr rax, 0x3f
add rcx, rax
cmp r9, rcx
jae 0x140032215
lea rax, [r9 + r9*2]
lea rcx, [r10 + rax*8]
mov qword [r13 + 0x40], rcx
jmp 0x14003226b
jbe 0x14003226b
mov r8, qword [r13 + 0x48]
sub r8, r10
mov rax, r11
imul r8
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jbe 0x14003224a
lea r8, [rsp + 0x3c]
mov rdx, r9
lea rcx, [r13 + 0x38]
call fcn.140025a20
jmp 0x14003226b
sub r9, rcx
je 0x140032267
lea rbx, [r9 + r9*2]
shl rbx, 3
mov r8, rbx
xor edx, edx
mov rcx, rdi
call fcn.1400b88a0
add rdi, rbx
mov qword [r13 + 0x40], rdi
jmp 0x14003258e
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x140032281
mov qword [r12 + 0x10], rax
mov byte [r12], dil
mov r9d, r14d
mov esi, r14d
mov r8d, r14d
mov r11, qword [r13 + 0x50]
mov r10, qword [r13 + 0x58]
sub r10, r11
sar r10, 3
test r10, r10
je 0x1400322f4
mov rax, r14
nop word [rax + rax]
mov rax, qword [r11 + rax*8]
cmp qword [rax + 0x250], rsi
je 0x1400322c5
mov edx, dword [rax + 0x23c]
jmp 0x1400322e6
mov rcx, qword [rax + 0x658]
sub rcx, qword [rax + 0x650]
mov rax, r15
imul rcx
sar rdx, 1
mov rax, rdx
shr rax, 0x3f
add rdx, rax
add r9d, edx
inc r8d
mov eax, r8d
cmp rax, r10
jb 0x1400322b0
mov rbx, qword [r13 + 0x28]
mov dword [rsp + 0x50], r9d
mov dword [rsp + 0x54], r14d
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov qword [rsp + 0x58], rax
lea rcx, str.Applying_Event_Filter
call fcn.1400b0640
mov rdx, rax
lea rcx, str.Applying_Event_Filter
call fcn.1400b0780
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x78], r14
cmp dword [rsp + 0x50], esi
je 0x14003240f
test rbx, rbx
je 0x140032373
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [rbp + 0x18]
add eax, dword [rbp + 0x10]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x78], eax
mov eax, dword [rbp + 0x1c]
add eax, dword [rbp + 0x14]
jmp 0x14003238f
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x78], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x7c], eax
mov edx, 2
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetAncestor]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
mov qword [rbp - 0x78], rax
test rax, rax
je 0x1400323e7
nop dword [rax + rax]
call qword [sym.imp.USER32.dll_GetDesktopWindow]
cmp rbx, rax
je 0x1400323e7
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_EnableWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetParent]
mov rbx, rax
test rax, rax
jne 0x1400323c0
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r14d
lea r9, [rsp + 0x50]
lea r8, [0x1400219f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp - 0x80], rax
lea rcx, [r13 + 0x100]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [r13 + 0x130]
sub rax, qword [r13 + 0x128]
mov qword [rsp + 0x48], rax
lea rcx, [r13 + 0x100]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, r14d
mov dword [rsp + 0x34], ecx
cmp byte [rsp + 0x30], cl
jne 0x14003258e
nop dword [rax]
mov r14, qword [r13 + 0x50]
mov rax, qword [r13 + 0x58]
sub rax, r14
sar rax, 3
mov r15d, ecx
cmp r15, rax
jae 0x14003258e
mov r14, qword [r14 + r15*8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
xor ebx, ebx
mov rcx, r14
call fcn.140030370
test eax, eax
je 0x140032570
nop word [rax + rax]
mov edi, ebx
mov r8d, ebx
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.1400abb30
nop
mov rdx, qword [rbp - 0x60]
test rdx, rdx
je 0x140032541
movzx ecx, word [rdx + 0x28]
mov r9d, dword [rdx + 0x2c]
add r9d, 0x34
lea r9d, [r9 + rcx*8]
mov rax, qword [rbp - 0x68]
mov r8, qword [rax + 8]
cmp rdx, r8
jb 0x140032541
mov ecx, dword [rax + 0x18]
add rcx, r8
lea rax, [r9 + rdx]
cmp rax, rcx
ja 0x140032541
cmp qword [rsp + 0x48], 0x20
jae 0x1400324f7
mov eax, dword [rdx + 0x10]
mov rcx, qword [rdx + 0x1c]
mov qword [rbp - 0x10], rcx
mov dword [rbp - 8], eax
movaps xmm0, xmmword [rbp - 0x10]
jmp 0x140032521
lea rdx, [rbp - 0x70]
lea rcx, [r13 + 0x100]
call fcn.14002da70
test al, al
je 0x140032541
mov rcx, qword [rbp - 0x60]
mov eax, dword [rcx + 0x10]
mov rcx, qword [rcx + 0x1c]
mov qword [rbp], rcx
mov dword [rbp + 8], eax
movaps xmm0, xmmword [rbp]
mov qword [rsp + 0x20], 0xffffffffffffffff
movdqa xmmword [rbp - 0x20], xmm0
mov r9, rdi
mov r8, r15
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.140025ce0
inc esi
mov dword [rsp + 0x54], esi
lea rcx, [rbp - 0x70]
cmp byte [rsp + 0x30], 0
jne 0x14003256b
call fcn.140028220
inc ebx
mov rcx, r14
call fcn.140030370
cmp ebx, eax
jb 0x140032490
jmp 0x140032570
call fcn.140028220
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov ecx, dword [rsp + 0x34]
inc ecx
mov dword [rsp + 0x34], ecx
cmp byte [rsp + 0x30], 0
je 0x140032450
lea rcx, [rsp + 0x50]
call fcn.140020fe0
cmp byte [rsp + 0x30], 0
je 0x1400325be
mov r9d, 0x40
lea r8, [0x1400f7478]
lea rdx, str.Operation_cancelled:_The_listview_data_may_be_incomplete
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_MessageBoxW]
nop
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor edx, edx
mov rcx, r13
call fcn.140032900
mov rdi, qword [r13 + 0xd0]
mov rbx, qword [r13 + 0xc8]
cmp rbx, rdi
je 0x1400325f4
mov rax, qword [rbx]
xor ecx, ecx
call rax
add rbx, 8
cmp rbx, rdi
jne 0x1400325e4
cmp qword [rbp - 0x40], 0
je 0x140032681
mov qword [rbp - 0x28], r13
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov r8b, 1
lea rdx, [rbp - 0x40]
mov rcx, r12
call fcn.140026280
mov ebx, eax
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r8b, 1
mov edx, ebx
mov rcx, qword [r13 + 0x28]
call fcn.140072b30
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1027
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
sub ebx, dword [rsp + 0x40]
sub ebx, eax
xor r9d, r9d
mov edx, 0x1033
lea r8d, [r9 + 1]
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
shr eax, 0x10
imul ebx, eax
movsxd r9, ebx
xor r8d, r8d
mov edx, 0x1014
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_SendMessageW]
xor r8d, r8d
xor edx, edx
mov rcx, qword [r13 + 0x28]
call qword [sym.imp.USER32.dll_InvalidateRect]
xor ecx, ecx
call fcn.14009eaf0
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400b5660
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret