Function at 0x46324c
Capabilities:
Delete directory
Delete file

Disassembly:
mov rax, rsp
push rsi
push rdi
push r13
sub rsp, 0xd0
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov rax, qword [0x004bf230]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov rbx, rcx
xor ebp, ebp
lea r13d, [rbp + 7]
cmp byte [rcx + 0x8a], bpl
je 0x4633a6
lea rdx, [rcx + 0x10]
mov r8, qword [0x004c2650]
lea rcx, [rsp + 0x20]
call fcn.0040c560
nop
lea r8, [rbx + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.0040c644
nop
mov r8, qword [0x004c2650]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.0040c560
nop
mov r8, qword [str.dwintl20.dll]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.0040c560
nop
cmp qword [rax + 0x20], 8
jb 0x4632f8
mov rcx, qword [rax + 8]
jmp 0x4632fc
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp qword [rsp + 0xc0], 8
jb 0x46331b
mov rcx, qword [rsp + 0xa8]
call fcn.00443d3c
mov qword [rsp + 0xc0], r13
mov qword [rsp + 0xb8], rbp
mov word [rsp + 0xa8], bp
cmp qword [rsp + 0x90], 8
jb 0x463348
mov rcx, qword [rsp + 0x78]
call fcn.00443d3c
mov qword [rsp + 0x90], r13
mov qword [rsp + 0x88], rbp
mov word [rsp + 0x78], bp
cmp qword [rsp + 0x68], 8
jb 0x46336f
mov rcx, qword [rsp + 0x50]
call fcn.00443d3c
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], rbp
mov word [rsp + 0x50], bp
cmp qword [rsp + 0x40], 8
jb 0x463390
mov rcx, qword [rsp + 0x28]
call fcn.00443d3c
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x28], bp
mov byte [rbx + 0x8a], bpl
cmp byte [rbx + 0x89], bpl
je 0x46343c
lea rdx, [rbx + 0x10]
mov r8, qword [0x004c2650]
lea rcx, [rsp + 0x48]
call fcn.0040c560
nop
lea r8, [rbx + 0x38]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.0040c644
nop
cmp qword [rax + 0x20], 8
jb 0x4633e8
mov rcx, qword [rax + 8]
jmp 0x4633ec
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
cmp qword [rsp + 0x40], 8
jb 0x463405
mov rcx, qword [rsp + 0x28]
call fcn.00443d3c
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x28], bp
cmp qword [rsp + 0x68], 8
jb 0x463426
mov rcx, qword [rsp + 0x50]
call fcn.00443d3c
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], rbp
mov word [rsp + 0x50], bp
mov byte [rbx + 0x89], bpl
cmp byte [rbx + 0x8b], bpl
je 0x4634d5
lea rdx, [rbx + 0x10]
mov r8, qword [0x004c2650]
lea rcx, [rsp + 0x48]
call fcn.0040c560
nop
mov r8, qword [str.dw20.exe]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.0040c560
nop
cmp qword [rax + 0x20], 8
jb 0x463481
mov rcx, qword [rax + 8]
jmp 0x463485
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
cmp qword [rsp + 0x40], 8
jb 0x46349e
mov rcx, qword [rsp + 0x28]
call fcn.00443d3c
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x28], bp
cmp qword [rsp + 0x68], 8
jb 0x4634bf
mov rcx, qword [rsp + 0x50]
call fcn.00443d3c
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x60], rbp
mov word [rsp + 0x50], bp
mov byte [rbx + 0x8b], bpl
cmp byte [rbx + 0x88], bpl
je 0x4634fc
cmp qword [rbx + 0x30], 8
jb 0x4634eb
mov rcx, qword [rbx + 0x18]
jmp 0x4634ef
lea rcx, [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [rbx + 0x88], bpl
cmp qword [rbx + 0x78], rbp
jbe 0x4635d0
cmp qword [rbx + 0x80], 8
jb 0x463516
mov rcx, qword [rbx + 0x68]
jmp 0x46351a
lea rcx, [rbx + 0x68]
xor edx, edx
call fcn.00445770
cmp eax, ebp
jne 0x4635d0
mov r8, qword [str.dwintl20.dll]
lea rdx, [rbx + 0x60]
lea rcx, [rsp + 0xa0]
call fcn.0040c560
nop
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp qword [rbx + 0x80], 8
jb 0x463572
mov rcx, qword [rbx + 0x68]
jmp 0x463576
lea rcx, [rbx + 0x68]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [0x004c2670]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x60]
call fcn.00404e54
nop
cmp qword [rsp + 0xc0], 8
jb 0x4635b8
mov rcx, qword [rsp + 0xa8]
call fcn.00443d3c
mov qword [rsp + 0xc0], r13
mov qword [rsp + 0xb8], rbp
mov word [rsp + 0xa8], bp
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [0x004c2670]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbx + 0x10]
call fcn.00404e54
call fcn.004620d0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.00443d60
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop rdi
pop rsi
ret