Function at 0x18004e010
Capabilities:
Delete file
Enumerate files on windows
Move 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 - 0x2f8]
sub rsp, 0x3d0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1800ac028]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rax, qword [rbp - 0x80]
mov qword [rbp - 0x60], rax
xor r12d, r12d
lea r13, [0x1800ad740]
mov qword [rbp - 0x60], r13
lea rbx, [0x1800ad748]
mov qword [rbp - 0x80], rbx
mov qword [0x1800ad848], r12
mov qword [0x1800ad850], r12
mov byte [0x1800ad748], r12b
mov dword [0x1800ad858], r12d
mov r8d, 0xff
lea rdx, [0x1800976d6]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [0x1800ad847], r12b
mov rcx, rbx
call fcn.180007640
nop
xorps xmm0, xmm0
movups xmmword [0x1800ad860], xmm0
mov qword [0x1800ad878], 0xf
movdqa xmmword [0x1800ad880], xmm0
mov qword [0x1800ad890], r12
mov qword [0x1800ad870], r12
mov byte [0x1800ad860], r12b
mov esi, r12d
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r12w
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
lea r8d, [r12 + 0x11]
lea rdx, str..modloaderlogs_
lea rcx, [rbp - 0x50]
call fcn.180044cd0
nop
movabs r14, 0x7ffffffffffffffe
mov rax, r14
mov rcx, qword [rbp - 0x40]
sub rax, rcx
cmp rax, 5
jb 0x18004e9f2
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], 5
lea rax, [0x180099a08]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.180045b30
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18004e1cd
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e1c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004e1c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070c84
movdqa xmm0, xmmword [0x18009d3f0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r12w
cmp r15, 0xffffffffffffffff
je 0x18004e3b6
mov rax, qword [rbp + 0x74]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x8c]
mov rdx, 0xffffffffffffffff
inc rdx
cmp word [rax + rdx*2], 0
jne 0x18004e201
mov rax, qword [rbp - 0x18]
cmp rdx, rax
ja 0x18004e242
lea rdi, [rbp - 0x30]
cmp rax, 8
cmovae rdi, qword [rbp - 0x30]
mov qword [rbp - 0x20], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x8c]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r12w
jmp 0x18004e252
lea r9, [rbp + 0x8c]
lea rcx, [rbp - 0x30]
call fcn.180056610
test byte [rbp + 0x60], 0x10
jne 0x18004e3a1
cmp esi, dword [0x1800ad5d8]
jl 0x18004e323
lea rax, [rbp + 0x8c]
mov rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], 0
jne 0x18004e276
mov rax, r14
mov rdx, qword [rbp - 0x40]
sub rax, rdx
cmp rax, rcx
jb 0x18004e9f8
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, qword [rbp - 0x50]
mov qword [rsp + 0x30], rcx
lea rax, [rbp + 0x8c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x40]
call fcn.180045b30
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18004e3a1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e319
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004e554
call fcn.180070c84
jmp 0x18004e3a1
inc esi
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x74]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jns 0x18004e3a1
mov rax, qword [rbp + 0x74]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x8c]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x18004e350
mov rax, qword [rbp - 0x18]
cmp rdx, rax
ja 0x18004e391
lea rdi, [rbp - 0x30]
cmp rax, 8
cmovae rdi, qword [rbp - 0x30]
mov qword [rbp - 0x20], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rbp + 0x8c]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov word [rdi + rbx], r12w
jmp 0x18004e3a1
lea r9, [rbp + 0x8c]
lea rcx, [rbp - 0x30]
call fcn.180056610
lea rdx, [rbp + 0x60]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18004e252
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
mov rbx, rax
call fcn.18004dec0
mov qword [rbp - 0x80], rbx
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x20]
mov rcx, rax
call fcn.180058b10
imul rax, qword [rbp + 0x30], 0x989680
add rax, rbx
mov qword [rbp + 0x18], rax
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x18004e42b
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e426
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004e91f
call fcn.180070c84
movabs rax, 0x1ca213d840baf7d5
imul rbx
sar rdx, 0x1a
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, str.0:_Y__m__d__I__M_1:0_22:_p
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x20
lea rax, [rbp + 0x18]
mov qword [rbp + 0x38], rax
lea r8, [0x18005bc90]
mov qword [rbp + 0x40], r8
movabs rax, 0xd000000000000000
mov qword [rbp + 0x20], rax
movsxd rax, edx
imul rcx, rax, 0x23c34600
sub rbx, rcx
movabs rax, 0xd6bf94d5e57a42bd
imul rbx
add rdx, rbx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rbp + 0x48], rdx
movabs rax, 0x3000000000000010
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x18]
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], r8
movabs rax, 0xd000000000000018
mov qword [rbp + 0x30], rax
mov qword [rbp - 0x80], 3
lea rax, [rbp + 0x20]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180058d40
nop
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov rax, rdx
sub rax, rcx
cmp rax, 4
jb 0x18004e55b
lea rax, [rcx + 4]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x60]
cmp rdx, 8
cmovae rax, qword [rsp + 0x60]
movabs rdx, 0x67006f006c002e
mov qword [rax + rcx*2], rdx
mov word [rax + rcx*2 + 8], r12w
lea rax, [rsp + 0x60]
jmp 0x18004e573
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rsp + 0x20], 4
mov edx, 4
lea rcx, [rsp + 0x60]
call fcn.180056770
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm6
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x18004e5d7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e5d2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004e5d2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070c84
movdqa xmm0, xmmword [0x18009d3f0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], r12w
mov rcx, qword [rbp - 0x40]
movq rdx, xmm6
cmp esi, dword [0x1800ad5d8]
jge 0x18004e6c9
sub r14, rcx
cmp r14, rdx
jb 0x18004e9fe
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, qword [rbp - 0x50]
lea rax, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rax, qword [rbp - 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.180045b30
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [r13], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18004e8e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e8e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004e8e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, r14
sub rax, rcx
cmp rax, rdx
jb 0x18004ea04
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, qword [rbp - 0x50]
lea rax, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rax, qword [rbp - 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.180045b30
nop
lea rbx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rbx, qword [rbp - 0x80]
mov rax, r14
mov rcx, qword [rbp - 0x40]
sub rax, rcx
mov rdx, qword [rbp - 0x20]
cmp rax, rdx
jb 0x18004ea0a
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, qword [rbp - 0x50]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.180045b30
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18004e7c6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e7c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004e7c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070c84
movdqa xmm0, xmmword [0x18009d3f0]
movdqu xmmword [rsp + 0x50], xmm0
mov word [rsp + 0x40], r12w
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x18004e81d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e818
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004e818
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070c84
mov rcx, qword [rbp - 0x40]
sub r14, rcx
mov rdx, qword [rbp + 8]
cmp r14, rdx
jb 0x18004e9ec
lea r9, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae r9, qword [rbp - 0x50]
lea rax, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rax, qword [rbp - 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x40]
call fcn.180045b30
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 5
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [r13], rax
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x18004e8e8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e8e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004e8e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070c84
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x18004e92c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e926
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004e926
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070c84
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 8
jb 0x18004e970
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e96a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004e96a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070c84
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x18004e9b4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004e9ae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004e9ae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180070c84
nop
mov rax, r13
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.180070c20
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180001400
nop
call fcn.180001400
int3
call fcn.180001400
nop
call fcn.180001400
int3
call fcn.180001400
nop
call fcn.180001400
int3