Function at 0x140104830
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 [0x14028a238]
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.14016d134
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.14016d134
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.1401029f0
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.140105d20
cmp qword [rsp + 0x30], 0
jne 0x140104a4b
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 0x1401049da
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 0x140104a41
inc rax
mov rcx, qword [rbp + 0x20]
cmp rax, 0x1000
jb 0x140104a3c
test cl, 0x1f
je 0x140104a0f
call fcn.1401b34dc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140104a1e
call fcn.1401b34dc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140104a2d
call fcn.1401b34dc
int3
cmp rcx, 0x27
jbe 0x140104a39
call fcn.1401b34dc
int3
mov rcx, rax
call fcn.140005f10
mov eax, 0xffffffe9
jmp 0x140104fe2
movsd xmm0, qword [str.127.0.0.1]
movsd qword [rbp + 0x2d0], xmm0
movzx eax, word [0x140234888]
mov word [rbp + 0x2d8], ax
xor edx, edx
mov r8d, 0x3f6
lea rcx, [rbp + 0x2da]
call fcn.1401b04b0
movups xmm0, xmmword [str.Missing_Patches]
movaps xmmword [rbp + 0x6d0], xmm0
xor edx, edx
mov r8d, 0x3f0
lea rcx, [rbp + 0x6e0]
call fcn.1401b04b0
lea rcx, [rbp - 0x20]
call fcn.140142680
mov esi, eax
test eax, eax
js 0x140104ef8
mov r8d, 0x27
lea rdx, str.opswat_gfi_languard_missing_patches.xml
lea rcx, [rbp - 0x20]
call fcn.1400c9ec0
lea rdx, [rbp - 0x20]
lea rcx, [rbp]
call fcn.140147830
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.1400fd220
mov rax, qword [rbp + 0x18]
cmp rax, 0x10
jb 0x140104b37
inc rax
mov rcx, qword [rbp]
cmp rax, 0x1000
jb 0x140104b32
test cl, 0x1f
je 0x140104b05
call fcn.1401b34dc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140104b14
call fcn.1401b34dc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140104b23
call fcn.1401b34dc
int3
cmp rcx, 0x27
jbe 0x140104b2f
call fcn.1401b34dc
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 0x140104b50
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 0x140104b9f
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.14016d134
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140104bea
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [rbp + 0xad0]
call fcn.140190110
mov qword [rbx], rax
jmp 0x140104bed
mov rbx, r15
mov qword [rbp - 0x58], rbx
test rbx, rbx
jne 0x140104c01
mov ecx, 0x8007000e
call fcn.140190000
nop
mov ecx, SafeArrayCopy
call fcn.14016d134
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140104c33
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [rbp + 0x6d0]
call fcn.140190110
mov qword [rbx], rax
jmp 0x140104c36
mov rbx, r15
mov qword [rbp - 0x50], rbx
test rbx, rbx
jne 0x140104c4a
mov ecx, 0x8007000e
call fcn.140190000
nop
mov ecx, SafeArrayCopy
call fcn.14016d134
mov rbx, rax
mov qword [rbp - 0x60], rax
test rax, rax
je 0x140104c7c
mov qword [rax + 8], r15
mov dword [rax + 0x10], 1
lea rcx, [rbp + 0x2d0]
call fcn.140190110
mov qword [rbx], rax
jmp 0x140104c7f
mov rbx, r15
mov qword [rsp + 0x38], rbx
test rbx, rbx
jne 0x140104c94
mov ecx, 0x8007000e
call fcn.140190000
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x140104ca9
mov ecx, 0x80004003
call fcn.140190000
nop
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x50]
lea rdx, [rsp + 0x38]
call fcn.1400ff890
test eax, eax
je 0x140104d68
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140104cec
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 0x140104d44
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.1400d0c70
mov eax, 0xffffffe9
jmp 0x140104fe2
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 0x140104dab
cmp ebx, 0xa
jne 0x140104d70
lea esi, [rax - 0x1b]
jmp 0x140104ef8
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.1401033c0
mov esi, eax
test eax, eax
js 0x140104ef8
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 0x140104e5d
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 0x140104ec5
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400c3a10
lea rdx, [rbp]
lea rcx, [rsp + 0x40]
call fcn.1400c8210
mov rdx, rax
mov rcx, r14
call fcn.1400c9840
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x140104ef8
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.1400c3a10
mov rcx, rdi
call fcn.140102b30
nop
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140104f21
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 0x140104f79
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 0x140104fe0
inc rax
mov rcx, qword [rbp + 0x20]
cmp rax, 0x1000
jb 0x140104fdb
test cl, 0x1f
je 0x140104fae
call fcn.1401b34dc
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140104fbd
call fcn.1401b34dc
int3
sub rcx, rax
cmp rcx, 8
jae 0x140104fcc
call fcn.1401b34dc
int3
cmp rcx, 0x27
jbe 0x140104fd8
call fcn.1401b34dc
int3
mov rcx, rax
call fcn.140005f10
mov eax, esi
mov rcx, qword [rbp + 0xed0]
xor rcx, rsp
call fcn.14016ce60
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