Function at 0x1400ff490
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xf08]
sub rsp, 0xfe0
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rbp + 0xed0], rax
mov r14, r8
mov rdi, rcx
mov qword [rbp + 0x38], reloc.OLEAUT32.dll_SafeArrayDestroy
xor r15d, r15d
mov qword [rbp + 0x30], r15
mov byte [rbp + 0x20], r15b
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r15
mov word [rbp - 0x20], r15w
mov qword [rbp + 0x58], 7
mov qword [rbp + 0x50], r15
mov word [rbp + 0x40], r15w
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r15
mov word [rbp + 0x60], r15w
lea r12, vtable.WaJson.0
mov qword [rsp + 0x70], r12
mov qword [rbp - 0x80], r15
mov dword [rbp - 0x80], r15d
mov byte [rbp - 0x80], r15b
mov dword [rsp + 0x78], 3
lea ecx, [r15 + 0x18]
call fcn.140165194
mov qword [rsp + 0x38], rax
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x68], r15
mov dword [rbp - 0x68], r15d
mov byte [rbp - 0x68], r15b
mov dword [rbp - 0x70], 3
lea ecx, [r15 + 0x18]
call fcn.140165194
mov qword [rsp + 0x38], rax
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x68], r15d
mov byte [rsp + 0x68], r15b
mov dword [rsp + 0x60], 5
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x50], r15d
mov byte [rsp + 0x50], r15b
mov dword [rsp + 0x48], 5
mov rcx, rdi
call fcn.1400fd650
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.140100980
cmp qword [rsp + 0x30], 0
jne 0x1400ff6ab
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call fcn.1400c02b0
nop
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.1400c02b0
nop
mov qword [rbp - 0x78], r12
lea rcx, [rbp - 0x78]
call fcn.1400c02b0
nop
mov qword [rsp + 0x70], r12
lea rcx, [rsp + 0x70]
call fcn.1400c02b0
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x1400ff63a
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400be810
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r15
mov word [rbp - 0x20], r15w
mov rax, qword [rbp + 0x38]
cmp rax, 0x10
jb 0x1400ff6a1
inc rax
mov rcx, qword [rbp + 0x20]
cmp rax, 0x1000
jb 0x1400ff69c
test cl, 0x1f
je 0x1400ff66f
call fcn.1401ab16c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400ff67e
call fcn.1401ab16c
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400ff68d
call fcn.1401ab16c
int3
cmp rcx, 0x27
jbe 0x1400ff699
call fcn.1401ab16c
int3
mov rcx, rax
call fcn.140005910
mov eax, 0xffffffe9
jmp 0x1400ffc42
movsd xmm0, qword [str.127.0.0.1]
movsd qword [rbp + 0x2d0], xmm0
movzx eax, word [0x14022b418]
mov word [rbp + 0x2d8], ax
xor edx, edx
mov r8d, 0x3f6
lea rcx, [rbp + 0x2da]
call fcn.1401a85d0
movups xmm0, xmmword [str.Missing_Patches]
movaps xmmword [rbp + 0x6d0], xmm0
xor edx, edx
mov r8d, 0x3f0
lea rcx, [rbp + 0x6e0]
call fcn.1401a85d0
lea rcx, [rbp - 0x20]
call fcn.14013a780
mov esi, eax
test eax, eax
js 0x1400ffb58
mov r8d, 0x27
lea rdx, str.opswat_gfi_languard_missing_patches.xml
lea rcx, [rbp - 0x20]
call fcn.1400c4b50
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.14013f890
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1400f7e80
mov rax, qword [rbp + 0x18]
cmp rax, 0x10
jb 0x1400ff797
inc rax
mov rcx, qword [rbp]
cmp rax, 0x1000
jb 0x1400ff792
test cl, 0x1f
je 0x1400ff765
call fcn.1401ab16c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400ff774
call fcn.1401ab16c
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400ff783
call fcn.1401ab16c
int3
cmp rcx, 0x27
jbe 0x1400ff78f
call fcn.1401ab16c
int3
mov rcx, rax
call fcn.140005910
lea rcx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0x10
cmovae rcx, qword [rbp + 0x20]
lea rdx, [rbp + 0xad0]
nop dword [rax]
movzx eax, byte [rcx]
mov byte [rdx], al
lea rcx, [rcx + 1]
lea rdx, [rdx + 1]
test al, al
jne 0x1400ff7b0
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x1400ff7ff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rax, [rbp - 0x58]
mov qword [rbp - 0x40], rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x38], rax
lea rax, [rsp + 0x38]
mov qword [rbp - 0x30], rax
mov ecx, SafeArrayCopy
call fcn.140165194
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1400ff84a
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [rbp + 0xad0]
call fcn.140188200
mov qword [rbx], rax
jmp 0x1400ff84d
mov rbx, r15
mov qword [rbp - 0x58], rbx
test rbx, rbx
jne 0x1400ff861
mov ecx, 0x8007000e
call fcn.1401880f0
nop
mov ecx, SafeArrayCopy
call fcn.140165194
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1400ff893
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [rbp + 0x6d0]
call fcn.140188200
mov qword [rbx], rax
jmp 0x1400ff896
mov rbx, r15
mov qword [rbp - 0x50], rbx
test rbx, rbx
jne 0x1400ff8aa
mov ecx, 0x8007000e
call fcn.1401880f0
nop
mov ecx, SafeArrayCopy
call fcn.140165194
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1400ff8dc
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [rbp + 0x2d0]
call fcn.140188200
mov qword [rbx], rax
jmp 0x1400ff8df
mov rbx, r15
mov qword [rsp + 0x38], rbx
test rbx, rbx
jne 0x1400ff8f4
mov ecx, 0x8007000e
call fcn.1401880f0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x1400ff909
mov ecx, 0x80004003
call fcn.1401880f0
nop
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x38]
call fcn.1400fa4f0
test eax, eax
je 0x1400ff9c8
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400ff94c
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rbx
call rdi
nop
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call fcn.1400c02b0
nop
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.1400c02b0
nop
mov qword [rbp - 0x78], r12
lea rcx, [rbp - 0x78]
call fcn.1400c02b0
nop
mov qword [rsp + 0x70], r12
lea rcx, [rsp + 0x70]
call fcn.1400c02b0
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x1400ff9a4
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400be810
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r15
mov word [rbp - 0x20], r15w
lea rcx, [rbp + 0x20]
call fcn.1400cb8c0
mov eax, 0xffffffe9
jmp 0x1400ffc42
mov ebx, r15d
nop dword [rax + rax]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x1400ffa0b
cmp ebx, 0xa
jne 0x1400ff9d0
lea esi, [rax - 0x1b]
jmp 0x1400ffb58
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r15
mov word [rbp], r15w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.1400be8c0
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x70]
lea rdx, [rbp]
call fcn.1400fe020
mov esi, eax
test eax, eax
js 0x1400ffb58
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r15
mov word [rbp], r15w
mov r8d, 7
lea rdx, str.patches
lea rcx, [rbp]
call fcn.1400be520
nop
mov rax, qword [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov rcx, rbx
call qword [fcn.1400059b0]
lea r8, [rsp + 0x70]
lea rdx, [rbp]
lea rcx, [rsp + 0x58]
call rbx
nop
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x1400ffabd
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400be810
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r15
mov word [rbp], r15w
mov r8d, 6
lea rdx, str.result
lea rcx, [rbp]
call fcn.1400be520
nop
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax + 0xf8]
mov rcx, rbx
call qword [fcn.1400059b0]
lea r8, [rsp + 0x58]
lea rdx, [rbp]
lea rcx, [rsp + 0x40]
call rbx
nop
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x1400ffb25
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400be810
lea rdx, [rbp]
lea rcx, [rsp + 0x40]
call fcn.1400c2f60
mov rdx, rax
mov rcx, r14
call fcn.1400c44d0
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x1400ffb58
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400be810
mov rcx, rdi
call fcn.1400fd790
nop
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x1400ffb81
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rbx
call rdi
nop
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call fcn.1400c02b0
nop
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.1400c02b0
nop
mov qword [rbp - 0x78], r12
lea rcx, [rbp - 0x78]
call fcn.1400c02b0
nop
mov qword [rsp + 0x70], r12
lea rcx, [rsp + 0x70]
call fcn.1400c02b0
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x1400ffbd9
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400be810
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r15
mov word [rbp - 0x20], r15w
mov rax, qword [rbp + 0x38]
cmp rax, 0x10
jb 0x1400ffc40
inc rax
mov rcx, qword [rbp + 0x20]
cmp rax, 0x1000
jb 0x1400ffc3b
test cl, 0x1f
je 0x1400ffc0e
call fcn.1401ab16c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400ffc1d
call fcn.1401ab16c
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400ffc2c
call fcn.1401ab16c
int3
cmp rcx, 0x27
jbe 0x1400ffc38
call fcn.1401ab16c
int3
mov rcx, rax
call fcn.140005910
mov eax, esi
mov rcx, qword [rbp + 0xed0]
xor rcx, rsp
call fcn.140164ec0
lea r11, [rsp + 0xfe0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret