Function at 0x14002d600
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2d8
mov qword [rsp + 0x2a8], 0xfffffffffffffffe
mov rax, qword [0x1402aa808]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rcx, [rsp + 0x268]
call fcn.140074884
nop
mov dword [rsp + 0x260], 1
lea rcx, [rsp + 0x28]
call fcn.140001cf0
nop
lea rcx, [rsp + 0x20]
call fcn.140001cf0
nop
lea rcx, [rsp + 0x258]
call fcn.140001cf0
nop
mov r8d, 0x208
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1401ac6a0
mov rax, qword [rsp + 0x2e0]
add rax, 0x150
mov rcx, rax
call fcn.14002eed0
movzx eax, al
test eax, eax
je 0x14002d6cc
lea rcx, [rsp + 0x258]
call fcn.140001d50
nop
lea rcx, [rsp + 0x20]
call fcn.140001d50
nop
lea rcx, [rsp + 0x28]
call fcn.140001d50
nop
lea rcx, [rsp + 0x268]
call fcn.1400748e4
jmp 0x14002d940
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x2e0]
call sym.Setup.exe_private:_void___cdecl_CPrinterDriverInf::GetPrinterDriverDir_wchar_t____ptr64____ptr64
lea rcx, [rsp + 0x40]
call fcn.1401abfb8
mov dword [rsp + 0x250], eax
cmp dword [rsp + 0x250], 0
jle 0x14002d757
cmp dword [rsp + 0x250], 0x104
jge 0x14002d757
mov eax, dword [rsp + 0x250]
dec eax
cdqe
movzx eax, word [rsp + rax*2 + 0x40]
cmp eax, 0x5c
je 0x14002d72d
movsxd rax, dword [rsp + 0x250]
mov ecx, 0x5c
mov word [rsp + rax*2 + 0x40], cx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x258]
call fcn.1400185f0
lea r8, [0x1401f1748]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.1401ac918
jmp 0x14002d78d
lea rcx, [rsp + 0x258]
call fcn.140001d50
nop
lea rcx, [rsp + 0x20]
call fcn.140001d50
nop
lea rcx, [rsp + 0x28]
call fcn.140001d50
nop
lea rcx, [rsp + 0x268]
call fcn.1400748e4
jmp 0x14002d940
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x268]
call fcn.14007498c
test eax, eax
je 0x14002d90f
cmp dword [rsp + 0x260], 0
je 0x14002d901
lea rcx, [rsp + 0x268]
call fcn.14007438c
mov dword [rsp + 0x260], eax
lea rcx, [rsp + 0x268]
call fcn.140074830
test eax, eax
jne 0x14002d7ee
lea rcx, [rsp + 0x268]
call fcn.14000fc60
test eax, eax
je 0x14002d7f0
jmp 0x14002d7aa
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x268]
call fcn.140074f54
mov qword [rsp + 0x2b0], rax
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x2b8], rax
mov rdx, qword [rsp + 0x2b8]
lea rcx, [rsp + 0x28]
call fcn.140001d70
nop
lea rcx, [rsp + 0x2a0]
call fcn.140001d50
lea rcx, [rsp + 0x28]
call fcn.14002ec70
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140001da0
mov rcx, qword [rsp + 0x2e0]
add rcx, 0x150
xor r8d, r8d
mov rdx, rax
call fcn.14001a080
cmp eax, 0xffffffff
jne 0x14002d8e6
lea rdx, [rsp + 0x258]
lea rcx, [rsp + 0x20]
call fcn.140001d70
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call fcn.14000fce0
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.140001da0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14002d8c4
mov r8, qword [rsp + 0x20]
lea rdx, str.::DeletePrinterDriverDirectoryFiles__Delete_OK_____1_s___n
mov ecx, 5
call fcn.14001c160
jmp 0x14002d8da
mov r8, qword [rsp + 0x20]
lea rdx, str.::DeletePrinterDriverDirectoryFiles__Delete_Error_____1_s___n
mov ecx, 5
call fcn.14001c160
lea rcx, [rsp + 0x20]
call fcn.1400022b0
jmp 0x14002d8fc
mov r8, qword [rsp + 0x28]
lea rdx, str.::DeletePrinterDriverDirectoryFiles__Delete_Skip_____1_s___n
mov ecx, 5
call fcn.14001c160
jmp 0x14002d7aa
lea rcx, [rsp + 0x268]
call fcn.1400742b8
nop
lea rcx, [rsp + 0x258]
call fcn.140001d50
nop
lea rcx, [rsp + 0x20]
call fcn.140001d50
nop
lea rcx, [rsp + 0x28]
call fcn.140001d50
nop
lea rcx, [rsp + 0x268]
call fcn.1400748e4
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1401ab2d0
add rsp, 0x2d8
ret