Function at 0x1400040a0
Capabilities:
Create thread
Get disk information
Get system information on windows

Disassembly:
push rbx
push rsi
push rdi
push r13
sub rsp, 0xa8
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x50]
xor r13d, r13d
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov esi, dword [rsp + 0x80]
lea rax, [0x14002be50]
lea rcx, [0x14002be28]
mov qword [0x14002be58], rax
mov qword [0x14002be50], r13
mov qword [0x14002be18], rsi
mov dword [0x14002be20], r13d
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rdi, [rsi*8]
mov rcx, rdi
call fcn.14000d7f8
mov rbx, rax
test rax, rax
je 0x140004540
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14001b960
mov qword [0x14002be10], rbx
mov ebx, r13d
cmp qword [0x14002be18], rbx
mov dword [0x14002be20], 1
jbe 0x140004199
nop dword [rax]
mov qword [rsp + 0x28], r13
lea r9, [0x14002be10]
lea r8, [0x140005dc0]
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x14002be10]
mov qword [rcx + rbx*8], rax
inc rbx
cmp rbx, qword [0x14002be18]
jb 0x140004160
lea rax, [0x14002bea0]
mov qword [0x14002bea0], r13
lea rcx, [0x14002be78]
mov qword [0x14002bea8], rax
mov qword [0x14002be68], rsi
mov dword [0x14002be70], r13d
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rdi, [rsi*8]
mov rcx, rdi
call fcn.14000d7f8
mov rbx, rax
test rax, rax
je 0x140004537
mov r8, rdi
mov qword [rsp + 0xa0], r15
xor edx, edx
mov rcx, rax
call fcn.14001b960
mov qword [0x14002be60], rbx
mov rbx, r13
cmp qword [0x14002be68], rbx
mov dword [0x14002be70], 1
jbe 0x140004259
nop word [rax + rax]
mov qword [rsp + 0x28], r13
lea r9, [0x14002be60]
lea r8, [0x140005dc0]
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x14002be60]
mov qword [rcx + rbx*8], rax
inc rbx
cmp rbx, qword [0x14002be68]
jb 0x140004220
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], r13
xor edx, edx
mov qword [rsp + 0x58], rax
xor ecx, ecx
mov r15d, r13d
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, eax
test eax, eax
je 0x1400043e8
lea rdi, [rbx*2 + 2]
mov qword [rsp + 0xd8], r12
mov rcx, rdi
call fcn.14000d7f8
mov r12, rax
test rax, rax
je 0x1400043e0
mov r8, rdi
mov qword [rsp + 0xe0], r14
xor edx, edx
mov rcx, rax
call fcn.14001b960
mov rdx, r12
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov rcx, r12
mov rsi, r12
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r14d, eax
test eax, eax
je 0x14000439d
mov qword [rsp + 0xd0], rbp
mov ecx, gethostbyname
call fcn.140006270
xorps xmm0, xmm0
mov rdi, rax
mov rdx, 0xffffffffffffffff
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
nop dword [rax]
inc rdx
cmp word [rsi + rdx*2], r13w
jne 0x140004310
cmp rdx, 7
ja 0x14000434a
cmp qword [rax + 0x18], 7
mov rbp, rdi
jbe 0x14000432d
mov rbp, qword [rax]
lea rbx, [rdx + rdx]
mov qword [rax + 0x10], rdx
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.14001bd20
mov word [rbx + rbp], r13w
jmp 0x140004355
mov r9, rsi
mov rcx, rdi
call fcn.1400023d0
mov qword [rdi + 0x20], r13
lea rcx, [rdi + 0x20]
mov rax, qword [rsp + 0x58]
inc r15d
mov qword [rdi + 0x28], rax
mov rax, qword [rsp + 0x58]
mov qword [rax], rdi
lea eax, [r14 + 1]
mov qword [rsp + 0x58], rcx
movsxd rcx, eax
lea rsi, [rsi + rcx*2]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r14d, eax
test eax, eax
jne 0x1400042e2
mov rbp, qword [rsp + 0xd0]
mov rcx, r12
call fcn.14000d3c8
mov r14, qword [rsp + 0xe0]
test r15d, r15d
je 0x1400043e0
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x1400043e0
nop dword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140003aa0
mov rdx, rax
xor ecx, ecx
call fcn.140005f20
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x1400043c0
mov r12, qword [rsp + 0xd8]
call fcn.1400053f0
cmp qword [0x14002be18], r13
mov rdi, r13
mov r15, qword [rsp + 0xa0]
jbe 0x140004475
mov ecx, gethostname
call fcn.140006270
xorps xmm0, xmm0
lea rcx, [0x14002be28]
mov rbx, rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov dword [rax + 0x20], 1
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x28], r13
lea rdx, [rbx + 0x28]
mov rcx, qword [0x14002be58]
mov qword [rbx + 0x30], rcx
lea rcx, [0x14002be28]
mov rax, qword [0x14002be58]
mov qword [rax], rbx
mov qword [0x14002be58], rdx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc rdi
cmp rdi, qword [0x14002be18]
jb 0x140004401
mov rdx, qword [0x14002be10]
mov r9d, 0xffffffff
mov ecx, dword [0x14002be18]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp qword [0x14002be68], r13
mov rdi, r13
jbe 0x140004514
mov ecx, gethostname
call fcn.140006270
xorps xmm0, xmm0
lea rcx, [0x14002be78]
mov rbx, rax
movups xmmword [rax], xmm0
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], 7
mov word [rax], r13w
mov dword [rax + 0x20], 1
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x28], r13
lea rdx, [rbx + 0x28]
mov rcx, qword [0x14002bea8]
mov qword [rbx + 0x30], rcx
lea rcx, [0x14002be78]
mov rax, qword [0x14002bea8]
mov qword [rax], rbx
mov qword [0x14002bea8], rdx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc rdi
cmp rdi, qword [0x14002be68]
jb 0x1400044a0
mov rdx, qword [0x14002be60]
mov r9d, 0xffffffff
mov ecx, dword [0x14002be68]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor eax, eax
jmp 0x14000454c
mov qword [0x14002be60], rbx
jmp 0x140004547
mov qword [0x14002be10], rbx
mov eax, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140006250
add rsp, 0xa8
pop r13
pop rdi
pop rsi
pop rbx
ret