Function at 0x140109490
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 [0x14028c238]
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.14016e754
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.14016e754
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.140107650
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.14010a980
cmp qword [rsp + 0x30], 0
jne 0x1401096ab
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call fcn.1400c54b0
nop
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.1400c54b0
nop
mov qword [rbp - 0x78], r12
lea rcx, [rbp - 0x78]
call fcn.1400c54b0
nop
mov qword [rsp + 0x70], r12
lea rcx, [rsp + 0x70]
call fcn.1400c54b0
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x14010963a
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400c3a10
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r15
mov word [rbp - 0x20], r15w
mov rax, qword [rbp + 0x38]
cmp rax, 0x10
jb 0x1401096a1
inc rax
mov rcx, qword [rbp + 0x20]
cmp rax, 0x1000
jb 0x14010969c
test cl, 0x1f
je 0x14010966f
call fcn.1401b4bec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14010967e
call fcn.1401b4bec
int3
sub rcx, rax
cmp rcx, 8
jae 0x14010968d
call fcn.1401b4bec
int3
cmp rcx, 0x27
jbe 0x140109699
call fcn.1401b4bec
int3
mov rcx, rax
call fcn.140005f10
mov eax, 0xffffffe9
jmp 0x140109c42
movsd xmm0, qword [str.127.0.0.1]
movsd qword [rbp + 0x2d0], xmm0
movzx eax, word [0x140236e18]
mov word [rbp + 0x2d8], ax
xor edx, edx
mov r8d, 0x3f6
lea rcx, [rbp + 0x2da]
call fcn.1401b1bc0
movups xmm0, xmmword [str.Missing_Patches]
movaps xmmword [rbp + 0x6d0], xmm0
xor edx, edx
mov r8d, 0x3f0
lea rcx, [rbp + 0x6e0]
call fcn.1401b1bc0
lea rcx, [rbp - 0x20]
call fcn.140143ca0
mov esi, eax
test eax, eax
js 0x140109b58
mov r8d, 0x27
lea rdx, str.opswat_gfi_languard_missing_patches.xml
lea rcx, [rbp - 0x20]
call fcn.1400ca800
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.140148e50
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140101e80
mov rax, qword [rbp + 0x18]
cmp rax, 0x10
jb 0x140109797
inc rax
mov rcx, qword [rbp]
cmp rax, 0x1000
jb 0x140109792
test cl, 0x1f
je 0x140109765
call fcn.1401b4bec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140109774
call fcn.1401b4bec
int3
sub rcx, rax
cmp rcx, 8
jae 0x140109783
call fcn.1401b4bec
int3
cmp rcx, 0x27
jbe 0x14010978f
call fcn.1401b4bec
int3
mov rcx, rax
call fcn.140005f10
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 0x1401097b0
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 0x1401097ff
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.14016e754
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14010984a
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [rbp + 0xad0]
call fcn.140191850
mov qword [rbx], rax
jmp 0x14010984d
mov rbx, r15
mov qword [rbp - 0x58], rbx
test rbx, rbx
jne 0x140109861
mov ecx, 0x8007000e
call fcn.140191740
nop
mov ecx, SafeArrayCopy
call fcn.14016e754
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140109893
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [rbp + 0x6d0]
call fcn.140191850
mov qword [rbx], rax
jmp 0x140109896
mov rbx, r15
mov qword [rbp - 0x50], rbx
test rbx, rbx
jne 0x1401098aa
mov ecx, 0x8007000e
call fcn.140191740
nop
mov ecx, SafeArrayCopy
call fcn.14016e754
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x1401098dc
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [rbp + 0x2d0]
call fcn.140191850
mov qword [rbx], rax
jmp 0x1401098df
mov rbx, r15
mov qword [rsp + 0x38], rbx
test rbx, rbx
jne 0x1401098f4
mov ecx, 0x8007000e
call fcn.140191740
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x140109909
mov ecx, 0x80004003
call fcn.140191740
nop
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x38]
call fcn.1401044f0
test eax, eax
je 0x1401099c8
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14010994c
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140005fb0]
mov rcx, rbx
call rdi
nop
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call fcn.1400c54b0
nop
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.1400c54b0
nop
mov qword [rbp - 0x78], r12
lea rcx, [rbp - 0x78]
call fcn.1400c54b0
nop
mov qword [rsp + 0x70], r12
lea rcx, [rsp + 0x70]
call fcn.1400c54b0
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x1401099a4
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400c3a10
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r15
mov word [rbp - 0x20], r15w
lea rcx, [rbp + 0x20]
call fcn.1400d1b40
mov eax, 0xffffffe9
jmp 0x140109c42
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 0x140109a0b
cmp ebx, 0xa
jne 0x1401099d0
lea esi, [rax - 0x1b]
jmp 0x140109b58
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.1400c3ac0
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x70]
lea rdx, [rbp]
call fcn.140108020
mov esi, eax
test eax, eax
js 0x140109b58
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.1400c3720
nop
mov rax, qword [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov rcx, rbx
call qword [fcn.140005fb0]
lea r8, [rsp + 0x70]
lea rdx, [rbp]
lea rcx, [rsp + 0x58]
call rbx
nop
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x140109abd
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400c3a10
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.1400c3720
nop
mov rax, qword [rsp + 0x40]
mov rbx, qword [rax + 0xf8]
mov rcx, rbx
call qword [fcn.140005fb0]
lea r8, [rsp + 0x58]
lea rdx, [rbp]
lea rcx, [rsp + 0x40]
call rbx
nop
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x140109b25
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400c3a10
lea rdx, [rbp]
lea rcx, [rsp + 0x40]
call fcn.1400c8b50
mov rdx, rax
mov rcx, r14
call fcn.1400ca180
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x140109b58
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400c3a10
mov rcx, rdi
call fcn.140107790
nop
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140109b81
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140005fb0]
mov rcx, rbx
call rdi
nop
mov qword [rsp + 0x40], r12
lea rcx, [rsp + 0x40]
call fcn.1400c54b0
nop
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call fcn.1400c54b0
nop
mov qword [rbp - 0x78], r12
lea rcx, [rbp - 0x78]
call fcn.1400c54b0
nop
mov qword [rsp + 0x70], r12
lea rcx, [rsp + 0x70]
call fcn.1400c54b0
nop
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x140109bd9
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.1400c3a10
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r15
mov word [rbp - 0x20], r15w
mov rax, qword [rbp + 0x38]
cmp rax, 0x10
jb 0x140109c40
inc rax
mov rcx, qword [rbp + 0x20]
cmp rax, 0x1000
jb 0x140109c3b
test cl, 0x1f
je 0x140109c0e
call fcn.1401b4bec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140109c1d
call fcn.1401b4bec
int3
sub rcx, rax
cmp rcx, 8
jae 0x140109c2c
call fcn.1401b4bec
int3
cmp rcx, 0x27
jbe 0x140109c38
call fcn.1401b4bec
int3
mov rcx, rax
call fcn.140005f10
mov eax, esi
mov rcx, qword [rbp + 0xed0]
xor rcx, rsp
call fcn.14016e480
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