Function at 0x1400dcc10
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 [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0x4d8], rax
call fcn.1400d9830
mov dword [rsp + 0x4c], 0
movzx eax, word [rsp + 0x500]
test eax, eax
je 0x1400dcd0e
lea rcx, [rsp + 0x1a8]
call fcn.140002d10
nop
movzx r8d, word [rsp + 0x500]
lea rdx, [0x14022c268]
lea rcx, [rsp + 0x1a8]
call fcn.140002ba0
lea rcx, [rsp + 0x1a8]
call fcn.140050200
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 0x1400dcd01
mov dword [rsp + 0x43c], 0
lea rcx, [rsp + 0x1a8]
call fcn.140007060
mov eax, dword [rsp + 0x43c]
jmp 0x1400dd22a
lea rcx, [rsp + 0x1a8]
call fcn.140007060
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 0x1400dcd67
cmp dword [rsp + 0x88], 0
jne 0x1400dcd67
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 0x1400dcdac
lea rcx, str.Getting_proc_of_NtQuerySystemInformation_failed
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
jmp 0x1400dd22a
mov ecx, 0x20
call fcn.140073244
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 0x1400dce99
cmp dword [rsp + 0x68], 0
jne 0x1400dce10
xor eax, eax
jmp 0x1400dd22a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x448], rax
mov rcx, qword [rsp + 0x448]
call fcn.140073288
mov eax, dword [rsp + 0x68]
add eax, 0x400
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0x48]
call fcn.140073290
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 0x1400dce99
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x458], rax
mov rcx, qword [rsp + 0x458]
call fcn.140073288
xor eax, eax
jmp 0x1400dd22a
mov dword [rsp + 0x1b0], 0
jmp 0x1400dceb7
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 0x1400dd20b
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 0x1400dcefc
jmp 0x1400dcea6
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 0x1400dcf81
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 0x1400dd022
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 0x1400dd014
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, [0x1400d90d0]
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 0x1400dd1ac
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x1e4], eax
je 0x1400dd0c6
movzx eax, word [rsp + 0x500]
test eax, eax
jne 0x1400dd1ac
movzx eax, word [rsp + 0x210]
test eax, eax
je 0x1400dd1ac
lea rdx, [rsp + 0x460]
mov rcx, qword [rsp + 0x508]
call fcn.140055990
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.14001d8a0
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.140055990
mov rdi, rax
lea r9, [rsp + 0x210]
lea r8, [rsp + 0x4c0]
lea rdx, [rsp + 0x4b0]
lea rcx, [rsp + 0x480]
call fcn.14004ffc0
mov rdx, rdi
mov rcx, rax
call fcn.1400208e0
movzx eax, al
test eax, eax
je 0x1400dd1ac
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x4a0]
call fcn.140002050
nop
lea rdx, [rsp + 0x4a0]
mov rcx, qword [rsp + 0x508]
call fcn.140011a30
nop
lea rcx, [rsp + 0x4a0]
call fcn.140007060
cmp dword [rsp + 0x200], 0x102
jne 0x1400dd1c9
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 0x1400dd206
mov rax, qword [rsp + 0x420]
movzx eax, word [rax + 6]
cmp qword [rsp + 0x430], rax
je 0x1400dd206
mov rcx, qword [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400dcea6
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x4a8], rax
mov rcx, qword [rsp + 0x4a8]
call fcn.140073288
mov eax, 1
mov rcx, qword [rsp + 0x4d8]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0x4e8
pop rdi
pop rsi
ret