Function at 0x1400dbb60
Capabilities:
Check os version
Create thread
Get disk information
Print debug messages
Terminate thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov word [rsp + 8], cx
push rsi
push rdi
sub rsp, 0x4e8
mov qword [rsp + 0x4d0], 0xfffffffffffffffe
mov rax, qword [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x4d8], rax
call fcn.1400d87e0
mov dword [rsp + 0x4c], 0
movzx eax, word [rsp + 0x500]
test eax, eax
je 0x1400dbc5e
lea rcx, [rsp + 0x1a8]
call fcn.140002de0
nop
movzx r8d, word [rsp + 0x500]
lea rdx, [0x14021c238]
lea rcx, [rsp + 0x1a8]
call fcn.140002c70
lea rcx, [rsp + 0x1a8]
call fcn.14000f8f0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov dword [rsp + 0x1a0], eax
cmp dword [rsp + 0x1a0], 0
jne 0x1400dbc51
mov dword [rsp + 0x43c], 0
lea rcx, [rsp + 0x1a8]
call fcn.140001490
mov eax, dword [rsp + 0x43c]
jmp 0x1400dc17a
lea rcx, [rsp + 0x1a8]
call fcn.140001490
mov dword [rsp + 0x64], 0x1c
mov dword [rsp + 0x80], 0
lea rdi, [rsp + 0x84]
xor eax, eax
mov ecx, 0x110
rep stosb byte [rdi], al
mov dword [rsp + 0x80], 0x114
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [rsp + 0x84], 6
jne 0x1400dbcb7
cmp dword [rsp + 0x88], 0
jne 0x1400dbcb7
mov dword [rsp + 0x64], 0x19
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x58], rax
lea rdx, str.NtQuerySystemInformation
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400dbcfc
lea rcx, str.Getting_proc_of_NtQuerySystemInformation_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x1400dc17a
mov ecx, 0x20
call fcn.140072204
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], 0x20
mov dword [rsp + 0x68], 0
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [rsp + 0x40]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jge 0x1400dbde9
cmp dword [rsp + 0x68], 0
jne 0x1400dbd60
xor eax, eax
jmp 0x1400dc17a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x448], rax
mov rcx, qword [rsp + 0x448]
call fcn.140072248
mov eax, dword [rsp + 0x68]
add eax, 0x400
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x48]
call fcn.140072250
mov qword [rsp + 0x450], rax
mov rax, qword [rsp + 0x450]
mov qword [rsp + 0x50], rax
lea r9, [rsp + 0x68]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
call qword [rsp + 0x40]
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jge 0x1400dbde9
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x458], rax
mov rcx, qword [rsp + 0x458]
call fcn.140072248
xor eax, eax
jmp 0x1400dc17a
mov dword [rsp + 0x1b0], 0
jmp 0x1400dbe07
mov eax, dword [rsp + 0x1b0]
add eax, 1
mov dword [rsp + 0x1b0], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
cmp dword [rsp + 0x1b0], eax
jae 0x1400dc15b
mov ecx, dword [rsp + 0x1b0]
imul rcx, rcx, 0x18
mov rax, qword [rsp + 0x50]
lea rax, [rax + rcx + 8]
mov qword [rsp + 0x420], rax
mov rax, qword [rsp + 0x420]
movzx eax, byte [rax + 4]
cmp eax, dword [rsp + 0x64]
je 0x1400dbe4c
jmp 0x1400dbdf6
xor eax, eax
mov word [rsp + 0x210], ax
lea rdi, [rsp + 0x212]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x420]
movzx eax, word [rax + 6]
mov qword [rsp + 0x430], rax
mov rax, qword [rsp + 0x420]
mov r8d, dword [rax]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x208], rax
cmp qword [rsp + 0x208], 0
je 0x1400dbed1
mov r9d, 0x104
lea r8, [rsp + 0x210]
xor edx, edx
mov rcx, qword [rsp + 0x208]
call sub.PSAPI.DLL_GetModuleFileNameExW
mov rcx, qword [rsp + 0x208]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x420]
mov r8d, dword [rax]
xor edx, edx
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x208], rax
cmp qword [rsp + 0x208], 0
je 0x1400dbf72
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rax
mov rax, qword [rsp + 0x420]
movzx edx, word [rax + 6]
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x430]
mov rcx, qword [rsp + 0x208]
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov dword [rsp + 0x438], eax
cmp dword [rsp + 0x438], 0
jne 0x1400dbf64
mov rax, qword [rsp + 0x420]
movzx eax, word [rax + 6]
mov qword [rsp + 0x430], rax
mov rcx, qword [rsp + 0x208]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x1c0], 0
lea rdi, [rsp + 0x1c8]
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r9, [rsp + 0x1c0]
lea r8, [0x1400d8080]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x428], rax
mov edx, 0x64
mov rcx, qword [rsp + 0x428]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [rsp + 0x200], eax
cmp dword [rsp + 0x200], 0
jne 0x1400dc0fc
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x1e4], eax
je 0x1400dc016
movzx eax, word [rsp + 0x500]
test eax, eax
jne 0x1400dc0fc
movzx eax, word [rsp + 0x210]
test eax, eax
je 0x1400dc0fc
lea rdx, [rsp + 0x460]
mov rcx, qword [rsp + 0x508]
call fcn.14001c5e0
lea rdi, [rsp + 0x4c0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x470]
mov rcx, qword [rsp + 0x508]
call fcn.14001fcd0
lea rdi, [rsp + 0x4b0]
mov rsi, rax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetDim
rep movsb byte [rdi], byte [rsi]
lea rdx, [rsp + 0x490]
mov rcx, qword [rsp + 0x508]
call fcn.14001c5e0
mov rdi, rax
lea r9, [rsp + 0x210]
lea r8, [rsp + 0x4c0]
lea rdx, [rsp + 0x4b0]
lea rcx, [rsp + 0x480]
call fcn.14004eb90
mov rdx, rdi
mov rcx, rax
call fcn.14001c7f0
movzx eax, al
test eax, eax
je 0x1400dc0fc
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x4a0]
call fcn.140002100
nop
lea rdx, [rsp + 0x4a0]
mov rcx, qword [rsp + 0x508]
call fcn.1400104f0
nop
lea rcx, [rsp + 0x4a0]
call fcn.140001490
cmp dword [rsp + 0x200], 0x102
jne 0x1400dc119
xor edx, edx
mov rcx, qword [rsp + 0x428]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rsp + 0x428]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x430], 0
je 0x1400dc156
mov rax, qword [rsp + 0x420]
movzx eax, word [rax + 6]
cmp qword [rsp + 0x430], rax
je 0x1400dc156
mov rcx, qword [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400dbdf6
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x4a8], rax
mov rcx, qword [rsp + 0x4a8]
call fcn.140072248
mov eax, 1
mov rcx, qword [rsp + 0x4d8]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x4e8
pop rdi
pop rsi
ret