Function at 0x14002bee4
Capabilities:
Check if file exists
Delete directory
Delete file
Delete registry key
Get common file path
Get system information on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8e8]
sub rsp, 0x9b0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14006c0f0]
xor rax, rsp
mov qword [rbp + 0x8a0], rax
mov r12, rdx
mov r14, rcx
mov r15d, 1
xor r13d, r13d
mov qword [rsp + 0x38], r13
mov ebx, 0x208
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x480]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov r8d, ebx
xor edx, edx
lea rcx, [rbp + 0x690]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movdqa xmm0, xmmword [0x14005a0b0]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r13w
mov ebx, r13d
mov qword [rsp + 0x40], rbx
mov edi, r13d
mov qword [rsp + 0x48], r13
mov esi, r13d
mov qword [rsp + 0x50], r13
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r13w
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x270]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
movdqa xmm0, xmmword [0x14005a0b0]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r13w
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rsp + 0x30], r13
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
nop dword [rax + rax]
mov ecx, eax
or ecx, 0x80010000
neg eax
sbb r14d, r14d
and r14d, ecx
jl 0x14002c51b
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140053ef0]
call qword [sym.imp.api_ms_win_shell_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
js 0x14002c51b
mov edx, 0x104
lea rcx, [rbp + 0x270]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetWindowsDirectoryW]
nop dword [rax + rax]
test eax, eax
jne 0x14002c059
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
jmp 0x14002c51b
lea rdx, [rbp + 0x270]
lea rcx, [rbp - 0x48]
call fcn.140008078
mov r14d, 1
mov r8d, r14d
lea rdx, [0x140052ed0]
lea rcx, [rbp - 0x48]
call fcn.1400075ec
lea r8d, [r14 + 3]
lea rdx, str.TEMP
lea rcx, [rbp - 0x48]
call fcn.1400075ec
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
je 0x14002c037
lea rcx, [rbp - 8]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateGuid]
nop dword [rax + rax]
test eax, eax
jne 0x14002c037
lea r8d, [r14 + 0x27]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 8]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
nop dword [rax + rax]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x68]
call fcn.140008078
lea rax, [rbp - 0x68]
mov r8, qword [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rax, r8
mov rcx, qword [rbp - 0x58]
lea r11, [rax + rcx*2]
lea rax, [rbp - 0x68]
cmovae rax, r8
lea r9, [rax + rcx*2]
lea rax, [rbp - 0x68]
cmovae rax, r8
jmp 0x14002c12a
cmp word [rax], 0x7b
je 0x14002c12f
add rax, 2
cmp rax, r9
jne 0x14002c120
cmp rax, r9
je 0x14002c172
lea rdx, [rax + 2]
mov r8, r13
mov rcx, r9
sub rcx, rdx
add rcx, r14
shr rcx, 1
cmp rdx, r9
cmova rcx, r13
test rcx, rcx
je 0x14002c172
movzx r10d, word [rdx]
cmp r10w, 0x7b
je 0x14002c166
mov word [rax], r10w
add rax, 2
add rdx, 2
add r8, r14
cmp r8, rcx
jne 0x14002c153
mov r9, r11
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.14002c6b0
lea rax, [rbp - 0x68]
mov r8, qword [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rax, r8
mov rcx, qword [rbp - 0x58]
lea r11, [rax + rcx*2]
lea rax, [rbp - 0x68]
cmovae rax, r8
lea r9, [rax + rcx*2]
lea rax, [rbp - 0x68]
cmovae rax, r8
jmp 0x14002c1bf
cmp word [rax], 0x7d
je 0x14002c1c4
add rax, 2
cmp rax, r9
jne 0x14002c1b5
cmp rax, r9
je 0x14002c207
lea rdx, [rax + 2]
mov r8, r13
mov rcx, r9
sub rcx, rdx
add rcx, r14
shr rcx, 1
cmp rdx, r9
cmova rcx, r13
test rcx, rcx
je 0x14002c207
movzx r10d, word [rdx]
cmp r10w, 0x7d
je 0x14002c1fb
mov word [rax], r10w
add rax, 2
add rdx, 2
add r8, r14
cmp r8, rcx
jne 0x14002c1e8
mov r9, r11
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.14002c6b0
mov r8, r14
lea rdx, [0x140052ed0]
lea rcx, [rbp - 0x48]
call fcn.1400075ec
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rdx, qword [rbp - 0x68]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r13w
jne 0x14002c240
lea rcx, [rbp - 0x48]
call fcn.1400075ec
lea r8, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae r8, qword [rbp - 0x48]
lea r9, str.RUXIM.cab
mov edx, 0x104
lea rcx, [rbp + 0x480]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchCombine]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
js 0x14002c51b
lea rcx, [rbp + 0x480]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
jne 0x14002c2b6
mov r14d, 0x8007000e
jmp 0x14002c51b
lea r9, str.RUXIM
mov r8, qword [rsp + 0x38]
mov edx, 0x104
lea rcx, [rbp + 0x690]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchCombine]
nop dword [rax + rax]
mov r14d, eax
test eax, eax
js 0x14002c51b
lea rcx, [rbp + 0x690]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rdi, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14002c2ab
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea r8, str.SoftwareMicrosoftWindowsCurrentVersionWindowsUpdatePLUGRUXIMSpec_
lea rcx, [rbp + 0x60]
call fcn.140014238
mov r14d, eax
test eax, eax
js 0x14002c51b
mov r8, qword [rsp + 0x30]
lea rcx, [rbp + 0x60]
call fcn.140014238
mov r14d, eax
test eax, eax
js 0x14002c51b
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
mov qword [rbp - 0x18], r13
mov word [rax], r13w
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemInfo]
nop dword [rax + rax]
mov rcx, 0xffffffff80000002
movzx eax, word [rsp + 0x68]
test ax, ax
jne 0x14002c38b
lea r8, str.RUXIMX86CABURL
jmp 0x14002c398
cmp ax, 9
jne 0x14002c3aa
lea r8, str.RUXIMX64CABURL
lea r9, [rbp - 0x28]
lea rdx, [rbp + 0x60]
call fcn.140011ddc
mov r14d, eax
jmp 0x14002c3b0
mov r14d, 0x81330006
test r14d, r14d
js 0x14002c51b
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rsi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14002c2ab
mov r15d, r13d
mov rdx, rax
mov rcx, rbx
call fcn.14002ccf4
mov r14d, eax
test eax, eax
jns 0x14002c42a
cmp eax, 0x800700b7
jne 0x14002c418
mov r14d, 0x1330002
mov r15d, 3
lea rdx, str._RUXIMCABHelper__DownloadAndExtractCab_Method:_RUXIM_cab_of_identical_hash_already_downloaded
jmp 0x14002c513
mov r15d, 2
lea rdx, str._RUXIMCABHelper__DownloadAndExtractCab_Method:_Download_of_latest_RUXIM_cab_failed
jmp 0x14002c513
lea rdx, str._RUXIMCABHelper__DownloadAndExtractCab_Method:_Succesfully_downloaded_latest_RUXIM_cab
mov ecx, eax
call fcn.140009a7c
mov rcx, rbx
call fcn.14004ae24
mov r14d, eax
mov ecx, eax
test eax, eax
jns 0x14002c45b
mov r15d, 4
lea rdx, str._RUXIMCABHelper__DownloadAndExtractCab_Method:_RUXIM_cab_not_signed
jmp 0x14002c516
lea rdx, str._RUXIMCABHelper__DownloadAndExtractCab_Method:_Succesfully_validated_RUXIM_cab_signature
call fcn.140009a7c
mov r9, rdi
lea r8, [0x14002cbc0]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.setupapi.dll_SetupIterateCabinetW]
nop dword [rax + rax]
test eax, eax
jne 0x14002c50c
lea r15d, [rax + 5]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx r14d, ax
or r14d, 0x80070000
test eax, eax
cmovle r14d, eax
lea rdx, str._RUXIMCABHelper__DownloadAndExtractCab_Method:_Unpacking_of_RUXIM_cab_failed
mov ecx, r14d
call fcn.140009a7c
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionWindowsUpdatePLUGRUXIMETag
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteTreeW]
nop dword [rax + rax]
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x14002c500
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x14002c4f7
lea rdx, str._RUXIMCABHelper__DeleteRUXIMCabETag_Method:_Unable_to_delete_the_RUXIM_cabs_e_tag_reg_key
jmp 0x14002c516
lea rdx, str._RUXIMCABHelper__DeleteRUXIMCabETag_Method:_Succesfully_deleted_cabs_e_tag_reg_key
jmp 0x14002c516
mov ecx, r13d
lea rdx, str._RUXIMCABHelper__DeleteRUXIMCabETag_Method:_No_e_tag_reg_key_found
jmp 0x14002c516
lea rdx, str._RUXIMCABHelper__DownloadAndExtractCab_Method:_Succesfully_unpacked_RUXIM_cab
mov ecx, r14d
call fcn.140009a7c
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
je 0x14002c53d
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
nop dword [rax + rax]
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_core_shlwapi_legacy_l1_1_0.dll_PathFileExistsW]
nop dword [rax + rax]
test eax, eax
je 0x14002c575
lea rcx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_RemoveDirectoryW]
nop dword [rax + rax]
mov rax, r12
cmp qword [r12 + 0x18], 8
jb 0x14002c584
mov rax, qword [r12]
mov qword [r12 + 0x10], r13
mov word [rax], r13w
test r15d, r15d
je 0x14002c5e6
sub r15d, 1
je 0x14002c5dd
sub r15d, 1
je 0x14002c5d4
sub r15d, 1
je 0x14002c5cb
sub r15d, 1
je 0x14002c5c2
cmp r15d, 1
je 0x14002c5b9
lea rdx, str.Invalid
jmp 0x14002c5ed
lea rdx, str.UnpackCabFailed
jmp 0x14002c5ed
lea rdx, str.CheckCabSignatureFailed
jmp 0x14002c5ed
lea rdx, str.CabAlreadyExists
jmp 0x14002c5ed
lea rdx, str.DownloadCabFailed
jmp 0x14002c5ed
lea rdx, str.DownloadAndExtractCabInitialize
jmp 0x14002c5ed
lea rdx, str.DownloadAndExtractCabSuccess
mov rcx, r12
call fcn.140008078
nop
lea rcx, [rbp - 0x68]
call fcn.140007e78
nop
lea rcx, [rbp - 0x48]
call fcn.140007e78
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002c61a
call fcn.1400077b4
nop
test rsi, rsi
je 0x14002c62f
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
test rdi, rdi
je 0x14002c644
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
test rbx, rbx
je 0x14002c659
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x28]
call fcn.140007e78
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002c679
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov eax, r14d
mov rcx, qword [rbp + 0x8a0]
xor rcx, rsp
call fcn.14004b4d0
mov rbx, qword [rsp + 0xa00]
add rsp, 0x9b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret