Function at 0x180017410
Capabilities:
Delete file
Move file

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x5c0]
sub rsp, 0x6c0
mov rax, qword [0x1801003f0]
xor rax, rsp
mov qword [rbp + 0x5b0], rax
mov rbx, rcx
lea rcx, [rbp + 0x61]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x60], 0
call fcn.1800369b0
lea rcx, [rbp + 0x391]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x390], 0
call fcn.1800369b0
lea rcx, [rsp + 0x51]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x50], 0
call fcn.1800369b0
lea rcx, [rbp + 0x281]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x280], 0
call fcn.1800369b0
lea rcx, [rbp + 0x171]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x170], 0
call fcn.1800369b0
lea rcx, [rbp + 0x4a1]
xor edx, edx
mov r8d, 0x103
mov byte [rbp + 0x4a0], 0
call fcn.1800369b0
call fcn.180001c10
lea r9, [0x1800c64f8]
lea rdx, [0x1800c1ec8]
lea rcx, [rbp + 0x60]
mov r8, rax
call fcn.18003756c
call fcn.180001c10
lea r9, str.bakwdgsvr.sys
lea rdx, [0x1800c1ec8]
lea rcx, [rbp + 0x390]
mov r8, rax
call fcn.18003756c
call fcn.180002770
lea r9, [0x1800c6508]
lea rdx, [0x1800c1ec8]
lea rcx, [rsp + 0x50]
mov r8, rax
call fcn.18003756c
call fcn.180002770
lea r9, str.winrdgv3.dat
lea rdx, [0x1800c1ec8]
lea rcx, [rbp + 0x280]
mov r8, rax
call fcn.18003756c
call fcn.180002770
lea r9, str.winrdgv3.dat
lea rdx, [0x1800c7a80]
lea rcx, [rbp + 0x170]
mov r8, rax
call fcn.18003756c
call fcn.180002770
lea r9, str.winwdgsvr.exe
lea rdx, [0x1800c1ec8]
lea rcx, [rbp + 0x4a0]
mov r8, rax
call fcn.18003756c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1801211e4]
test ecx, ecx
je 0x1800175ba
cmp eax, ecx
jb 0x1800175ba
add ecx, 0xea60
cmp eax, ecx
jbe 0x180017929
cmp dword [0x1801161a0], 0
je 0x1800175e2
lea r9, str.CheckStartupFiles_1
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x60]
mov r8d, 2
mov dword [rsp + 0x40], 0
call fcn.180015980
cmp dword [0x1801161a0], 0
je 0x18001762b
lea r9, str.CheckStartupFiles_2
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
cmp dword [rsp + 0x40], 0
mov dword [rsp + 0x44], 0
jne 0x180017653
lea r8, [rsp + 0x44]
lea rcx, [rsp + 0x50]
xor edx, edx
call fcn.180013130
test eax, eax
jne 0x1800178f5
cmp dword [0x1801161a0], 0
je 0x18001767b
lea r9, str.CheckStartupFiles_3
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
mov rcx, qword [0x1800fe798]
cmp rcx, 0xffffffffffffffff
je 0x180017699
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1800fe798], 0xffffffffffffffff
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x60]
xor r8d, r8d
call fcn.18000e830
test eax, eax
jne 0x18001783c
cmp dword [0x1801161a0], eax
je 0x1800176d7
lea r9, str.CheckStartupFiles_4
lea r8, str.WatchDog
lea edx, [rax + 0xf]
lea rcx, [0x1801160e8]
call fcn.180011c50
lea rcx, [rbp + 0x280]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [0x1801161a0], 0
je 0x18001770c
lea r9, str.CheckStartupFiles_5
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
lea rdx, [rbp + 0x280]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
je 0x18001786e
cmp dword [0x1801161a0], 0
je 0x18001774e
lea r9, str.CheckStartupFiles_6
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x60]
xor r8d, r8d
call fcn.18000e830
test eax, eax
je 0x18001779a
cmp dword [0x1801161a0], 0
je 0x18001778b
lea r9, str.CheckStartupFiles_7
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
mov dword [rbx + 0x80], 1
jmp 0x18001786e
call fcn.18002c330
test eax, eax
je 0x18001786e
cmp dword [0x1801161a0], 0
je 0x1800177cf
lea r9, str.CheckStartupFiles_8
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x60]
xor r8d, r8d
call fcn.18000e830
test eax, eax
je 0x18001786e
cmp dword [0x1801161a0], 0
je 0x180017812
lea r9, str.CheckStartupFiles_9
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x170]
mov r8d, 5
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
cmp dword [0x1801161a0], 0
je 0x180017896
lea r9, str.CheckStartupFiles_10
jmp 0x180017856
mov dword [rbx + 0x80], 1
cmp dword [0x1801161a0], 0
je 0x180017896
lea r9, str.CheckStartupFiles_11
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
cmp dword [0x1801161a0], 0
je 0x180017896
lea r9, str.CheckStartupFiles_12
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
xor r9d, r9d
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp dword [0x1801161a0], 0
mov qword [0x1800fe798], rax
je 0x1800178f5
lea r9, str.CheckStartupFiles_13
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
call qword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1801161a0], 0
mov dword [0x1801211e4], eax
je 0x180017929
lea r9, str.CheckStartupFiles_14
lea r8, str.WatchDog
lea rcx, [0x1801160e8]
mov edx, 0xf
call fcn.180011c50
mov rcx, qword [rbp + 0x5b0]
xor rcx, rsp
call fcn.180036980
mov rbx, qword [rsp + 0x6d8]
add rsp, 0x6c0
pop rbp
ret