Function at 0x140431560
Capabilities:
Delete directory

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
movzx edi, dl
mov rbx, rcx
lea rdx, [rbp + 0x7f]
call fcn.140429f80
nop
mov rax, qword [rbp + 0x7f]
cmp dword [rax + 4], 0
jne 0x140431604
mov qword [rbp - 0x11], 2
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
lea rax, [0x1401ad6d0]
mov qword [rbp + 7], rax
lea rdx, [0x1400a7c38]
lea rcx, [rbp - 0x11]
call fcn.14035ef00
call fcn.140504eb8
mov dword [rax], 0x16
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1404315ef
cmp eax, 0xffffffff
je 0x1404315fd
or ebx, 0xffffffff
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1404315fd
mov rcx, qword [rbp + 0x7f]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
xor al, al
jmp 0x140431953
xor esi, esi
lea r9d, [rsi + 1]
xor r8d, r8d
movzx edx, si
lea rcx, [rbp + 0x7f]
call fcn.140368050
cmp eax, 0xffffffff
je 0x140431649
mov qword [rbp + 0xf], 2
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
lea rax, [0x1401ad6d0]
mov qword [rbp + 0x27], rax
lea rdx, [0x1400a7c60]
lea rcx, [rbp + 0xf]
jmp 0x1404315c0
test dil, dil
je 0x1404318dc
lea rdx, [rbp + 0x7f]
lea rcx, [rbp - 0x29]
call fcn.140372600
nop
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140374b60
mov rdx, qword [rbp + 0x7f]
mov qword [rbp + 0x37], rdx
mov rcx, qword [rax]
mov qword [rbp + 0x7f], rcx
mov qword [rax], rdx
mov rcx, qword [rbp - 0x31]
mov eax, dword [rcx]
or ebx, 0xffffffff
test eax, eax
je 0x14043169e
cmp eax, ebx
je 0x1404316ad
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1404316ad
mov rcx, qword [rbp - 0x31]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
mov rcx, qword [rbp - 0x29]
mov eax, dword [rcx]
test eax, eax
je 0x1404316cb
cmp eax, 0xffffffff
je 0x1404316d9
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1404316d9
mov rcx, qword [rbp - 0x29]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov rcx, qword [rbp + 0x7f]
mov edi, dword [rcx + 4]
test edi, edi
jle 0x1404318b2
nop dword [rax + rax]
mov r8d, edi
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0x7f]
call fcn.140368910
cmp dword [rbp - 0x35], 2
jne 0x140431760
mov r8, qword [rbp - 0x41]
mov rdx, qword [r8]
movsxd r9, dword [rbp - 0x39]
mov rax, qword [rdx + 0x10]
lea rcx, [rax + r9*2]
movzx ecx, word [rcx + rdx]
lea eax, [rcx - 0x41]
cmp eax, 0x39
ja 0x14043172d
lea eax, [rcx - 0x5b]
cmp eax, 5
ja 0x140431743
cmp ecx, 0x7f
jbe 0x140431760
call fcn.1403685e0
test al, al
je 0x140431760
mov r9d, dword [rbp - 0x39]
mov r8, qword [rbp - 0x41]
lea eax, [r9 + 1]
mov rdx, qword [r8]
movsxd rcx, eax
mov rax, qword [rdx + 0x10]
lea rcx, [rax + rcx*2]
cmp word [rcx + rdx], 0x3a
je 0x14043182e
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x41]
call fcn.14036d0d0
nop
xor edx, edx
lea rcx, [rbp - 0x49]
call fcn.140430600
test al, al
je 0x140431869
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x21]
call fcn.1404394f0
nop
mov rcx, rax
call fcn.14036dfa0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne dil
mov rcx, qword [rbp - 0x21]
mov eax, dword [rcx]
test eax, eax
je 0x1404317c4
cmp eax, 0xffffffff
je 0x1404317d2
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1404317d2
mov rcx, qword [rbp - 0x21]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
test dil, dil
je 0x140431834
lea rcx, [rbp + 0x77]
call fcn.1403745b0
lea r8d, [rsi - 1]
mov r9d, 1
movzx edx, word [rax]
lea rcx, [rbp + 0x7f]
call fcn.1403686a0
mov edi, eax
mov rcx, qword [rbp - 0x49]
mov eax, dword [rcx]
test eax, eax
je 0x140431816
cmp eax, 0xffffffff
je 0x140431824
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140431824
mov rcx, qword [rbp - 0x49]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov esi, edi
test edi, edi
jg 0x1404316f0
mov rcx, qword [rbp + 0x7f]
jmp 0x1404318b2
test esi, esi
setne dil
mov rcx, qword [rbp - 0x49]
mov eax, dword [rcx]
test eax, eax
je 0x140431914
cmp eax, 0xffffffff
je 0x140431924
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140431924
mov rcx, qword [rbp - 0x49]
jmp 0x140431914
mov rcx, qword [rbp - 0x49]
mov eax, dword [rcx]
test eax, eax
je 0x140431887
cmp eax, 0xffffffff
je 0x140431896
mov eax, ebx
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140431896
mov rcx, qword [rbp - 0x49]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
nop
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x1404315ef
cmp eax, 0xffffffff
je 0x1404315fd
jmp 0x1404315e2
mov eax, dword [rcx]
test eax, eax
je 0x1404318ca
cmp eax, 0xffffffff
je 0x1404318d8
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x1404318d8
mov rcx, qword [rbp + 0x7f]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140379300
mov al, 1
jmp 0x140431953
lea rdx, [rbp - 0x19]
mov rcx, rbx
call fcn.140429f80
nop
mov rcx, rax
call fcn.140432030
movzx edi, al
mov rcx, qword [rbp - 0x19]
mov edx, dword [rcx]
or ebx, 0xffffffff
test edx, edx
je 0x140431914
cmp edx, ebx
je 0x140431924
mov edx, ebx
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x140431924
mov rcx, qword [rbp - 0x19]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140379300
nop
mov rcx, qword [rbp + 0x7f]
mov eax, dword [rcx]
test eax, eax
je 0x140431940
cmp eax, 0xffffffff
je 0x14043194f
lock xadd dword [rcx], ebx
cmp ebx, 1
jne 0x14043194f
mov rcx, qword [rbp + 0x7f]
mov r8d, 8
lea edx, [r8 - 6]
call fcn.140379300
movzx eax, dil
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret