Function at 0x14005a1b8
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x220
mov rax, qword [0x140100040]
xor rax, rsp
mov qword [rbp + 0x110], rax
xor r15d, r15d
mov dword [rsp + 0x40], r15d
xor r9d, r9d
mov r8d, 0x80
lea rbx, [0x140101b40]
mov rdx, rbx
lea rcx, str.Config_Name
call fcn.14004c150
and dword [rsp + 0x44], r15d
and dword [rsp + 0x48], r15d
lea rdx, [rsp + 0x44]
lea rcx, str.Create
call fcn.140048b40
or r12, 0xffffffffffffffff
lea rdi, str..config
lea r13d, [r15 + 0xf]
mov r14d, 0x1000
test al, al
je 0x14005a325
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov r8, r12
inc r8
cmp byte [rbx + r8], r15b
jne 0x14005a261
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.140006f58
nop
mov r8, rdi
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x90]
call fcn.140017b78
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, r13
jbe 0x14005a2c7
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, r14
jb 0x14005a2c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a2c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400631ac
movdqa xmm0, xmmword [0x1400eee20]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], r15b
lea rcx, [rbp + 0x90]
call fcn.14005bb98
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, r13
jbe 0x14005a325
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, r14
jb 0x14005a320
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a320
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400631ac
call fcn.14004a194
call fcn.14004a574
lea rcx, [rbp]
call fcn.140006684
nop
lea rdx, [rbp + 0xc0]
mov rcx, rax
call fcn.140005808
nop
lea rcx, [rbp]
call fcn.14000413c
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x140102148], eax
jle 0x14005a39b
lea rcx, [0x140102148]
call fcn.140062de8
cmp dword [0x140102148], r12d
jne 0x14005a39b
lea rcx, [0x1400c869c]
call fcn.140063194
lea rcx, [0x140102148]
call fcn.140062d7c
mov rcx, qword [0x140101b20]
mov rdx, qword [0x140101b28]
cmp rcx, rdx
je 0x14005a3c1
call fcn.140007164
mov rax, qword [0x140101b20]
mov qword [0x140101b28], rax
lea rax, [rbp + 0xc0]
cmp qword [rbp + 0xd8], r13
cmova rax, qword [rbp + 0xc0]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp + 0xd0]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xe0]
call fcn.140013c98
mov edi, 0x20
mov dword [rsp + 0x40], edi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x60], xmm0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x60]
call fcn.140011c14
test eax, eax
jne 0x14005abee
lea rcx, [rbp + 0xe0]
call fcn.14000413c
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14005a44d
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x68]
mov edi, dword [rsp + 0x40]
movaps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0xb0], xmm0
test rbx, rbx
je 0x14005a46a
lock inc dword [rbx + 8]
mov rbx, qword [rbp + 0x68]
mov edi, dword [rsp + 0x40]
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x100], xmm1
test rbx, rbx
je 0x14005a4b7
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x14005a4af
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x14005a4af
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x14005a4b3
mov rbx, qword [rbp + 0x68]
mov edi, dword [rsp + 0x40]
mov rsi, qword [rbp + 0xb0]
test rsi, rsi
je 0x14005a662
mov r8d, 3
lea rdx, [rsp + 0x68]
mov rcx, rsi
call fcn.14000635c
mov rax, qword [rsp + 0x68]
mov edx, dword [rsp + 0x70]
test edx, edx
je 0x14005a4f6
lea ecx, [rax - 1]
test ecx, 0xfffffff7
jne 0x14005ac04
cmp eax, 2
jne 0x14005a54c
lea rax, str..config
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], 7
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x30]
call fcn.140013c98
or edi, 0x10
or edi, 1
mov dword [rsp + 0x40], edi
lea rcx, [rsi + 0x20]
lea rdx, [rbp + 0x20]
call fcn.140005a10
or edi, 2
mov dword [rsp + 0x40], edi
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.140005afc
test al, al
mov r14b, 1
jne 0x14005a54f
mov r14b, r15b
test dil, 2
je 0x14005a566
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
lea rcx, [rbp + 0x20]
call fcn.14000413c
nop
test dil, 1
je 0x14005a57c
and edi, 0xfffffffe
mov dword [rsp + 0x40], edi
lea rcx, [rbp - 0x30]
call fcn.14000413c
test r14b, r14b
je 0x14005a642
lea rcx, [rsi + 0x20]
lea rdx, [rbp + 0x40]
call fcn.140005968
nop
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.140005808
mov rsi, rax
mov rcx, qword [0x140101b28]
cmp rcx, qword [0x140101b30]
je 0x14005a5e4
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
mov r8d, 0x20
mov rdx, rax
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r13
mov byte [rsi], r15b
add qword [0x140101b28], 0x20
jmp 0x14005a5f7
mov r8, rsi
mov rdx, rcx
lea rcx, [0x140101b20]
call fcn.140013754
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, r13
jbe 0x14005a62d
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a628
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a65b
call fcn.1400631ac
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r13
mov byte [rbp - 0x50], r15b
lea rcx, [rbp + 0x40]
call fcn.14000413c
lea rcx, [rbp + 0xb0]
call fcn.140006438
test eax, eax
jne 0x14005abe6
jmp 0x14005a4b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
je 0x14005a6a8
mov eax, r12d
lock xadd dword [rcx + 8], eax
add eax, r12d
jne 0x14005a6a4
mov rbx, qword [rbp + 0xb8]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x14005a6a4
mov rcx, qword [rbp + 0xb8]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rbp + 0x68]
test rbx, rbx
je 0x14005a6dd
mov eax, r12d
lock xadd dword [rbx + 8], eax
add eax, r12d
jne 0x14005a6dd
mov rbx, qword [rbp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r12d
lock xadd dword [rbx + 0xc], eax
add eax, r12d
jne 0x14005a6dd
mov rcx, qword [rbp + 0x68]
mov rax, qword [rcx]
call qword [rax + 8]
call fcn.14004a194
mov ebx, r15d
mov rax, qword [0x140101b28]
mov r8, qword [0x140101b20]
sub rax, r8
sar rax, 5
test rax, rax
je 0x14005a757
and dword [rsp + 0x44], ebx
and dword [rsp + 0x48], ebx
mov rdi, r15
cmp dword [0x140100410], ebx
sete dl
lea rcx, [rdi + r8]
cmp qword [rcx + 0x18], r13
jbe 0x14005a720
mov rcx, qword [rcx]
lea r9, [rsp + 0x44]
call fcn.14005402c
test al, al
je 0x14005a734
mov dword [0x140100410], ebx
inc ebx
add rdi, 0x20
mov rcx, qword [0x140101b28]
mov r8, qword [0x140101b20]
sub rcx, r8
sar rcx, 5
movsxd rax, ebx
cmp rax, rcx
jb 0x14005a70a
call fcn.14004a194
call fcn.14004a574
call fcn.14004a194
and dword [rsp + 0x50], 0
and dword [rsp + 0x54], 0
lea rdx, [rsp + 0x50]
lea rcx, str.Save
call fcn.140048b40
test al, al
je 0x14005a81d
movsxd rcx, dword [0x140100410]
test ecx, ecx
js 0x14005a81d
mov rax, qword [0x140101b28]
mov r8, qword [0x140101b20]
sub rax, r8
sar rax, 5
mov rdx, rcx
cmp rcx, rax
jae 0x14005a81d
shl rdx, 5
add rdx, r8
lea rcx, [rbp + 0x90]
call fcn.14000704c
nop
lea rcx, [rbp + 0x90]
call fcn.14005bb98
nop
mov rdx, qword [rbp + 0xa8]
mov r14d, 0x1000
cmp rdx, r13
jbe 0x14005a823
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, r14
jb 0x14005a816
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a816
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400631ac
jmp 0x14005a823
mov r14d, 0x1000
movss xmm1, dword [0x1400eedb4]
xorps xmm0, xmm0
call fcn.140027f28
and dword [rbp + 0x60], 0
and dword [rbp + 0x64], 0
lea rdx, [rbp + 0x60]
lea rcx, str.Load
call fcn.140048b40
test al, al
je 0x14005a8db
movsxd rcx, dword [0x140100410]
test ecx, ecx
js 0x14005a8db
mov rax, qword [0x140101b28]
mov r8, qword [0x140101b20]
sub rax, r8
sar rax, 5
mov rdx, rcx
cmp rcx, rax
jae 0x14005a8db
shl rdx, 5
add rdx, r8
lea rcx, [rbp + 0x90]
call fcn.14000704c
nop
lea rcx, [rbp + 0x90]
call fcn.14005e9e8
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, r13
jbe 0x14005a8db
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, r14
jb 0x14005a8d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a8d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400631ac
movss xmm1, dword [0x1400eedb4]
xorps xmm0, xmm0
call fcn.140027f28
and dword [rbp + 0x70], 0
and dword [rbp + 0x74], 0
lea rdx, [rbp + 0x70]
lea rcx, str.Delete
call fcn.140048b40
test al, al
je 0x14005ab6b
movsxd rcx, dword [0x140100410]
test ecx, ecx
js 0x14005ab6b
mov rax, qword [0x140101b28]
mov r8, qword [0x140101b20]
sub rax, r8
sar rax, 5
mov rdx, rcx
cmp rcx, rax
jae 0x14005ab6b
shl rdx, 5
add rdx, r8
lea rcx, [rbp + 0xe0]
call fcn.14000704c
nop
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rbp + 0xd0]
sub rax, rcx
cmp rax, 1
jb 0x14005abe0
lea r9, [rbp + 0xc0]
cmp qword [rbp + 0xd8], r13
cmova r9, qword [rbp + 0xc0]
mov qword [rsp + 0x30], 1
lea rax, [0x1400ee1ac]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x90]
call fcn.140013250
nop
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x90]
call fcn.140011488
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x80], xmm1
mov r8d, 0x20
mov rdx, rax
lea rcx, [rbp + 0x70]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
nop
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r13
mov byte [rbx], r15b
mov rdx, qword [rbp + 0xa8]
cmp rdx, r13
jbe 0x14005aa30
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, r14
jb 0x14005aa2b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005aa2b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400631ac
lea rcx, [rbp + 0x70]
cmp qword [rbp + 0x88], r13
cmova rcx, qword [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
test eax, eax
jne 0x14005aadc
movsxd rsi, dword [0x140100410]
shl rsi, 5
add rsi, qword [0x140101b20]
mov rbx, qword [0x140101b28]
lea rdi, [rsi + 0x20]
cmp rdi, rbx
je 0x14005aa8f
mov rdx, rdi
mov rcx, rsi
call fcn.1400173e8
add rsi, 0x20
add rdi, 0x20
cmp rdi, rbx
jne 0x14005aa70
mov rbx, qword [0x140101b28]
mov rdx, qword [rbx - 8]
cmp rdx, r13
jbe 0x14005aac1
mov rcx, qword [rbx - 0x20]
inc rdx
cmp rdx, r14
jb 0x14005aabc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005ab0c
mov rcx, r8
call fcn.1400631ac
mov qword [rbx - 0x10], r15
mov qword [rbx - 8], r13
mov byte [rbx - 0x20], r15b
sub qword [0x140101b28], 0x20
mov dword [0x140100410], r12d
mov rdx, qword [rbp + 0x88]
cmp rdx, r13
jbe 0x14005ab18
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, r14
jb 0x14005ab13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ab13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400631ac
movdqa xmm0, xmmword [0x1400eee20]
movdqu xmmword [rbp + 0x80], xmm0
mov byte [rbp + 0x70], r15b
mov rdx, qword [rbp + 0xf8]
cmp rdx, r13
jbe 0x14005ab6b
inc rdx
mov rcx, qword [rbp + 0xe0]
mov rax, rcx
cmp rdx, r14
jb 0x14005ab66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005ab66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400631ac
call fcn.14004a194
nop
mov rdx, qword [rbp + 0xd8]
cmp rdx, r13
jbe 0x14005abb0
inc rdx
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, r14
jb 0x14005abab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005abab
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400631ac
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.140062d20
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140004c18
nop
mov edx, eax
call fcn.140006148
nop
lea r8, [rbp + 0xe0]
mov edx, eax
lea rcx, str.directory_iterator::directory_iterator
call fcn.14000622c
nop
lea r8, [rsi + 0x20]
lea rcx, str.directory_entry::status
call fcn.14000622c
int3