Function at 0x1400002d0
Capabilities:
Accept command line arguments
Copy file
Create thread
Inject dll
Inject thread

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x838]
sub rsp, 0x938
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp + 0x880]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor r15d, r15d
mov r13, rax
test rax, rax
jne 0x140000314
mov al, 1
jmp 0x1400003b7
mov edi, 3
cmp dword [rbp + 0x880], edi
je 0x14000034d
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
xor r9d, r9d
mov qword [rsp + 0x20], r15
mov rcx, rax
lea r8d, [rdi + 0x26]
lea rdx, [0x14000027c]
call qword [sym.imp.KERNEL32.dll_WriteConsoleW]
lea ebx, [rdi - 1]
jmp 0x1400003ac
mov r14, qword [rax + 8]
xor edx, edx
mov r12, qword [rax + 0x10]
lea ebx, [rdx + 2]
mov ecx, ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400003a9
mov dword [rbp + 0x1e0], 0x238
jmp 0x14000038a
mov rdx, r14
lea rcx, [rbp + 0x20c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400003cb
lea rdx, [rbp + 0x1e0]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140000376
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 4
mov bl, dil
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, bl
add rsp, 0x938
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r15d, dword [rbp + 0x1e8]
xor r14d, r14d
test r15d, r15d
je 0x14000039d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
lea r8, [rbp + 0x620]
mov edx, 0x105
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov r12d, eax
lea rax, [rbp + 0x620]
lea rax, [rax + r12*2]
cmp word [rax], 0x5c
mov rdx, rax
je 0x14000041b
sub rdx, rbx
cmp word [rdx], 0x5c
jne 0x140000412
add rdx, rbx
mov qword [rbp + 0x890], r14
sub rax, rdx
mov r8, r12
sar rax, 1
sub r8, rax
jmp 0x14000045f
mov rax, qword [rbp + 0x890]
mov rcx, qword [rbp + 0x890]
movzx eax, word [rbp + rax*2 + 0x620]
mov word [rbp + rcx*2 - 0x30], ax
mov rax, qword [rbp + 0x890]
inc rax
mov qword [rbp + 0x890], rax
mov rax, qword [rbp + 0x890]
cmp rax, r8
jb 0x140000433
lea rax, [rbp - 0x30]
mov ecx, 0x69
lea rax, [rax + r8*2]
lea r8, [0x14000025c]
sub r8, rax
mov word [rax], cx
add rax, rbx
movzx ecx, word [r8 + rax]
test cx, cx
jne 0x140000482
jmp 0x14000049d
add rdx, rbx
mov word [rax], cx
add rax, rbx
movzx ecx, word [rdx]
test cx, cx
jne 0x140000494
mov word [rax], r14w
mov edx, r15d
mov r14d, 8
mov ecx, r14d
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400003a9
mov dword [rbp + 0x1e0], 0x438
xor edi, edi
jmp 0x1400004ea
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x410]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1400004ff
lea rdx, [rbp + 0x1e0]
mov rcx, rsi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1400004d5
jmp 0x140000506
mov rdi, qword [rbp + 0x208]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, r15d
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
xor r15d, r15d
mov rsi, rax
test rax, rax
jne 0x140000532
mov dil, 0xa
jmp 0x1400003a9
test rdi, rdi
je 0x1400005aa
lea rcx, [0x14000023c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x14000021c]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov r9, rax
mov dword [rsp + 0x28], r15d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rdi, rax
test rax, rax
jne 0x140000583
mov bl, 0xd
jmp 0x1400007c0
or edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
cmp eax, 0xffffffff
jne 0x1400005a4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, 0xe
jmp 0x14000062a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x620]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400005c7
lea ecx, [rax + 5]
jmp 0x14000062a
xor edx, edx
mov dword [rbp + 0x888], 0x44
lea r9, [rbp + 0x888]
lea r8, [rbp - 0x80]
lea ecx, [rdx + 0x54]
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x1400005ef
mov cl, 6
jmp 0x14000062a
xor r9d, r9d
lea rax, [rbp + 0x898]
mov qword [rsp + 0x38], rax
lea rcx, [rbp - 0x30]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rax
lea edx, [r9 + 1]
mov qword [rsp + 0x20], r15
lea r8d, [r9 + 4]
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
test eax, eax
je 0x140000631
mov cl, 7
mov bl, cl
jmp 0x1400007c0
mov r8, qword [rsp + 0x40]
lea rax, [rbp - 0x80]
mov rdi, qword [rbp + 0x898]
lea r9, [rsp + 0x48]
mov ecx, 5
mov dword [rsp + 0x50], 0xa0000000
mov dword [rsp + 0x70], ecx
lea rdx, [rsp + 0x50]
mov ecx, 1
mov qword [rsp + 0x54], rbx
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x78], rax
call qword [sym.imp.ADVAPI32.dll_SetEntriesInAclW]
test eax, eax
jne 0x1400006b7
mov rbx, qword [rsp + 0x48]
lea edx, [rax + 1]
mov qword [rsp + 0x30], r15
lea r8d, [rax + 4]
mov qword [rsp + 0x28], rbx
lea rcx, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_SetNamedSecurityInfoW]
mov rcx, rbx
test eax, eax
je 0x1400006c2
mov r14b, 9
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x140000700
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea rbx, [r12*2 + 0x14]
mov dword [rsp + 0x20], 4
mov r8, rbx
mov r9d, 0x3000
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140000708
mov r14b, 0xb
mov bl, r14b
jmp 0x1400007c0
lea rax, [rbp + 0x888]
mov qword [rbp + 0x888], r15
mov r9, rbx
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x30]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1400007a7
cmp qword [rbp + 0x888], rbx
jne 0x1400007a7
lea rcx, [0x14000023c]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140000228]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov r9, rax
mov dword [rsp + 0x28], r15d
xor edx, edx
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov r14, rax
test rax, rax
jne 0x140000784
mov al, 0xd
jmp 0x1400007a9
or ebx, 0xffffffff
mov rcx, r14
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
mov rcx, r14
setne bl
dec bl
and bl, 0xe
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400007ab
mov al, 0xc
mov bl, al
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400003ac