Function at 0x1800321d0
Capabilities:
Check for software breakpoints
Create pipe
Create process on windows
Read file on windows
Terminate process
Write and execute a file
Write file on windows
Write pipe

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1740]
mov eax, 0x1840
call fcn.180040ee0
sub rsp, rax
mov edi, r8d
lea r15d, [r8 + 0x4d3]
mov r14d, r8d
lea r9, [0x180000000]
xor r8d, r8d
mov r10, rdx
mov rsi, rcx
cmp edi, r15d
jae 0x1800322e0
mov rbx, qword [rbp + 0x1798]
lea edx, [r8 + 0x65]
mov r14, qword [rbp + 0x1798]
lea ecx, [rdx + 6]
movabs r12, 0x6e00720065
movabs r13, 0x33006c0065
nop
cmp edi, 0x1a0
ja 0x18003247f
je 0x180032468
lea eax, [rdi - 0x89]
cmp eax, 0xe6
ja case.default.0x180032283
movzx eax, byte [r9 + rax + 0x32c94]
mov ecx, dword [r9 + rax*4 + 0x32c68]
add rcx, r9
jmp rcx
mov r8d, 2
lea rdx, [0x180061dd0]
lea rcx, [rbp - 0x80]
call fcn.1800474e0
mov r8d, 3
lea rdx, [0x180061dec]
lea rcx, [rbp - 0x80]
call fcn.180047330
mov ecx, 0x6b
mov r10, qword [rbp + 0x1788]
lea r9, [0x180000000]
mov edx, 0x65
add edi, 0x41
lea r8d, [rdx - 0x65]
cmp edi, r15d
jb 0x180032250
mov r14d, dword [rbp + 0x1790]
lea esi, [r14 + 0x12]
mov dword [rbp - 0x60], esi
cmp r14d, esi
jae case.0x18003234b.288
mov r12d, dword [rbp + 0x1790]
mov r9d, 0x6e
mov r13d, dword [rbp + 0x1790]
movabs rdx, 0x3200730077
mov ebx, dword [rbp + 0x1790]
mov edi, dword [rbp + 0x1798]
lea r11d, [r9 + 6]
nop
lea eax, [r14 - 0xed]
cmp eax, 0x33
ja case.0x18003234b.252
lea r15, [0x180000000]
movzx eax, byte [r15 + rax + 0x32dc4]
mov ecx, dword [r15 + rax*4 + 0x32d7c]
add rcx, r15
jmp rcx
mov byte [rsp + 0x73], 0
jmp case.0x180032283.147
mov r9, qword [r10]
test r9, r9
je 0x1800323a4
mov ecx, 0x59
cmp ecx, 0x59
je 0x180032395
cmp ecx, 0x65
jne 0x18003239c
mov r8, qword [rsi]
mov rax, r8
or rax, r9
test rax, 0xffffffffffff0000
je 0x18003239c
xor edx, edx
mov rax, rbx
div r9
cmp rax, r8
je 0x18003239c
mov rbx, 0xffffffffffffffff
jmp 0x18003239c
mov rbx, r9
imul rbx, qword [rsi]
add ecx, 0xc
cmp ecx, 0x71
jb 0x180032364
xor r9d, r9d
mov qword [rbp - 0x60], rbx
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov ecx, 0x113
call fcn.18000c540
mov r14, rax
jmp case.0x180032283.147
mov rbx, r8
jmp case.0x180032283.147
mov rdx, qword [r10]
lea rax, [rdx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1800323e6
mov ecx, 4
call fcn.18001eae0
xor r8d, r8d
mov dword [rsp + 0x68], r8d
jmp case.0x180032283.147
mov eax, dword [str.reat]
mov dword [rbp - 0x7c], eax
movzx eax, byte [0x180061e34]
mov byte [rbp - 0x78], al
jmp case.0x180032283.147
movzx eax, word [0x180061e5e]
mov word [rsp + 0x70], ax
movzx eax, byte [0x180061e60]
mov byte [rsp + 0x72], al
jmp case.0x180032283.147
test r14, r14
je 0x18003244e
mov dword [rbp + 0x1798], r8d
lea r9, [rbp + 0x1798]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x68], rbx
mov edx, 0x12a
mov rcx, r14
call fcn.18003ddf0
mov qword [rsp + 0x68], r14
jmp case.0x180032283.147
mov word [rbp - 0x78], dx
mov dword [rbp - 0x77], 0x657645
jmp case.0x180032283.147
mov r8d, 4
lea rdx, [0x180061e0c]
lea rcx, [rsp + 0x70]
jmp 0x1800322ac
cmp edi, 0x2a4
ja 0x1800324e2
je 0x1800324d9
mov eax, edi
sub eax, 0x1e1
je 0x1800324cd
sub eax, 0x41
je 0x1800324ac
cmp eax, 0x41
jne case.default.0x180032283
mov dword [rbp - 0x38], 0x6b
jmp case.default.0x180032283
mov r8d, 4
lea rdx, [0x180061f52]
lea rcx, [rsp + 0x78]
call fcn.1800474e0
mov byte [rsp + 0x7c], 0
jmp case.0x180032283.147
mov word [rsp + 0x77], 0x41
jmp case.default.0x180032283
mov qword [rbp - 0x36], r12
jmp case.default.0x180032283
mov eax, edi
sub eax, 0x2e5
je 0x180032536
sub eax, 0x41
je 0x18003251d
cmp eax, 0x41
jne case.default.0x180032283
lea rax, [rbp - 0x38]
sub rax, 2
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x180032501
movsd xmm0, qword [0x180061fc0]
movsd qword [rax], xmm0
jmp case.default.0x180032283
mov eax, dword [0x180061fc8]
mov dword [rbp - 0x2a], eax
movzx eax, word [0x180061fcc]
mov word [rbp - 0x26], ax
jmp case.default.0x180032283
mov qword [rbp - 0x30], r13
jmp case.default.0x180032283
mov rcx, qword [rbp + 0x20]
mov rax, 0xffffffffffffffff
test rcx, rcx
cmovne rax, rcx
mov qword [rsp + 0x68], rax
jmp case.0x18003234b.252
mov dword [rsp + 0x54], r8d
mov dword [rbp + 0x1798], r12d
call qword [rbp + 0x30]
mov edi, r12d
mov ecx, r12d
inc r12d
mov qword [rbp + rcx*8 + 0x130], rax
mov r9d, 0x6e
movabs rdx, 0x3200730077
lea r11d, [r9 + 6]
jmp case.0x18003234b.252
lea r9, [rbp - 0x38]
mov r8d, 0xf5
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x330]
call fcn.180024590
mov rdx, qword [rbp + 0x1788]
mov r9d, 4
mov r8d, 0x103000
xor ecx, ecx
mov rax, qword [rax]
mov rdx, qword [rdx]
call rax
mov qword [rbp + 0x20], rax
jmp 0x18003257b
mov qword [rbp + 0x40], r8
mov dword [rbp + 0x48], 1
jmp case.0x18003234b.252
mov ecx, edi
mov rcx, qword [rbp + rcx*8 + 0x130]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18003257b
dec r12d
jmp case.0x18003234b.252
mov word [rbp - 0x74], r9w
jmp case.0x18003234b.252
xor r9d, r9d
lea r8, [rbp + 0x38]
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x180032b46
mov esi, 0xaa
mov dword [rsp + 0x60], esi
nop dword [rax]
mov eax, esi
sub eax, 0xaa
je 0x180032aff
sub eax, 1
je 0x180032acb
sub eax, 1
je 0x180032663
cmp eax, 1
jne 0x180032b2b
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180032b2b
cmp qword [rbp - 0x48], 0xffffffffffffffff
je 0x180032abf
mov eax, 0x80
mov dword [rsp + 0x5c], eax
nop word [rax + rax]
sub eax, 0x80
je 0x180032a75
sub eax, 0x47
je 0x1800326a8
cmp eax, 0x47
jne 0x180032aa5
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180032aa5
cmp qword [rbp - 0x40], 0xffffffffffffffff
je 0x180032aa5
mov eax, 0x12
mov dword [rsp + 0x58], eax
nop dword [rax]
cmp eax, 0xcc
ja 0x180032751
je 0x180032736
sub eax, 0x12
je 0x1800326fe
sub eax, 0x3e
je 0x1800326ec
cmp eax, 0x3e
jne 0x180032a5d
mov dword [rbp + 0x70], 0x68
jmp 0x180032a5d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp - 8], rax
jmp 0x180032a5d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0xd0], rax
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
jmp 0x180032a5d
mov rax, qword [rbp - 0x58]
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0xd0], rax
jmp 0x180032a5d
sub eax, 0x10a
je 0x180032a48
sub eax, 0x3e
je 0x180032779
cmp eax, 0x3e
jne 0x180032a5d
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180032a5d
lea rax, [rbp - 0x18]
xor esi, esi
mov qword [rsp + 0x48], rax
lea rdx, [0x180061500]
lea rax, [rbp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], rsi
xor ecx, ecx
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180032a5d
mov edi, 0x59
nop dword [rax]
lea eax, [rdi - 0x59]
cmp eax, 6
ja case.default.0x1800327e7
mov ecx, dword [r15 + rax*4 + 0x32df8]
add rcx, r15
jmp rcx
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp case.default.0x1800327e7
mov r14d, esi
nop word [rax + rax]
mov r15d, 0x66
mov eax, r15d
mov esi, ebx
sub eax, 0x64
je 0x18003289f
sub eax, 1
je 0x180032874
cmp eax, 1
jne 0x1800329d5
mov rax, qword [rbp + 0x1788]
lea r9, [rbp - 0x70]
mov r8d, 0xf0
mov dword [rbp - 0x70], r12d
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x130]
movsxd rax, dword [rax]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0x1798]
mov dword [rbp - 0x68], eax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
call fcn.180033660
mov r13d, eax
jmp 0x1800329d5
cmp r13d, dword [rsp + 0x54]
je 0x180032885
cmp r13d, 0xffffffff
jne 0x1800329d5
mov r14d, dword [rbp + 0x1790]
lea r15, [0x180000000]
xor esi, esi
mov edi, 0x5c
jmp case.default.0x1800327e7
cmp r13d, dword [rbp + 0x1798]
jne 0x18003290f
mov edi, 0xd
nop dword [rax]
mov eax, edi
sub eax, 0xd
je 0x1800328e3
cmp eax, 1
jne 0x180032903
mov r8d, dword [rbp + 0xe10]
lea r9, [rbp + 0x18]
mov rcx, qword [rbp - 0x50]
lea rdx, [rbp + 0xe14]
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x180032903
mov r8, qword [rbp + 0x1788]
lea rcx, [rbp + 0xe10]
xor r9d, r9d
lea edx, [r9 + 0x61]
call fcn.180014ba0
mov ebx, eax
test eax, eax
jne 0x180032885
inc edi
cmp edi, 0xf
jb 0x1800328b0
jmp 0x1800329d5
cmp r13d, dword [rsp + 0x50]
jne 0x1800329d5
test r14d, r14d
jne 0x180032965
mov ebx, 0x29
mov eax, ebx
sub eax, 0x28
je 0x180032959
cmp eax, 1
jne 0x18003295c
mov rcx, qword [rbp - 0x48]
lea rax, [rbp + 0x50]
lea r9, [rbp + 0x4e0]
mov qword [rsp + 0x20], rax
mov r8d, 0x800
lea rdx, [rbp + 0x4e4]
call qword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x18003295c
inc r14d
dec ebx
cmp ebx, 0x27
ja 0x180032924
jmp 0x180032985
mov rcx, qword [rbp - 0x48]
lea r8, [rbp + 0x4e0]
xor r9d, r9d
lea rdx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x180032885
cmp dword [rbp + 0x4e0], 0
mov ebx, esi
je 0x1800329d5
mov edi, 0x81
mov eax, edi
sub eax, 0x80
je 0x1800329c3
cmp eax, 1
jne 0x1800329ce
mov rcx, qword [rbp + 0x1788]
lea r8, [rbp + 0x4e0]
xor r9d, r9d
mov edx, 0xc2
call fcn.1800342b0
mov rbx, rax
jmp 0x1800329ce
test ebx, ebx
jne 0x180032885
dec r14d
dec edi
cmp edi, 0x7f
ja 0x180032995
dec r15d
cmp r15d, 0x63
ja 0x180032816
jmp 0x180032810
mov rax, qword [rbp - 0x18]
xorps xmm0, xmm0
mov ecx, r12d
mov dword [rsp + 0x54], r12d
inc r12d
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + rcx*8 + 0x130], rax
movups xmmword [rbp + 0x60], xmm0
jmp case.default.0x1800327e7
mov eax, dword [rsp + 0x50]
mov rcx, qword [rbp + rax*8 + 0x130]
mov qword [rbp + 0x68], rcx
jmp case.default.0x1800327e7
mov rcx, qword [rbp - 0x18]
mov r14d, 0xf7
xor edx, edx
mov dword [rbp + 0x1790], r14d
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp case.default.0x1800327e7
dec r12d
inc edi
cmp edi, 0x60
jb 0x1800327d0
jmp 0x180032a5d
mov rax, qword [rbp - 0x40]
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0xac], 0x100
mov eax, dword [rsp + 0x58]
add eax, 0x3e
mov dword [rsp + 0x58], eax
cmp eax, 0x1c4
jb 0x1800326c0
jmp 0x180032aa5
xor eax, eax
lea r9, [rbp + 0x38]
mov qword [rsp + 0x30], rax
lea rcx, [rbp + 0x3d0]
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov edx, 0x2000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp - 0x40], rax
mov eax, dword [rsp + 0x5c]
add eax, 0x47
mov dword [rsp + 0x5c], eax
cmp eax, 0x155
jb 0x180032680
mov esi, dword [rsp + 0x60]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180032b2b
xor eax, eax
lea rcx, [rbp + 0x3d0]
mov qword [rsp + 0x38], rax
mov r9d, 0xff
mov dword [rsp + 0x30], eax
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov edx, 0x40000003
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rbp - 0x48], rax
jmp 0x180032b2b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r8, str.AddChildTimer
mov edx, 0x104
xor edi, eax
lea rcx, [rbp + 0x3d0]
mov r9d, edi
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
inc esi
mov dword [rsp + 0x60], esi
cmp esi, 0xae
jb 0x180032630
mov edi, dword [rbp + 0x1798]
mov esi, dword [rbp - 0x60]
mov ecx, dword [rsp + 0x50]
mov rcx, qword [rbp + rcx*8 + 0x130]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18003257b
mov r12d, r8d
mov dword [rbp + 0x1798], r8d
mov edi, r8d
jmp case.0x18003234b.252
mov dword [rbp + 0x4e0], r8d
xor r9d, r9d
lea r8, [rbp + 0x4e0]
mov edx, 0xc2
mov rcx, r10
call fcn.1800342b0
jmp 0x18003257b
mov dword [rsp + 0x50], r8d
jmp case.0x18003234b.252
movabs rax, 0x6c006c0064
lea r9, [rbp]
mov r8d, 0xf5
mov qword [rbp + 0xe], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x380]
call fcn.180024590
movups xmm2, xmmword [rax]
movq qword [rbp + 0x30], xmm2
jmp 0x18003257b
mov edx, 1
mov dword [rsp + 0x50], r12d
mov r8d, edx
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [rbp + 0x38], 0x18
jmp 0x18003256d
mov word [rbp - 0x73], r11w
mov qword [rbp], rdx
jmp case.0x18003234b.252
mov r8d, 0xa
lea rdx, [rbp + 8]
lea ecx, [r8 + 0x16]
call fcn.180047840
mov dword [rbp + 0xc], 0x2e
jmp 0x18003257b
mov dword [rbp + 6], 0x5f
mov r10, qword [rbp + 0x1788]
inc r14d
mov dword [rbp + 0x1790], r14d
mov r8d, 0
cmp r14d, esi
jb 0x180032320
mov rax, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x1880]
add rsp, 0x1840
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret