Function at 0x140004340
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 [0x140020008]
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, [0x140022da0]
lea rcx, [0x140022d78]
mov qword [0x140022da8], rax
mov qword [0x140022da0], r13
mov qword [0x140022d68], rsi
mov dword [0x140022d70], r13d
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rdi, [rsi*8]
mov rcx, rdi
call fcn.14000a6f0
mov rbx, rax
test rax, rax
je 0x1400047e0
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.140007670
mov qword [0x140022d60], rbx
mov ebx, r13d
cmp qword [0x140022d68], rbx
mov dword [0x140022d70], 1
jbe 0x140004439
nop dword [rax]
mov qword [rsp + 0x28], r13
lea r9, [0x140022d60]
lea r8, [0x140005f80]
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x140022d60]
mov qword [rcx + rbx*8], rax
inc rbx
cmp rbx, qword [0x140022d68]
jb 0x140004400
lea rax, [0x140022df0]
mov qword [0x140022df0], r13
lea rcx, [0x140022dc8]
mov qword [0x140022df8], rax
mov qword [0x140022db8], rsi
mov dword [0x140022dc0], r13d
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rdi, [rsi*8]
mov rcx, rdi
call fcn.14000a6f0
mov rbx, rax
test rax, rax
je 0x1400047d7
mov r8, rdi
mov qword [rsp + 0xa0], r15
xor edx, edx
mov rcx, rax
call fcn.140007670
mov qword [0x140022db0], rbx
mov rbx, r13
cmp qword [0x140022db8], rbx
mov dword [0x140022dc0], 1
jbe 0x1400044f9
nop word [rax + rax]
mov qword [rsp + 0x28], r13
lea r9, [0x140022db0]
lea r8, [0x140005f80]
mov dword [rsp + 0x20], r13d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [0x140022db0]
mov qword [rcx + rbx*8], rax
inc rbx
cmp rbx, qword [0x140022db8]
jb 0x1400044c0
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 0x140004688
lea rdi, [rbx*2 + 2]
mov qword [rsp + 0xd8], r12
mov rcx, rdi
call fcn.14000a6f0
mov r12, rax
test rax, rax
je 0x140004680
mov r8, rdi
mov qword [rsp + 0xe0], r14
xor edx, edx
mov rcx, rax
call fcn.140007670
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 0x14000463d
mov qword [rsp + 0xd0], rbp
mov ecx, gethostbyname
call fcn.1400062b0
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 0x1400045b0
cmp rdx, 7
ja 0x1400045ea
cmp qword [rax + 0x18], 8
mov rbp, rdi
jb 0x1400045cd
mov rbp, qword [rax]
lea rbx, [rdx + rdx]
mov qword [rax + 0x10], rdx
mov r8, rbx
mov rdx, rsi
mov rcx, rbp
call fcn.140008540
mov word [rbx + rbp], r13w
jmp 0x1400045f5
mov r9, rsi
mov rcx, rdi
call fcn.1400022f0
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 0x140004582
mov rbp, qword [rsp + 0xd0]
mov rcx, r12
call fcn.14000a258
mov r14, qword [rsp + 0xe0]
test r15d, r15d
je 0x140004680
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x140004680
nop dword [rax]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140003f00
mov rdx, rax
xor ecx, ecx
call fcn.1400060e0
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x140004660
mov r12, qword [rsp + 0xd8]
call fcn.140005690
cmp qword [0x140022d68], r13
mov rdi, r13
mov r15, qword [rsp + 0xa0]
jbe 0x140004715
mov ecx, gethostname
call fcn.1400062b0
xorps xmm0, xmm0
lea rcx, [0x140022d78]
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 [0x140022da8]
mov qword [rbx + 0x30], rcx
lea rcx, [0x140022d78]
mov rax, qword [0x140022da8]
mov qword [rax], rbx
mov qword [0x140022da8], rdx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc rdi
cmp rdi, qword [0x140022d68]
jb 0x1400046a1
mov rdx, qword [0x140022d60]
mov r9d, 0xffffffff
mov ecx, dword [0x140022d68]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp qword [0x140022db8], r13
mov rdi, r13
jbe 0x1400047b4
mov ecx, gethostname
call fcn.1400062b0
xorps xmm0, xmm0
lea rcx, [0x140022dc8]
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 [0x140022df8]
mov qword [rbx + 0x30], rcx
lea rcx, [0x140022dc8]
mov rax, qword [0x140022df8]
mov qword [rax], rbx
mov qword [0x140022df8], rdx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
inc rdi
cmp rdi, qword [0x140022db8]
jb 0x140004740
mov rdx, qword [0x140022db0]
mov r9d, 0xffffffff
mov ecx, dword [0x140022db8]
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor eax, eax
jmp 0x1400047ec
mov qword [0x140022db0], rbx
jmp 0x1400047e7
mov qword [0x140022d60], rbx
mov eax, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140006290
add rsp, 0xa8
pop r13
pop rdi
pop rsi
pop rbx
ret