Function at 0x1403071c0
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rdi
push r13
lea rbp, [rsp - 0x388]
sub rsp, 0x488
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rbp + 0x360], rax
mov r13, rcx
mov rdi, rdx
mov rcx, qword [0x1406baea0]
mov r8d, 0x104
lea rdx, [r13 + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
js 0x14030760e
mov r9, 0xffffffffffffffff
lea rcx, [r13 + 0x30]
mov r8, rdi
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
mov rax, qword [0x1406baea0]
test byte [rax + 0x1ee0], 1
jne 0x140307604
lea rcx, [rbp + 0x1a0]
call fcn.140307be0
mov dword [rsp + 0x38], 0xffffffff
lea rax, str.ROOT
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x1a8]
movaps xmm0, xmmword [rsp + 0x30]
lea rcx, [rsp + 0x30]
mov r8d, 0x40
movdqa xmmword [rsp + 0x30], xmm0
call fcn.1403120e0
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1403149f0
lea rcx, [rsp + 0x70]
call fcn.140440ed0
lea rcx, [rsp + 0x70]
call fcn.140440f50
test eax, eax
js 0x1403075e2
lea r9, [rsp + 0x70]
lea r8, [rbp + 0x1a0]
lea rdx, [r13 + 0x30]
lea rcx, [rsp + 0x40]
call fcn.140314c70
test eax, eax
js 0x1403075e2
mov qword [rsp + 0x4c0], rsi
mov rsi, qword [r13 + 8]
mov qword [rsp + 0x470], r15
xor r15d, r15d
cmp dword [r13 + 0x18], r15d
jbe 0x1403075b0
mov qword [rsp + 0x480], r12
mov qword [rsp + 0x478], r14
nop word [rax + rax]
mov rax, qword [r13 + 0x10]
lea rcx, [rsp + 0x30]
movsxd rdx, r15d
mov qword [rsp + 0x30], 0
call qword [rax + rdx*8]
mov r14, qword [rsp + 0x30]
test r14, r14
je 0x140307593
mov rax, qword [r14]
lea rdx, [rsp + 0x20]
mov rcx, r14
mov dword [rsp + 0x20], 0
call qword [rax + 0x28]
mov rax, qword [r14]
lea rdx, [rbp]
mov r12d, dword [rsp + 0x20]
mov rcx, r14
call qword [rax + 0x10]
test eax, eax
js 0x140307574
xor ebx, ebx
xor edi, edi
cmp dword [rbp + 0x2c0], ebx
jle 0x140307574
nop word [rax + rax]
mov rax, qword [rbp + 0x2c8]
lea rdx, [rbp + 0x10]
mov rcx, qword [rax + rdi*8]
mov rcx, qword [rcx + 0x90]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1403073a2
inc ebx
inc rdi
cmp ebx, dword [rbp + 0x2c0]
jl 0x140307370
jmp 0x140307574
mov rax, qword [rbp + 0x2c8]
mov rbx, qword [rax + rdi*8]
test rbx, rbx
je 0x140307574
mov eax, dword [r14 + 0x10]
cmp dword [rbx + 0x130], eax
jne 0x140307574
mov rcx, qword [rbp]
cmp qword [0x14061ade8], rcx
jne 0x140307409
mov rax, qword [0x14061adf0]
cmp rax, qword [rbp + 8]
jne 0x140307409
mov rcx, qword [rbx + 0x98]
lea rdx, str.Int32
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140307405
mov eax, dword [rbx + 0x1d0]
mov dword [rsi], eax
jmp 0x140307574
mov rcx, qword [rbp]
cmp qword [0x14061adf8], rcx
jne 0x14030743f
mov rax, qword [0x14061ae00]
cmp rax, qword [rbp + 8]
jne 0x14030743f
mov rcx, qword [rbx + 0x98]
lea rdx, str.Int64
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14030756a
mov rcx, qword [rbp]
cmp qword [0x14061adc8], rcx
jne 0x14030747e
mov rax, qword [0x14061add0]
cmp rax, qword [rbp + 8]
jne 0x14030747e
mov rcx, qword [rbx + 0x98]
lea rdx, str.Bool
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14030747a
mov eax, dword [rbx + 0x1d0]
mov dword [rsi], eax
jmp 0x140307574
mov rcx, qword [rbp]
cmp qword [0x14061adb8], rcx
jne 0x1403074d9
mov rax, qword [0x14061adc0]
cmp rax, qword [rbp + 8]
jne 0x1403074d9
mov rcx, qword [rbx + 0x98]
lea rdx, str.String
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x1403074d5
mov eax, r12d
shr eax, 1
je 0x140307574
mov r8, qword [rbx + 0x1d0]
mov r9, 0xffffffffffffffff
mov edx, eax
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
jmp 0x140307574
mov rcx, qword [rbp]
cmp qword [0x14061ae18], rcx
jne 0x14030753c
mov rax, qword [0x14061ae20]
cmp rax, qword [rbp + 8]
jne 0x14030753c
mov rcx, qword [rbx + 0x98]
lea rdx, str.Color
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140307538
movss xmm2, dword [rbx + 0x1dc]
movss xmm1, dword [rbx + 0x1d8]
movss xmm0, dword [rbx + 0x1d4]
mov eax, dword [rbx + 0x1d0]
movss dword [rsi + 4], xmm0
movss dword [rsi], xmm1
movss dword [rsi + 0xc], xmm2
mov dword [rsi + 8], eax
jmp 0x140307574
mov rcx, qword [rbp]
cmp qword [0x14061ada8], rcx
jne 0x140307574
mov rax, qword [0x14061adb0]
cmp rax, qword [rbp + 8]
jne 0x140307574
mov rcx, qword [rbx + 0x98]
lea rdx, str.Double
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140307574
mov rax, qword [rbx + 0x1d0]
mov qword [rsi], rax
mov rax, qword [r14]
mov r8d, r12d
mov rdx, rsi
mov rcx, r14
call qword [rax + 0x30]
mov rax, qword [r14]
add rsi, r12
mov edx, 1
mov rcx, r14
call qword [rax]
inc r15d
cmp r15d, dword [r13 + 0x18]
jb 0x140307300
mov r14, qword [rsp + 0x478]
mov r12, qword [rsp + 0x480]
lea rcx, [rsp + 0x70]
call fcn.140440f10
lea rcx, [rsp + 0x40]
call fcn.140314a20
lea rcx, [rbp + 0x230]
call fcn.140308760
mov r15, qword [rsp + 0x470]
mov rsi, qword [rsp + 0x4c0]
jmp 0x14030760e
lea rcx, [rsp + 0x70]
call fcn.140440f10
lea rcx, [rsp + 0x40]
call fcn.140314a20
lea rcx, [rbp + 0x230]
call fcn.140308760
jmp 0x14030760e
lea rcx, [r13 + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov rcx, qword [rbp + 0x360]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x488
pop r13
pop rdi
pop rbx
pop rbp
ret