Function at 0x14005f8b0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1401c6780]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rdi, rdx
xor ebx, ebx
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005f909
mov dword [rsp + 0x20], 0x1e
lea r9, str.ConfigurationManger
xor r8d, r8d
lea rdx, [0x140045110]
mov rcx, rax
call fcn.140027c40
jmp 0x14005f90c
mov rax, rbx
mov rcx, rax
call fcn.140065340
test al, al
je 0x14005f9b9
mov qword [rsp + 0x30], rbx
mov rcx, rdi
call fcn.1400b28a0
lea rcx, [rsp + 0x30]
call fcn.1400b28a0
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005f962
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
jmp 0x14005f965
mov rax, rbx
cmp dword [rax + 0x40], 4
jl 0x14005f9af
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005f99b
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ccd0]
mov rcx, rax
call fcn.140027c40
mov rbx, rax
lea r8, str.connection_to_config_service_is_disabled_in_global_config
mov edx, 4
mov rcx, rbx
call fcn.14001ef20
mov eax, 8
jmp 0x14005fc24
lea rdx, str.config
lea rcx, [rsp + 0x78]
call fcn.140058920
nop
xor ecx, ecx
call fcn.140027930
test rax, rax
je 0x14005f9fa
mov dword [rsp + 0x20], 0x1e
lea r9, str.ConfigurationManger
xor r8d, r8d
lea rdx, [0x140045110]
mov rcx, rax
call fcn.140027c40
jmp 0x14005f9fd
mov rax, rbx
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140064ce0
nop
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str._global_config_
mov rcx, rax
call fcn.140009a20
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rsp + 0x58]
call fcn.140009880
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.14005f710
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14005fa73
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rbp - 0x68]
call fcn.140009a20
nop
lea rcx, [rsp + 0x38]
call fcn.140009880
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rax
lea rcx, [rbp - 0x40]
call fcn.14001b970
lea rax, vtable.CurlDownloader.0
mov qword [rbp - 0x40], rax
mov edx, 0x63
lea r8d, [rdx - 0x62]
mov rcx, qword [rbp - 0x38]
call fcn.1400c31c0
mov edx, reloc.OLEAUT32.dll_DosDateTimeToVariantTime
lea r8d, [rdx - 3]
mov rcx, qword [rbp - 0x38]
call fcn.1400c31c0
lea rax, vtable.CSCurlDownloader.0
mov qword [rbp - 0x40], rax
xor edx, edx
lea rcx, [rbp - 0x40]
call fcn.1400664f0
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x40]
call fcn.14001bd00
test al, al
jne 0x14005fb3b
mov ebx, 7
cmp dword [rbp - 0x28], 0
jne 0x14005fb3b
mov eax, 0x51eb851f
imul dword [rbp - 0x24]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 9
cmp edx, 4
cmove ebx, eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call fcn.140023180
nop
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14001b2a0
nop
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400b2670
nop
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400b0970
nop
lea rcx, [rsp + 0x38]
call fcn.140009880
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14005fbd4
xor r8d, r8d
mov edx, 0x80
lea rcx, [rsp + 0x78]
call fcn.140026260
xor r8d, r8d
mov edx, dword [0x1401c73d0]
lea rcx, [rsp + 0x78]
call fcn.140026260
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rax, vtable.CurlCommon.0
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14005fbed
call fcn.1400c3790
mov rcx, qword [rbp - 0x38]
call fcn.1400c32d0
call fcn.1400c3530
lea rcx, [rbp + 0x20]
call fcn.14001cb50
lea rcx, [rbp + 8]
call fcn.14001cb50
nop
lea rcx, [rbp - 0x68]
call fcn.140009880
nop
lea rcx, [rsp + 0x78]
call fcn.140009810
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1401219d0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret