Function at 0x18001b100
Capabilities:
Delete directory
Enumerate files on windows
Move file

Disassembly:
push rbp
mov eax, 0x82d0
call fcn.18003c6a0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x8290], rax
xor ebp, ebp
mov r9, rdx
mov qword [rsp + 0x38], rcx
test rcx, rcx
je 0x18001b558
cmp rdx, qword [rcx + 0x238]
jae 0x18001b558
mov rax, qword [rcx + 0x4c]
lea rdx, [rdx + rdx*2]
mov qword [rsp + 0x82c8], rsi
lea rax, [rax + rdx*8]
mov qword [rsp + 0x30], rdx
movabs rdx, 0x4000000000000000
mov qword [rsp + 0x28], rax
test qword [rax + 8], rdx
je 0x18001b193
lea eax, [rbp + 1]
mov rsi, qword [rsp + 0x82c8]
mov rcx, qword [rsp + 0x8290]
xor rcx, rsp
call fcn.18002d590
add rsp, 0x82d0
pop rbp
ret
mov r8, rcx
mov qword [rsp + 0x82f0], rbx
lea rdx, [rsp + 0x4290]
mov rcx, r9
mov qword [rsp + 0x82c0], rdi
mov qword [rsp + 0x82b8], r12
call fcn.18001b000
lea rcx, [rsp + 0x4290]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [0x180041f10]
movsxd rbx, eax
mov eax, ebx
lea r12, [rsp + rax*2 + 0x4290]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x4290]
mov esi, 1
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18001b51b
nop
mov eax, dword [rsp + 0x40]
and eax, 0x10
test al, al
je 0x18001b25b
lea rdx, [0x180041f18]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x18001b247
lea rdx, [0x180041f1c]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x18001b25b
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18001b210
jmp 0x18001b25d
xor esi, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
je 0x18001b51b
xor esi, esi
mov qword [rsp + 0x82b0], r13
mov qword [rsp + 0x82a8], r14
mov qword [rsp + 0x82a0], r15
mov rdi, rbx
or r13d, 0xffffffff
lea r15d, [rsi + 0xa]
mov word [r12], si
nop dword [rax + rax]
lea rdx, [rsp + 0x4290]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov r11d, ebx
xor eax, eax
mov qword [rsp + r11*2 + 0x28e], rax
mov qword [rsp + r11*2 + 0x296], rax
mov r14d, ebx
nop
mov eax, ebx
dec rdi
add ebx, r13d
test eax, eax
je 0x18001b2e7
cmp word [rsp + rdi*2 + 0x290], 0x5c
jne 0x18001b2d0
mov r8d, dword [0x18004c310]
inc rdi
mov ecx, 8
inc ebx
mov ebp, esi
mov r12, rsi
mov qword [rsp + 0x20], rdi
lea rsi, [rsp + rdi*2 + 0x290]
lea r13d, [rcx + 0x26]
movabs rdi, 0x200000005
sub r14d, ebx
nop dword [rax + rax]
cmp r14d, 8
mov eax, r14d
cmovb eax, ecx
cmp ebp, eax
jae 0x18001b3ac
cmp r13w, word [rsi]
je 0x18001b39e
test r8d, r8d
jne 0x18001b342
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov r8d, r8d
mov rax, rdi
imul r8, r8, 0x10ff5
mul r8
mov rax, r8
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 0x1e
imul rax, rax, 0x7fffffff
sub r8, rax
mov eax, r8d
mov dword [0x18004c310], r8d
shr eax, 8
movzx ecx, al
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x1a
sub ecx, edx
add cx, 0x41
mov word [rsi], cx
mov ecx, 8
inc ebp
inc r12
add rsi, 2
jmp 0x18001b320
mov rdi, qword [rsp + 0x20]
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x4290]
lea rax, [rdi + r12]
xor esi, esi
mov word [rsp + rax*2 + 0x290], si
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov r13d, 0xffffffff
test eax, eax
jne 0x18001b53a
add r15d, r13d
jne 0x18001b2a0
lea rcx, [rsp + 0x4290]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, eax
mov r14, qword [rsp + 0x82a8]
test ebp, ebp
je 0x18001b50b
mov rdi, qword [rsp + 0x38]
lea r9, [rsp + 0x20]
mov r8d, 4
mov rax, qword [rdi + 0x238]
mov rcx, qword [rdi + 0x4c]
lea rdx, [rax + rax*2]
shl rdx, 3
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rdx, qword [rdi + 0x220]
mov rcx, qword [rdi + 0x3c]
lea r9, [rsp + 0x20]
add rdx, rdx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r11, qword [rdi + 0x4c]
mov rax, qword [rsp + 0x30]
movabs rcx, 0x4000000000000000
or qword [r11 + rax*8 + 8], rcx
test r15d, r15d
je 0x18001b4c8
mov eax, esi
mov rcx, rsi
cmp si, word [rsp + 0x290]
je 0x18001b4af
lea rdx, [rsp + 0x290]
mov r8d, 0x5c
nop
cmp r8w, word [rdx]
cmove r13d, eax
inc rcx
inc eax
cmp si, word [rsp + rcx*2 + 0x290]
lea rdx, [rsp + rcx*2 + 0x290]
jne 0x18001b490
mov r8, qword [rsp + 0x28]
mov eax, r13d
lea rcx, [rdi + 0x3c]
lea rdx, [rsp + rax*2 + 0x292]
call fcn.180016f30
mov rdx, qword [rdi + 0x220]
mov rcx, qword [rdi + 0x3c]
lea r9, [rsp + 0x20]
add rdx, rdx
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r11, qword [rdi + 0x238]
mov rcx, qword [rdi + 0x4c]
lea rdx, [r11 + r11*2]
lea r9, [rsp + 0x20]
mov r8d, 2
shl rdx, 3
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov r13, qword [rsp + 0x82b0]
mov r15, qword [rsp + 0x82a0]
mov r12, qword [rsp + 0x82b8]
mov rdi, qword [rsp + 0x82c0]
mov rbx, qword [rsp + 0x82f0]
mov eax, ebp
jmp 0x18001b172
test r15d, r15d
je 0x18001b3ec
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, eax
jmp 0x18001b3fc
xor eax, eax
jmp 0x18001b17a