Function at 0x4024e0
Capabilities:
Create process on windows
Spoof parent pid
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423806
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x43506c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
push 0x48
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0040a480
xorps xmm0, xmm0
mov dword [ebp - 0xa4], 0x48
mov edx, str._Malwarebytes_EDR_test_sample_
movups xmmword [ebp - 0x54], xmm0
call fcn.004049c0
push eax
call fcn.00404c70
push str.Endpoint_Agent_Tray.exe
call fcn.004023a0
add esp, 0x14
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x40258f
push str.explorer.exe
call fcn.004023a0
add esp, 4
mov dword [ebp - 0x5c], eax
test eax, eax
jne 0x40258f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, str.Warning___OpenProcess:
jmp 0x40260f
mov esi, dword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
lea eax, [ebp - 0x58]
push eax
push 0
push 1
push 0
call esi
push dword [ebp - 0x58]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
lea eax, [ebp - 0x58]
push eax
push 0
push 1
push edi
call esi
test eax, eax
je 0x402603
push 0
push 0
push 4
lea eax, [ebp - 0x5c]
push eax
push 0x20000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
test eax, eax
je 0x4025f5
mov edx, str.Spoofing_parent_process
call fcn.004049c0
push eax
call fcn.00404c70
mov dword [ebp - 0x60], edi
jmp 0x402622
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, str.Warning___UpdateProcThreadAttribute:
jmp 0x40260f
mov eax, dword [sym.imp.KERNEL32.dll_GetLastError]
call eax
mov edx, str.Warning___InitializeProcThreadAttributeList:
push eax
call fcn.004049c0
mov ecx, eax
call fcn.00402b40
push eax
call fcn.00404c70
add esp, 4
lea eax, [ebp - 0x40]
push eax
call fcn.00402110
add esp, 4
test eax, eax
jne 0x40264c
push str.pause
call fcn.0040e33f
add esp, 4
mov esi, 1
jmp 0x4029a3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
lea ecx, [eax - 4]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.00404520
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xc0]
mov eax, edx
mov ecx, dword [ebp - 0xc4]
sub eax, ecx
cmp eax, 0x28
jb 0x40272a
cmp edx, 0x10
lea esi, [ebp - 0xd4]
lea eax, [ecx + 0x28]
cmovae esi, dword [ebp - 0xd4]
mov dword [ebp - 0xc4], eax
cmp esi, 0x4317f8
jae 0x4026e8
lea eax, [esi + ecx]
cmp eax, str.https:__sandbox.deepviz.com_report_hash_
jb 0x4026e8
cmp esi, str.https:__sandbox.deepviz.com_report_hash_
ja 0x4026de
xor edi, edi
jmp 0x4026ed
mov edi, esi
sub edi, str.https:__sandbox.deepviz.com_report_hash_
jmp 0x4026ed
mov edi, 0x28
lea eax, [ecx + 1]
push eax
lea eax, [esi + 0x28]
push esi
push eax
call fcn.00409f00
push edi
push str.https:__sandbox.deepviz.com_report_hash_
push esi
call fcn.00409980
mov eax, 0x28
sub eax, edi
push eax
lea eax, [edi + 0x4317f8]
push eax
lea eax, [esi + edi]
push eax
call fcn.00409980
add esp, 0x24
lea eax, [ebp - 0xd4]
jmp 0x402743
push 0x28
sub esp, 8
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0xd4]
push dword [ebp - 0x58]
push 0x28
call fcn.004058a0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xbc], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xac], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa8]
mov eax, edx
mov ecx, dword [ebp - 0xac]
sub eax, ecx
push 1
push 0x4317cc
cmp eax, 1
jb 0x4027cf
cmp edx, 0x10
lea esi, [ebp - 0xbc]
lea eax, [ecx + 1]
cmovae esi, dword [ebp - 0xbc]
add esi, ecx
mov dword [ebp - 0xac], eax
push esi
call fcn.00409f00
add esp, 0xc
mov byte [esi + 1], 0
lea eax, [ebp - 0xbc]
jmp 0x4027e3
mov byte [ebp - 0x58], 0
lea ecx, [ebp - 0xbc]
push dword [ebp - 0x58]
push 1
call fcn.004050b0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x402851
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402847
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029f0
push edx
push ecx
call fcn.0040838d
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xc0]
cmp edx, 0x10
jb 0x4028aa
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4028a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029f5
push edx
push ecx
call fcn.0040838d
add esp, 8
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push str.Deepviz_Sandbox_link.txt
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40290c
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x44]
push 0
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2c], 0x10
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push 0
push 0
push 0x80000
push 0
push 0
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40295f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, str.Unable_tu_run_sample:
call fcn.004049c0
mov ecx, eax
call fcn.00402b40
push eax
call fcn.00404c70
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x40298f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402985
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029fa
push edx
push ecx
call fcn.0040838d
add esp, 8
mov dword [ebp - 0x18], 0
xor esi, esi
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x4029d3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4029c9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029ff
push edx
push ecx
call fcn.0040838d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00408096
mov esp, ebp
pop ebp
ret
call fcn.0040e1ef
call fcn.0040e1ef
call fcn.0040e1ef
call fcn.0040e1ef
int3