Function at 0x180005380
Capabilities:
Create process on windows
Create process suspended
Create thread
Inject thread
Read file via mapping
Suspend thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1800660c0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r15, r8
mov r13, rdx
mov r14, rcx
xor edi, edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov rdx, qword [0x180068ba8]
sub rdx, qword [0x180068ba0]
sar rdx, 3
test rdx, rdx
je 0x180005422
lea rcx, [rsp + 0x60]
call fcn.1800125e0
mov rdi, qword [0x180068ba8]
mov rdx, qword [0x180068ba0]
sub rdi, rdx
mov r8, rdi
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.1800321a0
sar rdi, 3
lea rax, [rbx + rdi*8]
mov qword [rsp + 0x68], rax
xor edi, edi
lea rcx, [rsp + 0x60]
call fcn.180014760
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1800142f0
mov r12, rax
test rax, rax
je 0x18000589d
mov dword [rbp - 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rax
mov rsi, 0xffffffffffffffff
mov r8, rsi
nop
inc r8
cmp word [r14 + r8*2], ax
jne 0x180005480
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x38], rdi
mov rdx, r14
lea rcx, [rbp + 0x20]
call fcn.180012670
nop
lea r11, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
cmova r11, qword [rbp + 0x20]
mov rax, qword [rbp + 0x30]
lea rdx, [r11 + rax*2]
mov rcx, r11
call fcn.1800127a0
mov r10, rax
cmp rax, rdx
je 0x18000550e
nop dword [rax]
lea r8, [rdx - 2]
movzx ecx, word [r8]
cmp cx, 0x5c
je 0x1800054ee
cmp cx, 0x2f
je 0x1800054ee
mov rdx, r8
cmp r10, r8
jne 0x1800054d0
jmp 0x18000550e
cmp r10, rdx
je 0x18000550e
lea rcx, [rdx - 2]
movzx eax, word [rcx]
cmp ax, 0x5c
je 0x180005506
cmp ax, 0x2f
jne 0x18000550e
mov rdx, rcx
cmp r10, rcx
jne 0x1800054f3
sub rdx, r11
sar rdx, 1
xorps xmm0, xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rdi
mov qword [rbp + 0x98], rdi
mov r8, rdx
mov rdx, r11
lea rcx, [rbp + 0x80]
call fcn.180012670
nop
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x60]
call fcn.180012930
nop
lea rbx, [rbp + 0x60]
cmp qword [rbp + 0x78], 7
cmova rbx, qword [rbp + 0x60]
lea rax, str.0_1
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 7
mov qword [rbp + 0xb0], r14
movabs rax, 0xb000000000000000
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xb8], r13
movabs rax, 0xb000000000000008
mov qword [rbp + 0xa8], rax
mov qword [rbp - 0x80], 2
lea rax, [rbp + 0xa0]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
movaps xmm1, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm1
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.180005980
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 7
cmova rdx, qword [rbp + 0x40]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
mov rdx, qword [rbp + 0x58]
cmp rdx, 7
jbe 0x18000565e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005659
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800058d5
call fcn.180015d88
movdqa xmm0, xmmword [0x18005e9f0]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], di
mov rdx, qword [rbp + 0x78]
cmp rdx, 7
jbe 0x1800056af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800056aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800058db
call fcn.180015d88
movdqa xmm0, xmmword [0x18005e9f0]
movdqu xmmword [rbp + 0x70], xmm0
mov word [rbp + 0x60], di
mov rdx, qword [rbp + 0x98]
cmp rdx, 7
jbe 0x180005707
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005701
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800058e1
call fcn.180015d88
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x180005747
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180005742
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800058cf
call fcn.180015d88
test ebx, ebx
je 0x18000589d
mov r14, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_SuspendThread]
nop dword [rax]
inc rsi
cmp word [r15 + rsi*2], 0
jne 0x180005760
add rsi, rsi
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8, rsi
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
xor ebx, ebx
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov r8, r15
mov rdx, rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov r9d, dword [r12]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov r9d, 0x8000
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x50], 0
je 0x18000589d
call fcn.180014560
mov ebx, eax
test eax, eax
je 0x18000585d
mov ecx, ebx
call fcn.180014620
test al, al
je 0x18000585d
lea r8, str.6A653E3B_97F2_D94B_6C34_30A6E726E788
xor edx, edx
mov ecx, 0xf001f
call qword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov rdi, rax
test rax, rax
jne 0x180005864
lea ecx, [rax + 0x19]
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.180014560
mov ebx, eax
test eax, eax
jne 0x180005822
xor bl, bl
movzx eax, bl
jmp 0x18000589f
mov qword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp dword [rax], ebx
sete bl
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
jmp 0x18000589f
xor al, al
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.180015d60
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18001df38
nop
call fcn.18001df38
nop
call fcn.18001df38
nop
call fcn.18001df38
int3