Function at 0x18004fc50
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x258
mov rax, qword [0x1801060b8]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov dword [rsp + 0x238], 0
mov qword [rsp + 0x230], 0
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x270]
call fcn.180046460
mov dword [rsp + 0x238], eax
cmp dword [rsp + 0x238], 0
je 0x18004fdb0
mov rax, qword [rsp + 0x270]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18004fdb0
mov rax, qword [rsp + 0x270]
add rax, 0x418
mov rcx, rax
call fcn.18000ea80
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x1f0]
mov qword [rsp + 0x68], rax
lea rdx, [0x1800d7c70]
mov rcx, qword [rsp + 0x68]
call fcn.180055220
lea rcx, [rsp + 0xd0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0xe0]
lea rcx, [rsp + 0xd0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x238]
call fcn.1800035a0
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xf0]
lea rcx, [rsp + 0xe0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x100]
lea rcx, [rsp + 0xf0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0x70]
lea r8, [rsp + 0x100]
mov edx, 4
mov rcx, qword [rsp + 0x60]
call fcn.180058330
cmp dword [rsp + 0x238], 0
je 0x18004fdc6
mov eax, dword [rsp + 0x238]
jmp 0x180050450
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x270]
call fcn.18004c520
mov dword [rsp + 0x238], eax
cmp dword [rsp + 0x238], 0
je 0x18004fdf1
jmp 0x180050306
mov r8b, 1
mov edx, dword [rsp + 0x278]
mov rcx, qword [rsp + 0x270]
call fcn.1800525a0
mov dword [rsp + 0x238], eax
cmp dword [rsp + 0x238], 0
je 0x18004fe1e
jmp 0x180050306
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x270]
call fcn.180049b50
mov rcx, qword [rsp + 0x270]
call fcn.180050c00
mov eax, dword [rsp + 0x278]
and eax, 0x20
cmp eax, 0x20
jne 0x18004ffce
call fcn.180067190
mov rcx, rax
call fcn.180062820
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
jne 0x18004ff78
call fcn.180067190
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x38]
call qword [rax]
movzx eax, al
test eax, eax
je 0x18004ff08
call fcn.180067190
mov rcx, rax
call fcn.180063210
movzx eax, al
test eax, eax
je 0x18004ff08
mov rax, qword [rsp + 0x270]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18004fefb
mov rax, qword [rsp + 0x270]
add rax, 0x418
mov rcx, rax
call fcn.18000ea80
mov qword [rsp + 0x80], rax
lea r8, str.EppWfp_installed_and_started
mov edx, 2
mov rcx, qword [rsp + 0x80]
call fcn.1800571e0
mov dword [rsp + 0x238], 0
jmp 0x18004ff69
mov rax, qword [rsp + 0x270]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18004ff5e
mov rax, qword [rsp + 0x270]
add rax, 0x418
mov rcx, rax
call fcn.18000ea80
mov qword [rsp + 0x88], rax
lea r8, str.EppWfp_install_start_failed
mov edx, 4
mov rcx, qword [rsp + 0x88]
call fcn.1800571e0
mov dword [rsp + 0x238], 0x641
cmp dword [rsp + 0x238], 0
je 0x18004ff78
jmp 0x180050306
mov rax, qword [rsp + 0x270]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18004ffce
mov rax, qword [rsp + 0x270]
add rax, 0x418
mov rcx, rax
call fcn.18000ea80
mov qword [rsp + 0x90], rax
lea r8, str.EppWfp_installed._nothing_to_do.
mov edx, 2
mov rcx, qword [rsp + 0x90]
call fcn.1800571e0
mov eax, dword [rsp + 0x278]
and eax, 0x40
cmp eax, 0x40
jne 0x180050306
mov dword [rsp + 0x34], 0
lea rdx, [0x1800d7d88]
mov rcx, qword [rsp + 0x270]
call fcn.180046290
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1800502f0
mov byte [rsp + 0x23c], 0
lea r8, [rsp + 0x23c]
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x270]
call fcn.18004a3a0
mov dword [rsp + 0x238], eax
cmp dword [rsp + 0x238], 0
je 0x1800502c4
mov rax, qword [rsp + 0x270]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x18005018c
mov rax, qword [rsp + 0x270]
add rax, 0x418
mov rcx, rax
call fcn.18000ea80
mov qword [rsp + 0xb0], rax
lea rax, [rsp + 0x200]
mov qword [rsp + 0x98], rax
lea rdx, str._install_failed._
mov rcx, qword [rsp + 0x98]
call fcn.180055220
lea rcx, [rsp + 0x110]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x120]
lea rcx, [rsp + 0x110]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x238]
call fcn.1800035a0
mov qword [rsp + 0xa0], rax
lea rcx, [0x1800d7d98]
call fcn.180056f20
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x130]
lea rcx, [rsp + 0x120]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x140]
lea rcx, [rsp + 0x130]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x150]
lea rcx, [rsp + 0x140]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa8]
lea r8, [rsp + 0x150]
mov edx, 4
mov rcx, qword [rsp + 0xb0]
call fcn.180058bb0
mov rcx, qword [rsp + 0x270]
call fcn.180046db0
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x1800502c4
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [rsp + 0x240], eax
mov rax, qword [rsp + 0x270]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x1800502c4
mov rax, qword [rsp + 0x270]
add rax, 0x418
mov rcx, rax
call fcn.18000ea80
mov qword [rsp + 0xc8], rax
lea rax, [rsp + 0x210]
mov qword [rsp + 0xb8], rax
lea rdx, str.deleted:_
mov rcx, qword [rsp + 0xb8]
call fcn.180055220
lea rcx, [rsp + 0x160]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x170]
lea rcx, [rsp + 0x160]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x240]
call fcn.1800035a0
mov qword [rsp + 0xc0], rax
lea rax, [rsp + 0x180]
lea rcx, [rsp + 0x170]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x190]
lea rcx, [rsp + 0x180]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov r9, qword [rsp + 0xc0]
lea r8, [rsp + 0x190]
mov edx, 2
mov rcx, qword [rsp + 0xc8]
call fcn.1800572f0
cmp dword [rsp + 0x238], 0
je 0x1800502d0
jmp 0x180050306
mov r8b, 1
mov edx, dword [rsp + 0x278]
mov rcx, qword [rsp + 0x270]
call fcn.1800525a0
mov dword [rsp + 0x238], eax
jmp 0x180050306
mov rdx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x270]
call fcn.18004afe0
nop
mov rdx, qword [rsp + 0x230]
mov rcx, qword [rsp + 0x270]
call fcn.180046ad0
mov rax, qword [rsp + 0x270]
add rax, 0x418
xor edx, edx
mov rcx, rax
call fcn.18000ea90
movzx eax, al
test eax, eax
je 0x180050449
mov rax, qword [rsp + 0x270]
add rax, 0x418
mov rcx, rax
call fcn.18000ea80
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x220]
mov qword [rsp + 0x48], rax
lea rdx, str._Result:__
mov rcx, qword [rsp + 0x48]
call fcn.180055220
lea rcx, [rsp + 0x1a0]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1b0]
lea rcx, [rsp + 0x1a0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x238]
call fcn.1800035a0
mov qword [rsp + 0x50], rax
lea rcx, str.EppLibClass::EppInstallDriver
call fcn.180056f20
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x1c0]
lea rcx, [rsp + 0x1b0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1d0]
lea rcx, [rsp + 0x1c0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x1e0]
lea rcx, [rsp + 0x1d0]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
lea r8, [rsp + 0x1e0]
mov edx, 2
mov rcx, qword [rsp + 0x78]
call fcn.180058bb0
mov eax, dword [rsp + 0x238]
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.180099a00
add rsp, 0x258
pop rdi
pop rsi
ret