Function at 0x1400237d8
Capabilities:
Check os version
Contain obfuscated stackstrings
Delete file
Get common file path
Get file size
Get system information on windows
Query or enumerate registry value
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x6d0]
sub rsp, 0x7d0
mov rax, qword [0x140162470]
xor rax, rsp
mov qword [rbp + 0x6c0], rax
mov r15, rdx
mov rdi, rcx
call fcn.14001b1d4
xor r12d, r12d
cmp qword [rdi + 8], r12
je 0x1400239e8
lea rcx, [rbp + 0x168]
mov dword [rbp + 0x168], 0x620064
mov dword [rbp + 0x16c], 0x680067
mov dword [rbp + 0x170], 0x6c0065
mov dword [rbp + 0x174], 0x2e0070
mov dword [rbp + 0x178], 0x6c0064
mov dword [rbp + 0x17c], 0x6c
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x1400239e8
movdqa xmm0, xmmword [str.MiniDumpWriteDum_u._u._u._u]
lea rdx, [rbp + 0x180]
mov rcx, rax
movdqu xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x190], 0x70
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
je 0x1400239df
lea rdx, [rbp + 0x4b0]
mov ecx, 0x104
mov dword [rbp + 0x160], 0x63007e
mov dword [rbp + 0x164], 0x62
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea r9, [rbp + 0x2a0]
lea rdx, [rbp + 0x160]
lea rcx, [rbp + 0x4b0]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov qword [rsp + 0x30], r12
lea r8d, [r12 + 2]
lea rcx, [rbp + 0x2a0]
xor r9d, r9d
mov edx, 0x40000000
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [rdi + 4]
mov edx, dword [rdi]
mov rbx, rax
mov dword [rsp + 0x50], ecx
mov rcx, qword [rdi + 8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x54], rcx
mov rcx, qword [rdi + 0xd0]
mov qword [rsp + 0x30], r12
xor r9d, r9d
mov r8, rbx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x5c], 1
mov qword [rsp + 0x20], rax
call r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0xd8]
test rcx, rcx
je 0x14002397b
call qword [sym.imp.KERNEL32.dll_SetEvent]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x2a0]
call fcn.140021dcc
mov rbx, rax
test rax, rax
je 0x1400239d2
mov r9d, dword [rsp + 0x60]
mov rcx, qword [rdi + 0xe0]
lea rdx, [rsp + 0x40]
mov r8, rax
mov qword [rsp + 0x28], r12
mov word [rsp + 0x40], 0x64
mov dword [rsp + 0x20], r12d
call fcn.14002038c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rbp + 0x48]
xor edx, edx
mov r8d, 0x10c
mov qword [rbp + 0x40], 0x114
call fcn.1400ea1b0
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [rbp + 0x44]
lea r8, [rsp + 0x48]
lea ecx, [rax + rax*4]
mov eax, dword [rbp + 0x48]
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea ecx, [rax + rcx*2]
lea rbx, [rdi + 0x8c]
mov dword [rdi + 0x88], ecx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x140023ad8
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
lea r9, [rbp + 0x160]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1a0]
lea rdx, [0x1401070d8]
xor r8d, r8d
mov dword [rbp + 0x160], 1
mov dword [rsp + 0x40], pe_nt_image_headers64
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea rdx, str.Microsoft
lea rcx, [rbp + 0x1a0]
mov r8d, 0xa
lea rsi, [rbp + 0x1a0]
call fcn.1400e93d0
lea rcx, [rbp + 0x1aa]
mov rdx, rbx
test eax, eax
cmovne rcx, rsi
sub rdx, rcx
mov al, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x140023abc
or rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r12b
jne 0x140023acc
add rbx, rax
lea rcx, [rbp - 0x5c]
xor edx, edx
mov r8d, ILFree
mov dword [rbp - 0x60], 0x9c
call fcn.1400ea1b0
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp byte [rbp - 0x4c], r12b
je 0x140023b1a
lea rax, [rbp - 0x4c]
mov byte [rbx], 0x5f
lea rcx, [rbp - 0x4c]
sub rbx, rax
mov al, byte [rcx]
inc rcx
mov byte [rbx + rcx], al
test al, al
jne 0x140023b0e
mov eax, dword [rbp - 0x54]
lea rcx, [rsp + 0x68]
mov dword [rdi + 0x84], eax
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [rsp + 0x68]
mov ebx, 3
test eax, eax
je 0x140023b75
cmp eax, 5
je 0x140023b63
cmp eax, 9
je 0x140023b57
cmp eax, 0xc
jne 0x140023b69
mov dword [rdi + 0x80], 2
jmp 0x140023b7c
mov dword [rdi + 0x80], 1
jmp 0x140023b7c
mov dword [rdi + 0x80], ebx
mov dword [rdi + 0x80], 4
jmp 0x140023b7c
mov dword [rdi + 0x80], r12d
mov rcx, rdi
call fcn.14001b6c0
test r15, r15
je 0x140023cb2
xor r9d, r9d
mov qword [rsp + 0x30], r12
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, r15
mov dword [rsp + 0x28], pe_nt_image_headers64
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140023cb2
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
lea ecx, [r14 - 1]
cmp ecx, 0xffffe
ja 0x140023ca9
lea ebx, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, ebx
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
je 0x140023ca9
lea r9, [rbp + 0x160]
mov r8d, r14d
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, 0x5c
mov rcx, r15
mov byte [r14 + rbx], r12b
call fcn.1400e839c
test rax, rax
jne 0x140023c3b
mov rax, r15
jmp 0x140023c3f
add rax, 2
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x100
mov qword [rsp + 0x20], rcx
or r9d, 0xffffffff
xor ecx, ecx
mov r8, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r9d, dword [rbp + 0x160]
mov rcx, qword [rdi + 0xe0]
lea rdx, [rbp + 0x1a0]
mov r8, rbx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call fcn.14002038c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x6c0]
xor rcx, rsp
call fcn.1400e79e0
lea r11, [rsp + 0x7d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret