Function at 0x140059480
Capabilities:
Delete directory
Delete file

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x210
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400e1300]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r12b, r8b
mov byte [rsp + 0x40], r8b
mov r14, rdx
mov r13, rcx
mov qword [rbp - 0x78], rcx
xor esi, esi
mov r15d, esi
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x48], esi
mov rax, qword [rdx]
cmp rax, qword [0x1400ac720]
jne 0x1400594f5
mov rax, qword [rdx + 8]
cmp rax, qword [0x1400ac728]
je 0x140059db8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
call fcn.140045008
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
call fcn.140045008
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x30]
mov rdx, r14
mov rcx, r13
call fcn.14005917c
mov rcx, qword [rbp + 0x148]
test eax, eax
jns 0x140059545
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_anchorprioritymanager.cpp
mov edx, 0xab
call fcn.140008d70
mov rdi, qword [rbp - 0x30]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400595ab
mov sil, byte [rsp + 0x40]
lea r9, [rbx + 0x1c]
mov byte [rsp + 0x20], sil
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x70]
call fcn.14005cdb4
xor ecx, ecx
cmp byte [rbx + 0x19], cl
jne 0x1400595a4
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], cl
jne 0x140059589
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], cl
je 0x14005957c
jmp 0x1400595a4
mov rax, qword [rbx + 8]
jmp 0x14005959c
cmp rbx, qword [rax + 0x10]
jne 0x1400595a1
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], cl
je 0x14005958f
mov rbx, rax
cmp rbx, rdi
jne 0x140059556
xor esi, esi
mov qword [rsp + 0x58], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
lea rax, [rsp + 0x58]
mov qword [rbp - 0x10], rax
movdqa xmm0, xmmword [0x1400b7ce0]
movdqu xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], si
lea rcx, [rbp + 0x30]
call fcn.140064a44
mov ebx, eax
test eax, eax
jns 0x14005960c
mov rcx, qword [rbp + 0x148]
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov edx, 0xab
call fcn.140003734
nop
lea rcx, [rbp + 0x30]
call fcn.1400045b4
jmp 0x1400596f2
xor edx, edx
lea r8d, [rdx + 0x4e]
lea rcx, [rbp + 0xb0]
call sub.api_ms_win_crt_private_l1_1_0.dll__o_memset
mov r8d, 0x27
lea rdx, [rbp + 0xb0]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.140005744
nop
mov r8b, 1
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x10]
call fcn.140072058
mov ebx, eax
test eax, eax
jns 0x140059685
mov edx, 0xb2
lea r8, str.analoginput_spectrumcomponents_staticnodedurability.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x148]
call fcn.140003734
nop
lea rcx, [rbp + 0x10]
call fcn.1400045b4
jmp 0x1400595fe
lea rax, [rbp + 0x10]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x50], rax
lea rax, [0x1400a3608]
mov qword [rbp + 0x70], rax
movups xmm0, xmmword [rsp + 0x48]
movdqu xmmword [rbp + 0x78], xmm0
lea rax, [rbp + 0x70]
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
lea r8, [rbp + 0x70]
mov dl, 1
call fcn.140072148
mov ebx, eax
test eax, eax
jns 0x1400596dd
mov edx, 0xca
jmp 0x140059660
lea rcx, [rbp + 0x10]
call fcn.1400045b4
nop
lea rcx, [rbp + 0x30]
call fcn.1400045b4
mov ebx, esi
mov rcx, qword [rbp + 0x148]
test ebx, ebx
jns 0x140059711
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponents_anchorprioritymanager.cpp
mov edx, 0xb4
call fcn.140008d70
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
call fcn.140045008
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x70], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov rbx, qword [rsp + 0x60]
mov r14, qword [rsp + 0x58]
cmp r14, rbx
je 0x1400598b0
add r14, 0x18
mov dil, byte [rsp + 0x40]
mov sil, byte [rsp + 0x40]
xor r15d, r15d
cmp byte [r14 + 0x38], r15b
je 0x140059880
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], r15w
test r12b, r12b
je 0x14005981f
lea rdx, [rbp + 0x10]
mov ecx, dword [r14 + 0x10]
call fcn.140064f34
test eax, eax
js 0x14005981f
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rax, qword [rbp + 0x10]
lea rcx, [r14 - 0x10]
cmp qword [r14 + 8], 8
jb 0x1400597a9
mov rcx, qword [rcx]
mov rdx, qword [r14]
cmp rdx, qword [rbp + 0x20]
jne 0x14005981f
test rdx, rdx
je 0x1400597de
sub rcx, rax
movzx r8d, word [rax + rcx]
movzx r9d, word [rax]
cmp r8w, r9w
jne 0x1400597d5
add rax, 2
sub rdx, 1
jne 0x1400597ba
jmp 0x1400597de
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x1400597e1
mov eax, r15d
test eax, eax
jne 0x14005981f
mov rcx, qword [r14 - 0x18]
mov eax, dword [r14 + 0x3c]
shl rax, 4
lea r12, [rcx + 4]
add r12, rax
lea r15, [rcx + 4]
jmp 0x140059818
mov byte [rsp + 0x20], dil
mov r9, r15
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x70]
call fcn.14005cdb4
add r15, 0x10
cmp r15, r12
jne 0x1400597fe
jmp 0x14005986d
lea r13, [r14 - 0x18]
mov rcx, qword [r13]
mov eax, dword [r14 + 0x3c]
shl rax, 4
lea r12, [rcx + 4]
add r12, rax
lea r15, [rcx + 4]
jmp 0x140059855
mov byte [rsp + 0x20], sil
mov r9, r15
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x40]
call fcn.14005cdb4
add r15, 0x10
cmp r15, r12
jne 0x14005983c
mov qword [rbp - 0x10], r13
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x70]
call fcn.14005c8f8
nop
lea rcx, [rbp + 0x10]
call fcn.1400045b4
mov r12b, byte [rsp + 0x40]
xor r15d, r15d
jmp 0x140059896
lea rax, [r14 - 0x18]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x70]
call fcn.14005c8f8
add r14, 0x58
lea rax, [r14 - 0x18]
cmp rax, rbx
jne 0x140059754
mov r15d, dword [rsp + 0x44]
mov r13, qword [rbp - 0x78]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
call fcn.140045008
mov qword [rbp - 0x50], rax
mov rax, qword [rax]
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rax
mov r9, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x40]
movaps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x10], xmm0
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
mov r9, qword [r9]
mov r8, rdx
mov rdx, qword [rdx]
lea rcx, [rbp + 0x30]
call fcn.14005dfa4
mov rdi, qword [rbp - 0x50]
mov rbx, qword [rdi]
xor r12d, r12d
cmp rbx, rdi
je 0x140059a39
lea r14, [rbx + 0x1c]
call fcn.140007fc8
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14005993f
cmp dword [rcx], r12d
jbe 0x14005993f
call fcn.140007fc8
lea r8, str.Transient
mov rdx, r14
call fcn.14005f69c
mov dword [rsp + 0x44], r12d
mov rsi, qword [r13 + 0x48]
mov rcx, qword [0x1400e2520]
mov rax, qword [rcx]
mov edx, 0xb
mov rax, qword [rax + 0x90]
call qword [0x1400aa8c0]
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.140043af4
nop
or r15d, 1
mov dword [rsp + 0x48], r15d
mov rdx, qword [rax]
mov rax, qword [rsi]
lea r9, [rsp + 0x44]
mov r8, r14
mov rcx, rsi
mov rax, qword [rax + 0x48]
call qword [0x1400aa8c0]
mov rcx, qword [rbp + 0x148]
test eax, eax
jns 0x1400599b6
mov r9d, eax
lea r8, str.analoginput_spectrumcomponents_anchorprioritymanager.cpp
mov edx, 0xe7
call fcn.140008d70
jmp 0x1400599cc
call fcn.14007cc3c
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400599cc
cmp dword [rcx], r12d
mov sil, 1
ja 0x1400599cf
mov sil, r12b
and r15d, 0xfffffffe
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov qword [rbp - 0x10], r12
test sil, sil
je 0x1400599f1
mov r8b, 3
mov rcx, r14
call fcn.14005ca44
cmp byte [rbx + 0x19], r12b
jne 0x140059a2b
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r12b
jne 0x140059a0f
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], r12b
je 0x140059a01
jmp 0x140059a2b
mov rax, qword [rbx + 8]
jmp 0x140059a22
cmp rbx, qword [rax + 0x10]
jne 0x140059a28
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r12b
je 0x140059a15
mov rbx, rax
cmp rbx, rdi
jne 0x140059914
mov dword [rsp + 0x44], r15d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
call fcn.14001fedc
mov rbx, rax
mov qword [rbp - 0x60], rax
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
cmp rdi, rsi
je 0x140059ca6
mov bl, byte [rsp + 0x40]
mov r13d, 7
mov r14, qword [rdi]
lea rax, [r14 + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rbp - 0x10], rax
mov byte [rsp + 0x20], bl
lea r9, [rbp - 0x10]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.14003a2e8
mov r8d, dword [r14 + 0x28]
lea r12, [rbp + 0x9a]
xor r9d, r9d
add r12, 0xfffffffffffffffe
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r12], r8w
mov r8d, edx
test edx, edx
jne 0x140059a9d
mov qword [rbp], r9
mov qword [rbp + 8], r13
mov word [rbp - 0x10], r9w
lea rax, [rbp + 0x9a]
cmp r12, rax
je 0x140059b91
lea r14, [rbp + 0x9a]
sub r14, r12
sar r14, 1
cmp r14, r13
ja 0x140059b1f
mov qword [rbp], r14
add r14, r14
mov r8, r14
mov rdx, r12
lea rcx, [rbp - 0x10]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_memmove]
xor r12d, r12d
mov word [rbp + r14 - 0x10], r12w
jmp 0x140059b94
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
ja 0x140059c9c
mov r13, r14
or r13, 7
cmp r13, rax
jbe 0x140059b43
mov r13, rax
jmp 0x140059b4f
mov eax, 0xa
cmp r13, rax
cmovb r13, rax
lea rcx, [r13 + 1]
mov edx, 2
call fcn.1400042b0
mov r15, rax
mov qword [rbp], r14
mov qword [rbp + 8], r13
add r14, r14
mov r8, r14
mov rdx, r12
mov rcx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
xor r12d, r12d
mov word [r15 + r14], r12w
mov qword [rbp - 0x10], r15
mov r15d, dword [rsp + 0x44]
lea r13d, [r12 + 7]
jmp 0x140059b94
xor r12d, r12d
or r15d, 6
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x50]
call fcn.14005cae0
mov rcx, rax
mov r9, qword [rax + 0x10]
mov rax, qword [rax + 0x18]
sub rax, r9
cmp qword [rbp], rax
jbe 0x140059bdf
mov rax, qword [rbp + 8]
sub rax, qword [rbp]
cmp rax, r9
jb 0x140059bdf
cmp qword [rcx + 0x18], 8
jb 0x140059bd1
mov rcx, qword [rcx]
mov r8, rcx
lea rcx, [rbp - 0x10]
call fcn.140053218
jmp 0x140059be8
lea rdx, [rbp - 0x10]
call fcn.14005f618
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x20], xmm1
or r15d, 8
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r13
mov dword [rsp + 0x44], r15d
mov word [rax], r12w
lea rcx, [rbp + 0x50]
call fcn.1400045b4
nop
lea rcx, [rbp - 0x10]
call fcn.1400045b4
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
mov rcx, qword [rbp + 0x148]
test eax, eax
jne 0x140059c57
lea r8, str.analoginput_spectrumcomponents_anchorprioritymanager.cpp
mov edx, 0xf9
call fcn.140008c58
lea r14, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r14, qword [rbp + 0x10]
call fcn.140007fc8
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140059c85
cmp dword [rcx], r12d
jbe 0x140059c85
call fcn.140007fc8
mov rdx, r14
call fcn.14005f554
lea rcx, [rbp + 0x10]
call fcn.1400045b4
add rdi, 8
cmp rdi, rsi
je 0x140059ca2
jmp 0x140059a6a
call fcn.140005044
int3
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov qword [rbp - 0x10], rax
jmp 0x140059d06
mov rdi, qword [rax + 0x20]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140059cc0
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_RemoveDirectoryW]
test eax, eax
setne sil
cmp qword [rdi + 0x18], 8
jb 0x140059cd6
mov rdi, qword [rdi]
call fcn.140007fc8
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140059cf9
cmp dword [rcx], r12d
jbe 0x140059cf9
call fcn.140007fc8
mov r8b, sil
mov rdx, rdi
call fcn.14005f468
lea rcx, [rbp - 0x10]
call fcn.140044910
mov rax, qword [rbp - 0x10]
cmp rax, rbx
jne 0x140059caf
lea rcx, [rbp - 0x60]
call fcn.1400221c0
nop
lea rcx, [rbp - 0x50]
call fcn.1400221c0
nop
mov rdx, qword [rsp + 0x70]
test rdx, rdx
je 0x140059d46
mov r8, qword [rbp - 0x80]
sub r8, rdx
sar r8, 3
call fcn.1400216cc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
lea rcx, [rbp - 0x40]
call fcn.1400221c0
nop
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x140059da1
mov r8, qword [rsp + 0x60]
call fcn.14005c7fc
mov rcx, qword [rsp + 0x68]
sub rcx, qword [rsp + 0x58]
movabs rax, 0x2e8ba2e8ba2e8ba3
imul rcx
sar rdx, 4
mov r8, rdx
shr r8, 0x3f
add r8, rdx
mov rdx, qword [rsp + 0x58]
call fcn.14005c2dc
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r12
lea rcx, [rbp - 0x30]
call fcn.1400221c0
nop
lea rcx, [rbp - 0x70]
call fcn.1400221c0
mov r13, qword [rbp - 0x78]
lea rcx, [r13 + 0x98]
call fcn.1400532fc
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140098120
mov rbx, qword [rsp + 0x260]
add rsp, 0x210
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret