Function at 0x140051d30
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x770]
sub rsp, 0x870
movaps xmmword [rsp + 0x860], xmm6
mov rax, qword [0x140379a08]
xor rax, rsp
mov qword [rbp + 0x750], rax
mov r13, r8
mov qword [rbp - 0x70], r8
mov rbx, rdx
mov qword [rsp + 0x78], rdx
mov r15, rcx
xor r12d, r12d
mov qword [rbp - 0x48], r12
mov qword [rbp + 0x20], r12
movsxd rcx, dword [r8 + 0x108]
lea r14d, [r12 + 1]
test ecx, ecx
js 0x140051e78
mov rax, qword [r15 + 0x48]
test rax, rax
je 0x140051da6
mov edx, dword [rax]
jmp 0x140051da9
mov edx, r12d
cmp ecx, edx
jge 0x140051e78
mov rax, qword [rax + 8]
mov rdi, qword [rax + rcx*8]
mov qword [rbp + 0x20], rdi
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x14006c37f.0]
mov qword [rbp - 0x48], rax
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x28]
mov edx, r14d
mov rcx, rdi
call qword [case.0x14006c37f.0]
cmp dword [r13], r14d
jne 0x140051e78
mov rcx, qword [r15 + 0x28]
mov edx, r12d
mov dword [rbp - 0x10], edx
mov rcx, qword [rcx + 0x68]
test rcx, rcx
je 0x140051e15
mov rax, qword [rcx]
lea rdx, [rbp - 0x10]
mov rax, qword [rax + 0x30]
call qword [case.0x14006c37f.0]
mov edx, dword [rbp - 0x10]
test dl, 2
je 0x140051e78
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + 0x4d0]
test rcx, rcx
je 0x140051e49
mov rax, qword [rcx]
xor r9d, r9d
lea r8d, [r9 + 0x10]
mov rdx, rdi
mov rax, qword [rax + 0x48]
call qword [case.0x14006c37f.0]
test eax, eax
je 0x140053f65
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + 0x4d0]
test rcx, rcx
je 0x140051e78
mov rax, qword [rcx]
xor r9d, r9d
lea r8d, [r9 + 0x13]
mov rdx, rdi
mov rax, qword [rax + 0x48]
call qword [case.0x14006c37f.0]
test eax, eax
je 0x140053f65
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov rdi, qword [rbp - 0x48]
mov r9, rdi
movzx r8d, r14b
mov rdx, r13
mov rcx, r15
call fcn.1400799f0
lea r9, [rbp]
mov r8, r13
mov rdx, rbx
mov rcx, r15
call fcn.1400559b4
lea r9, [rbp]
mov r8, r13
mov rdx, rbx
mov rcx, r15
call fcn.1400552c0
mov eax, dword [rbp + 0xc]
cmp eax, 0xffff
jne 0x140051ed9
lea r9, [rbp]
mov r8, r13
mov rdx, rbx
mov rcx, r15
call fcn.140227410
jmp 0x140051eef
test eax, eax
je 0x140051eef
lea r9, [rbp]
mov r8, r13
mov rdx, rbx
mov rcx, r15
call fcn.14022756c
cmp byte [rbp + 1], r12b
je 0x140051f48
mov rax, qword [r15 + 0x28]
mov ecx, dword [rax + 0x1c4]
lea eax, [rcx - 4]
cmp eax, r14d
jbe 0x140051f15
mov eax, 0xffffff
cmp ecx, r14d
cmove eax, r12d
jmp 0x140051f26
mov ecx, 8
call qword [sym.imp.USER32.dll_GetSysColor]
nop dword [rax + rax]
lea rdx, [r13 + 4]
mov dword [rsp + 0x28], r12d
mov ecx, dword [r13 + reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_292]
mov dword [rsp + 0x20], ecx
mov r9d, eax
mov r8b, 0xff
mov rcx, rbx
call fcn.14004fee0
lea r9, [rbp]
mov r8, r13
mov rdx, rbx
mov rcx, r15
call fcn.140054b10
cmp dword [r13 + 0xf8], r12d
je 0x14005252c
mov rax, qword [r15 + 0x28]
mov rdi, qword [rax + 0x1d0]
xor sil, sil
test rdi, rdi
jne 0x140051fe8
xorps xmm0, xmm0
movdqu xmmword [rbp + reloc.SHELL32.dll_SHChangeNotification_Lock], xmm0
mov qword [rbp + 0x294], r12
mov dword [rbp + 0x270], PathIsExe
mov dword [rbp + 0x274], r14d
mov dword [rbp + 0x278], 0xffffffff
mov qword [rbp + 0x27c], 0x200001
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x270]
mov rcx, rbx
call qword [0x14039e410]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x1400521e7
movzx esi, r14b
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400521bd
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov r14, rax
movdqa xmm0, xmmword [0x140311730]
movdqu xmmword [rbp + 0x320], xmm0
mov edx, 0xff
mov ecx, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
cmp eax, 0xff
jle 0x140052049
mov al, 0xff
jmp 0x14005205f
mov edx, 0xff
mov ecx, edx
mov r8d, edx
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x254], xmm0
mov qword [rbp + 0x264], r12
mov dword [rbp + 0x240], PathIsExe
mov ecx, 1
mov dword [rbp + 0x244], ecx
mov dword [rbp + 0x248], ecx
mov qword [rbp + 0x24c], 0x200001
mov byte [rsp + 0x77], al
mov byte [rsp + 0x76], al
movzx eax, al
imul ecx, eax, 0x72
mov eax, 0x80808081
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov byte [rsp + 0x75], dl
mov byte [rsp + 0x74], r12b
lea rdx, [rbp + 0x320]
lea rcx, [rbp + 0x200]
call qword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_CopyRect]
nop dword [rax + rax]
mov eax, dword [rbp + 0x20c]
mov r8d, dword [rbp + 0x204]
sub eax, r8d
mov r9d, dword [rbp + 0x208]
mov edx, dword [rbp + 0x200]
sub r9d, edx
mov dword [rsp + 0x60], 0xcc0020
mov dword [rsp + 0x58], r12d
lea rcx, [rbp + 0x240]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x48], rcx
mov ecx, 1
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
mov rcx, rbx
call qword [0x14039e408]
nop dword [rax + rax]
mov dword [rsp + 0x74], 0x1ff0000
mov r8d, dword [r13 + 0xd8]
mov ecx, dword [r13 + 0xe0]
sub ecx, r8d
mov edx, dword [r13 + 0xd4]
mov r9d, dword [r13 + 0xdc]
sub r9d, edx
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x50], eax
mov eax, 1
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x78]
call qword [0x14039e468]
nop dword [rax + rax]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
test sil, sil
je 0x1400521d2
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
nop
test rbx, rbx
je 0x1400521e7
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
nop dword [rax + rax]
nop
mov esi, dword [r13 + 0x128]
mov rax, qword [r15 + 0x28]
lea rcx, [rax + 0x38]
test rax, rax
cmove rcx, r12
mov rax, qword [rcx]
mov edx, r12d
cmp byte [r13 + 0x138], r12b
setne dl
add edx, 0x1a
mov rax, qword [rax + 0x78]
call qword [case.0x14006c37f.0]
movups xmm1, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm1
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm0
mov eax, dword [rax + 0x20]
mov dword [rbp + 0xe8], eax
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rdi, xmm0
shr rdi, 0x20
psrldq xmm1, 8
movd ebx, xmm1
sub edi, ebx
mov r8d, 0x3e8
mov edx, edi
mov ecx, esi
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
add eax, ebx
cmp eax, 0xff
jle 0x140052279
mov sil, 0xff
jmp 0x140052298
mov r8d, 0x3e8
mov edx, edi
mov ecx, esi
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov esi, eax
add sil, byte [rbp + 0xd0]
mov rcx, qword [r15 + 0x28]
mov rdi, qword [rcx + 0x1d0]
xor r14b, r14b
mov rbx, qword [rsp + 0x78]
test rdi, rdi
jne 0x140052320
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2b4], xmm0
mov qword [rbp + 0x2c4], r12
mov dword [rbp + 0x2a0], PathIsExe
mov r14d, 1
mov dword [rbp + 0x2a4], r14d
mov dword [rbp + 0x2a8], 0xffffffff
mov qword [rbp + 0x2ac], 0x200001
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x2a0]
mov rcx, rbx
call qword [0x14039e410]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140052528
mov rcx, rbx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x1400524f8
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov r13, rax
movdqa xmm0, xmmword [0x140311730]
movdqu xmmword [rbp + 0x310], xmm0
movzx esi, sil
mov edx, 0xff
mov r8d, edx
mov ecx, esi
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
cmp eax, 0xff
jle 0x140052385
mov al, 0xff
jmp 0x14005239b
mov edx, 0xff
mov r8d, edx
mov ecx, esi
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2e4], xmm0
mov qword [rbp + 0x2f4], r12
mov dword [rbp + 0x2d0], PathIsExe
mov esi, 1
mov dword [rbp + 0x2d4], esi
mov dword [rbp + 0x2d8], esi
mov qword [rbp + 0x2dc], 0x200001
mov byte [rsp + 0x73], al
mov byte [rsp + 0x72], al
movzx ecx, al
imul r8d, ecx, 0x72
mov eax, 0x80808081
imul r8d
add edx, r8d
sar edx, 7
mov eax, edx
shr eax, 0x1f
add edx, eax
mov byte [rsp + 0x71], dl
mov byte [rsp + 0x70], 0
lea rdx, [rbp + 0x310]
lea rcx, [rbp + 0x210]
call qword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_CopyRect]
nop dword [rax + rax]
mov eax, dword [rbp + 0x21c]
mov r8d, dword [rbp + 0x214]
sub eax, r8d
mov r9d, dword [rbp + 0x218]
mov edx, dword [rbp + 0x210]
sub r9d, edx
mov dword [rsp + 0x60], 0xcc0020
mov dword [rsp + 0x58], r12d
lea rcx, [rbp + 0x2d0]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], eax
mov rcx, rbx
call qword [0x14039e408]
nop dword [rax + rax]
mov dword [rsp + 0x70], 0x1ff0000
mov rax, qword [rbp - 0x70]
mov r8d, dword [rax + 0xc8]
mov ecx, dword [rax + 0xd0]
sub ecx, r8d
mov edx, dword [rax + 0xc4]
mov r9d, dword [rax + 0xcc]
sub r9d, edx
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x78]
call qword [0x14039e468]
nop dword [rax + rax]
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov r13, qword [rbp - 0x70]
test r14b, r14b
je 0x14005250d
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
nop
test rbx, rbx
je 0x140052522
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
nop dword [rax + rax]
nop
mov r14d, 1
mov rdi, qword [rbp - 0x48]
mov rsi, qword [r15 + 0x28]
mov eax, r12d
mov dword [rbp - 0x74], eax
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x140052557
mov rax, qword [rcx]
lea rdx, [rbp - 0x74]
mov rax, qword [rax + 0x30]
call qword [case.0x14006c37f.0]
mov rsi, qword [r15 + 0x28]
mov eax, dword [rbp - 0x74]
mov r13d, dword [r13]
test al, 2
jne 0x140052576
cmp r13d, 1
jne 0x14005256a
test rdi, rdi
jne 0x140052570
cmp r13d, 3
jne 0x140052576
mov dword [rbp - 0x7c], r14d
jmp 0x14005257a
mov dword [rbp - 0x7c], r12d
mov edi, r12d
mov qword [rbp - 0x30], r12
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x1400525a3
mov rax, qword [rcx]
lea r8, [rbp - 0x30]
xor edx, edx
mov rax, qword [rax + 0xd0]
call qword [case.0x14006c37f.0]
mov edi, dword [rbp - 0x30]
mov r14d, dword [rsi + 0x218]
mov ebx, 1
mov rax, qword [0x140379a50]
cmp rax, 0xffffffffffffffff
jne 0x1400525fa
lea rcx, str.USER32.DLL
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x1400525f3
lea rdx, [0x1403035d0]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140379a50], rax
jmp 0x1400525fa
mov rax, qword [0x140379a50]
test rax, rax
je 0x140052607
call qword [case.0x14006c37f.0]
mov ebx, eax
mov r8d, dword [0x140379a4c]
cmp r8d, 0xffffffff
je 0x14005261c
cmp dword [0x14037bdf4], ebx
je 0x14005268d
mov dword [0x14037bdf4], ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140052680
mov edx, SHFindFiles
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov dword [0x140379a4c], eax
mov edx, SHFindFiles
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop dword [rax + rax]
mov r8d, dword [0x140379a4c]
jmp 0x14005268d
mov r8d, SHRestricted
mov dword [0x140379a4c], r8d
mov edx, SHRestricted
mov ecx, edi
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov r8d, SHRestricted
mov edx, r14d
mov ecx, eax
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov dword [rbp - 0x30], eax
mov edi, dword [rbp - 0x2c]
mov ebx, 1
mov rax, qword [0x140379a50]
cmp rax, 0xffffffffffffffff
jne 0x14005270d
lea rcx, str.USER32.DLL
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x140052706
lea rdx, [0x1403035d0]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140379a50], rax
jmp 0x14005270d
mov rax, qword [0x140379a50]
test rax, rax
je 0x14005271a
call qword [case.0x14006c37f.0]
mov ebx, eax
mov r8d, dword [0x140379a4c]
cmp r8d, 0xffffffff
je 0x14005272f
cmp dword [0x14037bdf4], ebx
je 0x1400527a0
mov dword [0x14037bdf4], ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140052793
mov edx, SHFindFiles
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov dword [0x140379a4c], eax
mov edx, SHFindFiles
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop dword [rax + rax]
mov r8d, dword [0x140379a4c]
jmp 0x1400527a0
mov r8d, SHRestricted
mov dword [0x140379a4c], r8d
mov edx, SHRestricted
mov ecx, edi
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov r8d, SHRestricted
mov edx, r14d
mov ecx, eax
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov dword [rbp - 0x2c], eax
mov r14d, dword [rsi + 0x1bc]
add r14d, dword [rsi + 0x1ac]
add r14d, dword [rbp - 0x30]
add r14d, dword [rsi + 0xc4]
add r14d, dword [rsi + 0xc8]
mov ebx, r12d
mov eax, r12d
mov dword [rbp - 0x20], eax
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x140052813
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
mov rax, qword [rax + 0x30]
call qword [case.0x14006c37f.0]
mov eax, dword [rbp - 0x20]
test al, 2
jne 0x140052873
cmp r13d, 2
je 0x140052873
lea eax, [r13 - 1]
test eax, 0xfffffffd
jne 0x14005288b
lea r8, [rbp + 0x50]
mov edx, 4
xor ecx, ecx
call fcn.140029280
mov edi, dword [rsi + 0x218]
mov r8d, 2
mov edx, edi
mov ecx, dword [rbp + 0x50]
call fcn.14002d7e0
mov ebx, eax
mov r8d, 2
mov edx, edi
mov ecx, dword [rbp + 0x54]
call fcn.14002d7e0
lea eax, [rbx + rbx*4]
mov ebx, dword [0x14037b604]
cmp eax, ebx
cmovg ebx, eax
sub ebx, r14d
jmp 0x14005288b
mov ebx, dword [rsi + 0xb8]
add ebx, dword [rsi + 0xb4]
sub ebx, dword [rsi + 0xc4]
sub ebx, dword [rsi + 0xc8]
mov r13d, ebx
mov dword [rsp + 0x70], ebx
mov eax, r12d
mov dword [rbp - 0x1c], eax
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x1400528b5
mov rax, qword [rcx]
lea rdx, [rbp - 0x1c]
mov rax, qword [rax + 0x30]
call qword [case.0x14006c37f.0]
mov eax, dword [rbp - 0x1c]
test al, 2
je 0x140052bbb
mov rcx, qword [rsi + 0x68]
test rcx, rcx
je 0x1400528db
mov rax, qword [rcx]
mov rax, qword [rax + 0x60]
call qword [case.0x14006c37f.0]
test eax, eax
je 0x140052bbb
mov rcx, qword [rsi + 8]
call qword [0x14039e7b0]
nop dword [rax + rax]
mov rcx, rax
lea rdx, [rbp + 0x300]
call qword [0x14039e5a8]
nop dword [rax + rax]
test eax, eax
je 0x140052bbb
mov eax, dword [rbp + 0x30c]
sub eax, dword [rbp + 0x304]
mov dword [rbp - 0x54], eax
mov eax, dword [rsi + 0xb0]
add eax, dword [rsi + 0xac]
mov dword [rbp - 0x58], eax
mov eax, dword [rsi + 0x1a8]
mov dword [rbp - 0x50], eax
mov r13d, r12d
mov qword [rbp - 0x28], r12
mov rcx, qword [rsi + 0x60]
test rcx, rcx
je 0x14005295d
mov rax, qword [rcx]
lea r8, [rbp - 0x28]
mov edx, 4
mov rax, qword [rax + 0xd0]
call qword [case.0x14006c37f.0]
mov r13d, dword [rbp - 0x28]
mov eax, dword [rsi + 0x218]
mov dword [rbp - 0x74], eax
mov edi, 1
mov rax, qword [0x140379a50]
cmp rax, 0xffffffffffffffff
jne 0x1400529b6
lea rcx, str.USER32.DLL
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x1400529af
lea rdx, [0x1403035d0]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140379a50], rax
jmp 0x1400529b6
mov rax, qword [0x140379a50]
test rax, rax
je 0x1400529c3
call qword [case.0x14006c37f.0]
mov edi, eax
mov r8d, dword [0x140379a4c]
cmp r8d, 0xffffffff
je 0x1400529d8
cmp dword [0x14037bdf4], edi
je 0x140052a49
mov dword [0x14037bdf4], edi
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140052a3c
mov edx, SHFindFiles
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov dword [0x140379a4c], eax
mov edx, SHFindFiles
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop dword [rax + rax]
mov r8d, dword [0x140379a4c]
jmp 0x140052a49
mov r8d, SHRestricted
mov dword [0x140379a4c], r8d
mov edx, SHRestricted
mov ecx, r13d
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov r8d, SHRestricted
mov edx, dword [rbp - 0x74]
mov ecx, eax
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov dword [rbp - 0x28], eax
mov r13d, dword [rbp - 0x24]
mov edi, 1
mov rax, qword [0x140379a50]
cmp rax, 0xffffffffffffffff
jne 0x140052acb
lea rcx, str.USER32.DLL
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x140052ac4
lea rdx, [0x1403035d0]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140379a50], rax
jmp 0x140052acb
mov rax, qword [0x140379a50]
test rax, rax
je 0x140052ad8
call qword [case.0x14006c37f.0]
mov edi, eax
mov r8d, dword [0x140379a4c]
cmp r8d, 0xffffffff
je 0x140052aed
cmp dword [0x14037bdf4], edi
je 0x140052b5e
mov dword [0x14037bdf4], edi
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
je 0x140052b51
mov edx, SHFindFiles
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov dword [0x140379a4c], eax
mov edx, SHFindFiles
mov rcx, rdi
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop dword [rax + rax]
mov r8d, dword [0x140379a4c]
jmp 0x140052b5e
mov r8d, SHRestricted
mov dword [0x140379a4c], r8d
mov edx, SHRestricted
mov ecx, r13d
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov r8d, SHRestricted
mov edx, dword [rbp - 0x74]
mov ecx, eax
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov edx, dword [rsi + 0xc0]
add edx, dword [rsi + 0xbc]
add edx, eax
mov dword [rbp - 0x24], edx
mov ecx, dword [rbp - 0x50]
mov eax, ecx
sub eax, dword [rbp - 0x58]
add eax, dword [rbp - 0x54]
add ecx, edx
cdq
idiv ecx
mov r13d, dword [rsp + 0x70]
cmp eax, 1
cmovg r13d, r12d
mov dword [rsp + 0x70], r13d
mov ecx, 0x2003
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
nop dword [rax + rax]
test eax, eax
jne 0x140052c9d
mov ecx, 0x2004
call qword [sym.imp.api_ms_win_ntuser_sysparams_l1_1_0.dll_GetSystemMetrics]
nop dword [rax + rax]
test eax, eax
jne 0x140052c9d
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x38]
call fcn.1400bd9e8
test eax, eax
js 0x140052c9d
cmp dword [rbp + 0x38], 1
jne 0x140052c9d
cmp byte [rbp - 0x80], 0
je 0x140052c9d
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r8, str.ConvertibleSlateModeChanged
lea rdx, str.SOFTWAREMicrosoftTabletTipConvertibleSlateModeChanged
mov rcx, 0xffffffff80000001
call fcn.14007bd70
test eax, eax
js 0x140052c9d
cmp dword [rbp - 0x38], 0
je 0x140052c9d
lea rcx, [0x14037de58]
call fcn.140192b20
test al, al
je 0x140052c9d
mov r8d, 1
lea rdx, str.AppIconInTouchImprovement
lea rcx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerAdvanced
call fcn.140056248
cmp eax, 1
jne 0x140052c9d
mov rcx, qword [rsi + 0x60]
mov rax, qword [rcx]
mov rax, qword [rax + 0x118]
call qword [case.0x14006c37f.0]
test al, al
jne 0x140052c9d
xor r8d, r8d
mov edx, dword [rsi + 0x218]
lea ecx, [r8 + 0x10]
call fcn.14002d7e0
add ebx, eax
mov rdi, qword [r15 + 0x28]
sub r14d, dword [rdi + 0x1ac]
sub r14d, r13d
sub r14d, dword [rdi + 0x1bc]
add r14d, ebx
mov rbx, qword [rbp - 0x70]
movups xmm0, xmmword [rbx + 4]
movups xmmword [rbp + 0x1d0], xmm0
mov esi, dword [rbp - 0x7c]
test esi, esi
jne 0x140052d92
cmp byte [rbp + 6], sil
je 0x140052d92
test r13d, r13d
jle 0x140052d92
mov eax, dword [rbp + 0x1d8]
sub eax, dword [rdi + 0x1ac]
mov r11d, dword [rbp + 0x1d0]
sub eax, r11d
sub eax, r14d
sub eax, dword [rdi + 0x1bc]
cmp eax, r13d
jge 0x140052d99
mov r9d, r13d
sub r9d, eax
imul r9d, dword [rbx + 0x134]
imul r10d, r13d, 0x3e8
mov r8d, r10d
sub r8d, r9d
mov eax, dword [rbx + 8]
imul eax, r8d
mov ecx, dword [rbx + 0x18]
imul ecx, r9d
add eax, ecx
cdq
idiv r10d
mov dword [rbp + 0x1d4], eax
mov eax, dword [rbx + 0x14]
imul eax, r9d
mov ecx, r8d
imul ecx, dword [rbx + 4]
add eax, ecx
cdq
idiv r10d
mov r11d, eax
mov dword [rbp + 0x1d0], eax
mov eax, dword [rbx + 0xc]
imul eax, r8d
mov ecx, dword [rbx + 0x1c]
imul ecx, r9d
add eax, ecx
cdq
idiv r10d
mov dword [rbp + 0x1d8], eax
mov eax, dword [rbx + 0x10]
imul eax, r8d
mov ecx, dword [rbx + 0x20]
imul ecx, r9d
add eax, ecx
cdq
idiv r10d
mov dword [rbp + 0x1dc], eax
jmp 0x140052d99
mov r11d, dword [rbp + 0x1d0]
mov r13d, dword [rdi + 0xc0]
mov eax, dword [rdi + 0xbc]
mov dword [rbp - 0x38], eax
mov eax, r12d
mov dword [rbp - 0x18], eax
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x140052dd3
mov rax, qword [rcx]
lea rdx, [rbp - 0x18]
mov rax, qword [rax + 0x30]
call qword [case.0x14006c37f.0]
mov r11d, dword [rbp + 0x1d0]
mov eax, dword [rbp - 0x18]
test al, 2
jne 0x140052e77
test esi, esi
je 0x140052e77
cmp dword [rbx + 0xf4], 0
je 0x140052e64
mov esi, dword [rbp + 0x1d8]
sub esi, r11d
mov edx, dword [rsp + 0x70]
lea eax, [rdx + r14]
cmp eax, esi
jle 0x140052e64
sub esi, r14d
mov rax, qword [r15 + 0x28]
mov ecx, dword [rax + 0xb4]
mov rdi, rax
mov r14d, dword [rax + 0xc4]
sub ecx, dword [rax + 0xc4]
mov r8d, edx
mov edx, esi
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
add r14d, eax
mov rbx, qword [r15 + 0x28]
mov ecx, dword [rdi + 0xb8]
sub ecx, dword [rdi + 0xc8]
mov r8d, dword [rsp + 0x70]
mov edx, esi
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
add eax, dword [rbx + 0xc8]
mov r11d, dword [rbp + 0x1d0]
jmp 0x140052e88
mov rbx, qword [r15 + 0x28]
mov eax, dword [rbx + 0xb8]
mov r14d, dword [rbx + 0xb4]
jmp 0x140052e88
mov rbx, qword [r15 + 0x28]
mov eax, dword [rbx + 0xc8]
mov r14d, dword [rbx + 0xc4]
mov ecx, dword [rbp + 0x1d8]
sub ecx, eax
mov edx, ecx
sub edx, r14d
sub edx, r11d
mov dword [rbp - 0x3c], edx
mov esi, dword [rbp + 0x1dc]
sub esi, r13d
mov eax, dword [rbp - 0x38]
sub esi, eax
sub esi, dword [rbp + 0x1d4]
test edx, edx
jle 0x140053f65
test esi, esi
jle 0x140053f65
add r11d, r14d
mov dword [rbp + 0x1d0], r11d
add dword [rbp + 0x1d4], eax
mov dword [rbp + 0x1d8], ecx
sub dword [rbp + 0x1dc], r13d
mov qword [rbp + 0x28], r12
mov qword [rbp + 0x30], r12
mov edi, r12d
mov qword [rbp - 0x68], r12
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x140052f11
mov rax, qword [rcx]
lea r8, [rbp - 0x68]
xor edx, edx
mov rax, qword [rax + 0xd0]
call qword [case.0x14006c37f.0]
mov rbx, qword [r15 + 0x28]
mov edi, dword [rbp - 0x68]
mov r14d, dword [rbx + 0x218]
mov dword [rbp + 0x18], r14d
mov ebx, 1
mov rax, qword [0x140379a50]
cmp rax, 0xffffffffffffffff
jne 0x140052f6c
lea rcx, str.USER32.DLL
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x140052f65
lea rdx, [0x1403035d0]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140379a50], rax
jmp 0x140052f6c
mov rax, qword [0x140379a50]
test rax, rax
je 0x140052f79
call qword [case.0x14006c37f.0]
mov ebx, eax
mov r8d, dword [0x140379a4c]
cmp r8d, 0xffffffff
je 0x140052f8e
cmp dword [0x14037bdf4], ebx
je 0x140052fff
mov dword [0x14037bdf4], ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140052ff2
mov edx, SHFindFiles
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov dword [0x140379a4c], eax
mov edx, SHFindFiles
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop dword [rax + rax]
mov r8d, dword [0x140379a4c]
jmp 0x140052fff
mov r8d, SHRestricted
mov dword [0x140379a4c], r8d
mov edx, SHRestricted
mov ecx, edi
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov r8d, SHRestricted
mov edx, r14d
mov ecx, eax
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov dword [rbp - 0x68], eax
mov edi, dword [rbp - 0x64]
mov ebx, 1
mov rax, qword [0x140379a50]
cmp rax, 0xffffffffffffffff
jne 0x14005307f
lea rcx, str.USER32.DLL
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x140053078
lea rdx, [0x1403035d0]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [0x140379a50], rax
jmp 0x14005307f
mov rax, qword [0x140379a50]
test rax, rax
je 0x14005308c
call qword [case.0x14006c37f.0]
mov ebx, eax
mov r8d, dword [0x140379a4c]
cmp r8d, 0xffffffff
je 0x1400530a1
cmp dword [0x14037bdf4], ebx
je 0x140053112
mov dword [0x14037bdf4], ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
je 0x140053105
mov edx, SHFindFiles
mov rcx, rax
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov dword [0x140379a4c], eax
mov edx, SHFindFiles
mov rcx, rbx
call qword [sym.imp.GDI32.dll_GetDeviceCaps]
nop dword [rax + rax]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
nop dword [rax + rax]
mov r8d, dword [0x140379a4c]
jmp 0x140053112
mov r8d, SHRestricted
mov dword [0x140379a4c], r8d
mov edx, SHRestricted
mov ecx, edi
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov r8d, SHRestricted
mov edx, r14d
mov ecx, eax
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
mov r14d, eax
mov dword [rbp - 0x64], eax
mov edi, dword [rbp - 0x68]
mov dword [rbp - 0x50], edi
mov ebx, dword [rbp - 0x3c]
cmp ebx, edi
jl 0x140053157
cmp esi, eax
jge 0x1400531e8
mov r9d, dword [rbp + 0x1dc]
mov r8d, dword [rbp + 0x1d8]
mov edx, dword [rbp + 0x1d4]
mov ecx, dword [rbp + 0x1d0]
call qword [sym.imp.GDI32.dll_CreateRectRgn]
nop dword [rax + rax]
mov qword [rbp + 0x28], rax
test rax, rax
je 0x1400531e8
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateRectRgn]
nop dword [rax + rax]
mov r13, rax
mov qword [rbp + 0x30], rax
mov rdx, rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.GDI32.dll_GetClipRgn]
nop dword [rax + rax]
test eax, eax
jne 0x1400531ce
mov rcx, r13
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
mov qword [rbp + 0x30], r12
mov rdx, qword [rbp + 0x28]
mov r13, qword [rsp + 0x78]
mov rcx, r13
call qword [sym.imp.GDI32.dll_SelectClipRgn]
nop dword [rax + rax]
jmp 0x1400531ed
mov r13, qword [rsp + 0x78]
cmp dword [rbp - 0x7c], 0
je 0x1400532ee
mov rcx, qword [r15 + 0x30]
mov rax, qword [rcx]
mov r9d, 0x104
lea r8, [rbp + 0x540]
mov rdx, qword [rbp - 0x48]
mov rax, qword [rax + 0x58]
call qword [case.0x14006c37f.0]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x140053230
cmp eax, 0x8007007a
jne 0x1400532ee
xorps xmm0, xmm0
movups xmmword [rbp + reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_544], xmm0
mov dword [rbp + 0x180], 0x48
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp + 0x184], xmm1
movups xmmword [rbp + 0x194], xmm1
movups xmmword [rbp + 0x1a4], xmm1
movups xmmword [rbp + 0x1b4], xmm1
mov dword [rbp + 0x1c4], eax
mov dword [rbp + 0x184], 0x2200
lea rcx, [rbp]
call fcn.140227a68
mov rcx, qword [r15 + 0x28]
lea rdx, [rbp + 0x180]
mov qword [rsp + 0x40], rdx
lea rdx, [rbp + reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_544]
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], 0x8c24
mov dword [rsp + 0x28], 0xffffffff
lea rdx, [rbp + 0x540]
mov qword [rsp + 0x20], rdx
mov r9d, eax
mov r8d, 5
mov rdx, r13
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.UxTheme.dll_DrawThemeTextEx]
nop dword [rax + rax]
mov eax, dword [rbp + 0x228]
sub eax, dword [rbp + reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_544]
lea ecx, [rdi + 4]
add ecx, eax
mov eax, r12d
cmp ecx, ebx
setle al
mov dword [rbp - 0x7c], eax
mov eax, r14d
sub eax, dword [rbp + 0x1dc]
add eax, dword [rbp + 0x1d4]
cdq
sub eax, edx
sar eax, 1
mov r8d, eax
xor edx, edx
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_InflateRect]
nop dword [rax + rax]
cmp dword [rbp - 0x7c], 0
jne 0x140053357
mov ecx, dword [rbp + 0x1d8]
mov eax, ecx
mov edx, dword [rbp + 0x1d0]
sub eax, edx
cmp eax, edi
jle 0x140053357
mov eax, edi
sub eax, ecx
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov edx, eax
xor r8d, r8d
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_InflateRect]
nop dword [rax + rax]
mov r13, qword [rbp - 0x70]
movsxd rax, dword [r13 + 0x108]
mov rcx, qword [r15 + 0x48]
test rcx, rcx
je 0x14005336f
mov edx, dword [rcx]
jmp 0x140053372
mov edx, r12d
mov rbx, r12
test eax, eax
js 0x14005339f
cmp eax, edx
jge 0x14005339f
lfence
mov rdx, rax
mov rax, qword [r15 + 0x48]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx + rdx*8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14006c37f.0]
mov rbx, rax
mov rdi, r12
cmp dword [r15 + 0x50], r12d
jne 0x14005341e
mov rcx, qword [r15 + 0x48]
test rcx, rcx
je 0x1400533e1
mov ecx, dword [rcx]
cmp ecx, 1
jle 0x1400533c2
test byte [r15 + 0x58], 0x10
je 0x1400533c4
cmp ecx, 1
jne 0x1400533ce
mov dword [r15 + 0x50], 1
jmp 0x14005341e
jle 0x1400533e1
test byte [r15 + 0x58], 0x10
je 0x1400533e1
mov dword [r15 + 0x50], 3
jmp 0x14005341e
mov rcx, qword [r15 + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0xc0]
call qword [case.0x14006c37f.0]
test al, 2
jne 0x140053416
test byte [r15 + 0x58], 0x20
jne 0x140053416
mov rcx, r15
call fcn.1400475b8
test eax, eax
je 0x14005341e
mov dword [r15 + 0x50], 2
jmp 0x14005341e
mov dword [r15 + 0x50], 4
cmp dword [r15 + 0x50], 1
jne 0x14005345c
mov rax, qword [r15 + 0x28]
mov ecx, r12d
mov dword [rbp - 0x14], ecx
mov r8, qword [rax + 0x68]
test r8, r8
je 0x14005344f
mov rax, qword [r8]
lea rdx, [rbp - 0x14]
mov rcx, r8
mov rax, qword [rax + 0x30]
call qword [case.0x14006c37f.0]
mov ecx, dword [rbp - 0x14]
test cl, 2
jne 0x14005345c
mov rdi, rbx
jmp 0x140053534
cmp dword [r15 + 0x50], r12d
jne 0x1400534d8
mov rax, qword [r15 + 0x48]
test rax, rax
je 0x14005349b
mov eax, dword [rax]
cmp eax, 1
jle 0x14005347c
test byte [r15 + 0x58], 0x10
je 0x14005347e
cmp eax, 1
jne 0x140053488
mov dword [r15 + 0x50], 1
jmp 0x1400534d8
jle 0x14005349b
test byte [r15 + 0x58], 0x10
je 0x14005349b
mov dword [r15 + 0x50], 3
jmp 0x1400534d8
mov rcx, qword [r15 + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0xc0]
call qword [case.0x14006c37f.0]
test al, 2
jne 0x1400534d0
test byte [r15 + 0x58], 0x20
jne 0x1400534d0
mov rcx, r15
call fcn.1400475b8
test eax, eax
je 0x1400534d8
mov dword [r15 + 0x50], 2
jmp 0x1400534d8
mov dword [r15 + 0x50], 4
cmp dword [r15 + 0x50], 2
je 0x140053534
mov rcx, qword [r15 + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0xe8]
call qword [case.0x14006c37f.0]
test rax, rax
jne 0x140053534
mov rcx, qword [r15 + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x90]
call qword [case.0x14006c37f.0]
test rax, rax
jne 0x140053534
mov rdi, rbx
test rbx, rbx
jne 0x140053534
mov rax, qword [r15 + 0x48]
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x14006c37f.0]
mov rdi, rax
mov rcx, qword [r15 + 0x28]
mov r10, qword [rcx + 0x60]
mov rcx, qword [r10]
mov rax, qword [rcx + 0x20]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8, rdi
mov rdx, qword [r15 + 0x30]
mov rcx, r10
call qword [case.0x14006c37f.0]
test eax, eax
js 0x140053d1f
cmp dword [rbp - 0x40], 0xfffffffe
je 0x140053d1f
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx]
lea r8, [rbp + 0x40]
mov edx, dword [rbp + 0x18]
mov rax, qword [rax + 0x28]
call qword [case.0x14006c37f.0]
test eax, eax
js 0x140053d1f
mov qword [rbp - 0x70], r12
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400535b3
mov qword [rbp - 0x70], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006c37f.0]
mov rbx, qword [rbp + 0x40]
mov rax, qword [0x14037a998]
cmp rax, 0xffffffffffffffff
jne 0x1400535de
lea rdx, str.HIMAGELIST_QueryInterface
lea rcx, [0x14037a998]
call fcn.140064fa0
mov rax, qword [0x14037a998]
test rax, rax
je 0x140053d05
lea r8, [rbp - 0x70]
lea rdx, [0x1402ff360]
mov rcx, rbx
call qword [case.0x14006c37f.0]
test eax, eax
js 0x140053d05
mov dword [rbp + 0x60], SHFindFiles
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0x98], xmm0
movups xmmword [rbp + 0xa8], xmm0
mov rax, qword [rbp + 0x40]
mov qword [rbp + 0x68], rax
mov eax, dword [rbp - 0x40]
mov dword [rbp + 0x70], eax
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x78], rax
mov eax, dword [rbp + 0x1d0]
mov dword [rbp + 0x80], eax
mov eax, dword [rbp + 0x1d4]
mov dword [rbp + 0x84], eax
mov eax, dword [rbp - 0x68]
mov dword [rbp + 0x88], eax
mov eax, dword [rbp - 0x64]
mov dword [rbp + 0x8c], eax
mov dword [rbp + 0x98], 0xff000000
mov dword [rbp + 0x9c], 0xff000000
mov dword [rbp + 0xa0], 0xa001
mov eax, dword [rbp - 0x3c]
mov edi, dword [rbp - 0x50]
cmp eax, edi
jge 0x1400536b5
mov r8d, edi
mov edx, eax
or dword [rbp + 0xa8], 8
mov ecx, 0xff
call qword [sym.imp.api_ms_win_core_largeinteger_l1_1_0.dll_MulDiv]
nop dword [rax + rax]
jmp 0x14005373d
cmp esi, r14d
jge 0x1400536c1
mov r8d, r14d
mov edx, esi
jmp 0x140053698
lea rbx, [r15 + 0x10]
test r15, r15
cmove rbx, r12
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + 0x4d0]
test rcx, rcx
je 0x1400536f7
mov rax, qword [rcx]
lea r9, [rbp - 0x78]
xor r8d, r8d
mov rdx, rbx
mov rax, qword [rax + 0x48]
call qword [case.0x14006c37f.0]
test eax, eax
je 0x140053725
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + 0x4d0]
test rcx, rcx
je 0x14005372a
mov rax, qword [rcx]
lea r9, [rbp - 0x78]
mov r8d, 1
mov rdx, rbx
mov rax, qword [rax + 0x48]
call qword [case.0x14006c37f.0]
test eax, eax
jne 0x14005372a
mov eax, dword [rbp - 0x78]
jmp 0x140053736
movzx eax, byte [r13 + 0x100]
cmp al, 0xff
je 0x140053743
or dword [rbp + 0xa8], 8
mov dword [rbp + 0xac], eax
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
lea rdx, [rbp + 0x60]
mov rax, qword [rax + 0x40]
call qword [case.0x14006c37f.0]
cmp eax, 0x8000000a
jne 0x14005378a
mov rax, qword [r15 + 0x28]
mov rcx, qword [rax + 0x60]
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
mov r9d, 1
xor r8d, r8d
mov rdx, qword [r15 + 0x30]
mov rax, qword [rax + 0x20]
call qword [case.0x14006c37f.0]
test byte [rbp + 0xa8], 8
jne 0x140053d05
mov rax, qword [r15 + 0x28]
mov ecx, r12d
mov dword [rbp - 0x54], ecx
mov r8, qword [rax + 0x68]
test r8, r8
je 0x1400537c1
mov rax, qword [r8]
lea rdx, [rbp - 0x54]
mov rcx, r8
mov rax, qword [rax + 0x30]
call qword [case.0x14006c37f.0]
mov ecx, dword [rbp - 0x54]
test cl, 0x10
jne 0x140053d05
mov rax, qword [r15 + 0x28]
mov ecx, r12d
mov dword [rbp - 0x58], ecx
mov r8, qword [rax + 0x68]
test r8, r8
je 0x1400537f4
mov rax, qword [r8]
lea rdx, [rbp - 0x58]
mov rcx, r8
mov rax, qword [rax + 0x30]
call qword [case.0x14006c37f.0]
mov ecx, dword [rbp - 0x58]
bt ecx, 0xc
jb 0x140053d05
mov rsi, qword [rbp + 0x20]
test rsi, rsi
je 0x14005381f
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x60]
call qword [case.0x14006c37f.0]
mov rbx, rax
test rax, rax
jne 0x140053854
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140053834
mov rax, qword [rcx]
mov rax, qword [rax + 0x170]
jmp 0x140053842
mov rcx, qword [r15 + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x108]
call qword [case.0x14006c37f.0]
mov rbx, rax
test rax, rax
je 0x140053930
mov dword [rbp - 0x78], 0xff
test rsi, rsi
je 0x140053898
mov rcx, qword [r15 + 0x28]
add rcx, 0x38
lea r9, [rbp - 0x78]
mov r8d, 0x1e
mov rdx, rsi
call fcn.140047540
test eax, eax
je 0x140053898
mov rcx, qword [r15 + 0x28]
add rcx, 0x38
lea r9, [rbp - 0x78]
mov r8d, 0x1f
mov rdx, rsi
call fcn.140047540
lea rdx, [rbp + 0xc8]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetIconInfo]
nop dword [rax + rax]
test eax, eax
je 0x140053930
mov rax, qword [r15 + 0x28]
mov edx, dword [rax + 0x218]
mov ecx, 0x31
call qword [sym.imp.USER32.dll_GetSystemMetricsForDpi]
nop dword [rax + rax]
mov rcx, qword [r15 + 0x28]
mov edx, dword [rcx + 0x1c0]
sub edx, eax
lea r8d, [r14 + rdx]
add r8d, dword [rbp + 0x1d4]
add edx, edi
add edx, dword [rbp + 0x1d0]
movzx ecx, byte [rbp - 0x78]
mov byte [rsp + 0x30], cl
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], eax
mov r9d, eax
mov rcx, qword [rsp + 0x78]
call fcn.1402083a4
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
mov qword [rbp - 0x60], r12
mov rdi, qword [rbp - 0x48]
mov rdx, qword [rbp - 0x60]
test rdi, rdi
jne 0x14005398a
mov rbx, qword [r15 + 0x30]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x158]
test rdx, rdx
je 0x140053968
mov qword [rbp - 0x60], r12
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
mov rcx, rdx
call qword [case.0x14006c37f.0]
lea rdx, [rbp - 0x60]
mov rcx, rbx
mov rax, rdi
call qword [case.0x14006c37f.0]
mov rcx, qword [rbp + 0x7a8]
test eax, eax
jns 0x1400539dc
mov edx, 0xd90
jmp 0x1400539cd
mov rax, qword [rdi]
mov rbx, qword [rax + 0x1f8]
test rdx, rdx
je 0x1400539ad
mov qword [rbp - 0x60], r12
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
mov rcx, rdx
call qword [case.0x14006c37f.0]
lea rdx, [rbp - 0x60]
mov rcx, rdi
mov rax, rbx
call qword [case.0x14006c37f.0]
mov rcx, qword [rbp + 0x7a8]
test eax, eax
jns 0x1400539dc
mov edx, 0xd95
mov r9d, eax
lea r8, str.pcshell_shellexplorer_taskband2_taskbtngrp.cpp
call fcn.14009d7ec
cmp qword [rbp - 0x60], 0
je 0x140053cea
mov qword [rbp - 8], r12
lea rdx, [rbp + 0xf0]
mov rcx, r15
call fcn.140227714
mov rax, qword [r15 + 0x28]
mov eax, dword [rax + 0x1c4]
movss xmm6, dword [0x1403117e0]
add eax, 0xfffffffc
cmp eax, 1
ja 0x140053a1c
movss xmm6, dword [0x1403116f4]
lea rcx, [rbp - 8]
call fcn.14000bb34
lea rax, [rbp - 8]
mov qword [rsp + 0x28], rax
movaps xmm3, xmm6
movaps xmm2, xmm6
lea rdx, [rbp + 0xf0]
mov rcx, qword [rbp - 0x60]
call fcn.1402190e0
mov rcx, qword [rbp + 0x7a8]
test eax, eax
jns 0x140053a68
mov r9d, eax
lea r8, str.pcshell_shellexplorer_taskband2_taskbtngrp.cpp
mov edx, 0xda0
call fcn.14009d7ec
jmp 0x140053ce0
mov rcx, qword [r15 + 0x28]
mov r14, qword [rcx + 0x60]
mov rax, qword [r14]
mov rsi, qword [rax + 0xa0]
mov ebx, dword [rcx + 0x218]
mov rdi, qword [rbp - 8]
mov rdx, qword [r15 + 0x30]
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x98]
mov rcx, rdx
call qword [case.0x14006c37f.0]
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x20], rcx
mov r9d, ebx
mov r8, rdi
mov rdx, rax
mov rcx, r14
mov rax, rsi
call qword [case.0x14006c37f.0]
cmp eax, 0x8000000a
je 0x140053ce0
mov rcx, qword [rbp + 0x7a8]
test eax, eax
jns 0x140053ae8
mov r9d, eax
lea r8, str.pcshell_shellexplorer_taskband2_taskbtngrp.cpp
mov edx, 0xda5
call fcn.14009d7ec
jmp 0x140053ce0
lea r8, [rbp + 0x100]
mov edx, 0x20
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.GDI32.dll_GetObjectW]
nop dword [rax + rax]
test eax, eax
je 0x140053ce0
mov rax, qword [r15 + 0x28]
xor r8d, r8d
mov edx, dword [rax + 0x218]
lea ecx, [r8 + 4]
call fcn.14002d7e0
mov ebx, eax
mov qword [rbp + 0x1e0], r12
mov r9d, dword [rbp + 0x104]
mov dword [rbp + 0x1e8], r9d
mov r10d, dword [rbp + 0x108]
mov dword [rbp + 0x1ec], r10d
cmp dword [rbp - 0x7c], 0
je 0x140053bae
mov rcx, qword [r15 + 0x28]
xor r8d, r8d
mov edx, dword [rcx + 0x218]
lea ecx, [r8 + 4]
call fcn.14002d7e0
mov r8d, dword [r13 + 0x10]
sub r8d, dword [rbp + 0x108]
sub r8d, ebx
cdq
sub eax, edx
sar eax, 1
sub eax, dword [rbp + 0x104]
add eax, dword [rbp - 0x68]
add eax, dword [rbp + 0x1d0]
mov ecx, eax
sub ecx, dword [rbp + 0x1e0]
mov r9d, dword [rbp + 0x1e8]
add r9d, ecx
mov dword [rbp + 0x1e0], eax
mov eax, r8d
sub eax, dword [rbp + 0x1e4]
add dword [rbp + 0x1ec], eax
jmp 0x140053bde
mov r8d, dword [r13 + 0x10]
sub r8d, r10d
sub r8d, ebx
mov eax, r9d
cdq
sub eax, edx
sar eax, 1
mov edx, dword [rbp - 0x68]
sub edx, eax
add edx, dword [rbp + 0x1d0]
add r9d, edx
mov dword [rbp + 0x1e0], edx
lea eax, [r8 + r10]
mov dword [rbp + 0x1ec], eax
mov dword [rbp + 0x1e4], r8d
mov dword [rbp + 0x1e8], r9d
mov edx, dword [r13 + 0xc]
cmp r9d, edx
jle 0x140053c0e
sub edx, r9d
xor r8d, r8d
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_OffsetRect]
nop dword [rax + rax]
xor ecx, ecx
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
nop dword [rax + rax]
mov rdi, rax
mov qword [rbp + 0xc0], rax
test rax, rax
je 0x140053cc4
mov qword [rbp + 0x170], rax
mov rdx, qword [rbp + 0x48]
mov rcx, rax
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
mov rbx, rax
mov qword [rbp + 0x178], rax
mov dword [rsp + 0x70], 0x1ff0000
mov ecx, dword [rbp + 0x1ec]
mov r8d, dword [rbp + 0x1e4]
sub ecx, r8d
mov r9d, dword [rbp + 0x1e8]
mov edx, dword [rbp + 0x1e0]
sub r9d, edx
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x78]
call qword [0x14039e468]
nop dword [rax + rax]
nop
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SelectObject]
nop dword [rax + rax]
nop
mov qword [rbp + 0xc0], r12
test rdi, rdi
je 0x140053ce0
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteDC]
nop dword [rax + rax]
nop
lea rcx, [rbp - 8]
call fcn.14000bb34
nop
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140053d05
mov qword [rbp - 0x60], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006c37f.0]
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140053d1f
mov qword [rbp - 0x70], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14006c37f.0]
mov ebx, dword [rbp - 0x50]
add ebx, 4
mov eax, dword [rbp - 0x3c]
sub eax, ebx
test eax, eax
jle 0x140053f1e
cmp dword [rbp - 0x7c], 0
je 0x140053f1e
mov rcx, qword [r15 + 0x28]
add rcx, 0x38
xor r9d, r9d
lea r8d, [r9 + 0x13]
mov rdi, qword [rbp - 0x48]
mov rdx, rdi
call fcn.140047540
test eax, eax
je 0x140053f1e
mov rcx, qword [r15 + 0x28]
add rcx, 0x38
xor r9d, r9d
lea r8d, [r9 + 0x15]
mov rdx, rdi
call fcn.140047540
test eax, eax
je 0x140053f1e
mov rcx, qword [r15 + 0x30]
mov rax, qword [rcx]
mov r9d, 0x104
lea r8, [rbp + 0x330]
mov rdx, rdi
mov rax, qword [rax + 0x58]
call qword [case.0x14006c37f.0]
mov edx, 0x80000000
lea ecx, [rax + rdx]
test edx, ecx
jne 0x140053db6
cmp eax, 0x8007007a
jne 0x140053f1e
lea rdx, [rbp + 0x1d0]
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.api_ms_win_ntuser_rectangle_l1_1_0.dll_CopyRect]
nop dword [rax + rax]
add dword [rbp + 0x1f0], ebx
movaps xmm0, xmmword [rbp + 0x1f0]
movdqa xmmword [rbp + 0x230], xmm0
mov dword [rbp + 0x120], 0x48
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp + reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_292], xmm1
movups xmmword [rbp + 0x134], xmm1
movups xmmword [rbp + 0x144], xmm1
movups xmmword [rbp + 0x154], xmm1
mov dword [rbp + 0x164], eax
mov dword [rbp + reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_292], 0x2200
lea rcx, [rbp]
call fcn.140227a68
mov ebx, eax
mov rcx, qword [r15 + 0x28]
lea rax, [rbp + 0x120]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x230]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0xc24
mov dword [rsp + 0x28], 0xffffffff
lea rax, [rbp + 0x330]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8d, 5
mov rsi, qword [rsp + 0x78]
mov rdx, rsi
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.UxTheme.dll_DrawThemeTextEx]
nop dword [rax + rax]
and dword [rbp + reloc.api_ms_win_shlwapi_winrt_storage_l1_1_1.dll_Ordinal_292], 0xfffffdff
mov rcx, qword [r15 + 0x28]
lea rax, [rbp + 0x120]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8824
mov dword [rsp + 0x28], 0xffffffff
lea rax, [rbp + 0x330]
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov r8d, 5
mov rdx, rsi
mov rcx, qword [rcx + 0x70]
call qword [sym.imp.UxTheme.dll_DrawThemeTextEx]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140053f23
mov r9, qword [rcx]
mov r8d, dword [rbp + 0x238]
sub r8d, dword [rbp + 0x230]
mov eax, dword [rbp + 0x1f8]
sub eax, dword [rbp + 0x1f0]
cmp r8d, eax
setg r12b
mov edx, r12d
mov rax, qword [r9 + 0x28]
call qword [case.0x14006c37f.0]
jmp 0x140053f23
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rbp + 0x28]
test rdi, rdi
je 0x140053f65
mov rbx, qword [rbp + 0x30]
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.GDI32.dll_SelectClipRgn]
nop dword [rax + rax]
test rbx, rbx
je 0x140053f56
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.GDI32.dll_DeleteObject]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x750]
xor rcx, rsp
call fcn.1400a2260
mov rbx, qword [rsp + 0x8c8]
movaps xmm6, xmmword [rsp + 0x860]
add rsp, 0x870
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret