Function at 0x10003572
Capabilities:
Create process on windows
Create process suspended
Resume thread
Use process replacement

Disassembly:
push 0x1f4
mov eax, 0x100476c5
call fcn.100467a8
lea ecx, [ebp - 0x100]
call fcn.10006fe4
and dword [ebp - 4], 0
lea edi, [ebp - 0x58]
push 6
xor eax, eax
lea edx, [ebp - 0x100]
cmp dword [ebp - 0xec], 7
pop ecx
cmova edx, dword [ebp - 0x100]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x58]
call fcn.10007d78
push str.UseConsole
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 1
call fcn.1000172f
push str.Dll_Injection
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 2
call fcn.1000172f
lea eax, [ebp - 0x1fc]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x1dc]
lea ecx, [ebp - 0x58]
call fcn.10007f0a
pop ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.10001792
lea ecx, [ebp - 0x1dc]
call fcn.100017f6
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 6
call fcn.100017f6
cmp dword [ebp - 0x24], 0xf
lea ecx, [ebp - 0x38]
mov esi, dword [ebp - 0x28]
lea ebx, [ebp - 0x38]
cmova ecx, dword [ebp - 0x38]
lea edi, [ebp - 0x38]
cmova ebx, dword [ebp - 0x38]
add esi, ecx
cmp dword [ebp - 0x24], 0xf
cmova edi, dword [ebp - 0x38]
cmp edi, esi
je 0x10003655
sub ebx, edi
movsx eax, byte [edi]
push eax
call fcn.1002a6c4
mov byte [edi + ebx], al
inc edi
pop ecx
cmp edi, esi
jne 0x10003643
mov edx, str.true
lea ecx, [ebp - 0x38]
call fcn.100054bd
test al, al
je 0x10003681
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_AttachConsole]
test eax, eax
jne 0x1000367c
call dword [sym.imp.KERNEL32.dll_AllocConsole]
test eax, eax
je 0x10003681
call fcn.10007607
lea ecx, [ebp - 0x1fc]
call fcn.10006f4f
push str..env
mov edx, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1dc]
call fcn.1000564f
pop ecx
lea ecx, [ebp - 0x1fc]
call fcn.100017c8
mov byte [ebp - 4], 8
lea edx, [ebp - 0x1dc]
cmp dword [ebp - 0x1c8], 7
lea ecx, [ebp - 0xe8]
cmova edx, dword [ebp - 0x1dc]
call fcn.10006bff
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0xa
call fcn.100017c8
xor ebx, ebx
lea eax, [ebp - 0xe8]
cmp dword [ebp - 0xd4], 0xf
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
cmova eax, dword [ebp - 0xe8]
push eax
call fcn.10002dc4
pop ecx
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10003723
lea edx, [eax + 4]
cmp dword [edx + 0x14], 0xf
mov eax, dword [edx + 0x10]
jbe 0x1000371c
mov edx, dword [edx]
push eax
call fcn.10005ef6
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, eax
lea ecx, [ebp - 0x1fc]
call fcn.10006ec9
push str..dll
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xb8]
call fcn.1000564f
pop ecx
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0xe
call fcn.100017c8
push 7
pop esi
cmp dword [ebp - 0xa4], esi
lea edx, [ebp - 0xb8]
push 1
cmova edx, dword [ebp - 0xb8]
lea ecx, [ebp - 0x160]
call fcn.100070af
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x1dc]
mov dword [esp], str.ProxyPath
call fcn.1000172f
mov edi, str.Dll_Injection
mov byte [ebp - 4], 0x10
push edi
lea ecx, [ebp - 0x1fc]
call fcn.1000172f
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 0x11
push eax
lea edx, [ebp - 0x1fc]
lea ecx, [ebp - 0x58]
call fcn.10007f0a
pop ecx
cmp dword [eax + 0x14], 0xf
jbe 0x100037cc
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x88]
call fcn.10006cdb
lea ecx, [ebp - 0x1fc]
call fcn.100017f6
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x14
call fcn.100017f6
push str.TargetPath
lea ecx, [ebp - 0x1dc]
call fcn.1000172f
push edi
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x15
call fcn.1000172f
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 0x16
push eax
lea edx, [ebp - 0x1fc]
lea ecx, [ebp - 0x58]
call fcn.10007f0a
pop ecx
cmp dword [eax + 0x14], 0xf
jbe 0x10003835
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.10006cdb
lea ecx, [ebp - 0x1fc]
call fcn.100017f6
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x19
call fcn.100017f6
push str.DllPath
lea ecx, [ebp - 0x1dc]
call fcn.1000172f
push edi
lea ecx, [ebp - 0x1fc]
mov byte [ebp - 4], 0x1a
call fcn.1000172f
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 0x1b
push eax
lea edx, [ebp - 0x1fc]
lea ecx, [ebp - 0x58]
call fcn.10007f0a
pop ecx
cmp dword [eax + 0x14], 0xf
jbe 0x1000389b
mov eax, dword [eax]
mov edx, eax
lea ecx, [ebp - 0xa0]
call fcn.10006cdb
lea ecx, [ebp - 0x1fc]
call fcn.100017f6
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 0x1e
call fcn.100017f6
cmp dword [ebp - 0x5c], esi
lea edx, [ebp - 0x70]
push 1
cmova edx, dword [ebp - 0x70]
lea ecx, [ebp - 0x148]
call fcn.100070af
mov byte [ebp - 4], 0x1f
lea edx, [ebp - 0x88]
cmp dword [ebp - 0x74], esi
lea ecx, [ebp - 0x118]
push 1
cmova edx, dword [ebp - 0x88]
call fcn.100070af
mov byte [ebp - 4], 0x20
lea edx, [ebp - 0xa0]
cmp dword [ebp - 0x8c], esi
lea ecx, [ebp - 0x130]
push 1
cmova edx, dword [ebp - 0xa0]
call fcn.100070af
cmp dword [ebp - 0x108], 0
lea edi, [ebp - 0x17c]
xorps xmm0, xmm0
mov dword [ebp - 0x1c0], 0x44
seta byte [ebp - 0x1c1]
mov dword [ebp - 0x1bc], ebx
xor eax, eax
mov dword [ebp - 0x1b8], ebx
mov dword [ebp - 0x190], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1b4], ebx
mov dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x1ac], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x1a4], ebx
mov dword [ebp - 0x1a0], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x19c], ebx
mov dword [ebp - 0x198], ebx
mov dword [ebp - 0x194], ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x164]
movups xmmword [ebp - 0x18c], xmm0
mov dword [ebp - 0x1d0], ebx
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x1cc], eax
mov byte [ebp - 0x1c8], 1
push 0x14
mov byte [ebp - 4], 0x22
call fcn.1000a302
mov ecx, dword [ebp - 0x164]
mov edx, eax
xor eax, eax
mov dword [ebp - 0x1e4], edx
mov edi, edx
add esp, 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc eax
mov dword [edx + 4], eax
mov dword [edx + 8], eax
mov dword [edx], vtable.std::_Ref_count_resource_std::nullptr_t__class__void___cdecl_MainInjector::Run_void_::_2::_lambda_1__.0
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], edx
mov cl, byte [ebp - 0x1c1]
lea eax, [ebp - 0x148]
test cl, cl
mov byte [ebp - 4], 0x23
lea edi, [ebp - 0x118]
cmove edi, eax
lea ebx, [ebp - 0x88]
lea eax, [ebp - 0x70]
cmove ebx, eax
lea esi, [ebp - 0x160]
lea eax, [ebp - 0x130]
cmove esi, eax
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0xb8]
cmove eax, edx
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x200], eax
mov edx, edi
jbe 0x10003a51
mov edx, dword [edi]
lea ecx, [ebp - 0xd0]
call fcn.10007170
mov byte [ebp - 4], 0x24
lea eax, [ebp - 0xd0]
cmp dword [ebp - 0xbc], 7
cmova eax, dword [ebp - 0xd0]
cmp dword [edi + 0x14], 7
jbe 0x10003a7c
mov edi, dword [edi]
lea ecx, [ebp - 0x17c]
push ecx
lea ecx, [ebp - 0x1c0]
push ecx
push eax
xor eax, eax
push eax
push 4
push eax
push eax
push eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10003e3a
mov ecx, dword [ebp - 0x17c]
xor edi, edi
and dword [ebp - 0x16c], edi
cmp byte [ebp - 0x1c1], 0
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], edi
je 0x10003c60
mov eax, dword [ebp - 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
jmp 0x10003b00
lea ecx, [eax + 0x10]
cmp dword [ecx + 0x10], 0
jbe 0x10003af5
mov edx, str.Dll_Injection
call fcn.100054bd
test al, al
jne 0x10003af5
inc edi
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x14]
call fcn.10005b07
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xd], 0
je 0x10003ada
test edi, edi
jne 0x10003b0e
xor ecx, ecx
jmp 0x10003b26
or eax, 0xffffffff
xor edx, edx
div edi
cmp eax, 0x410
jb 0x10003e68
imul ecx, edi, 0x410
push 0x10
pop edx
call fcn.100056af
mov edi, 0x208
mov edx, eax
mov ecx, edi
call fcn.100056af
mov ecx, dword [ebp - 0x168]
mov edx, eax
call fcn.100078f0
cmp dword [esi + 0x14], 7
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x164], eax
mov eax, esi
lea ecx, [ecx*2 + 2]
jbe 0x10003b69
mov eax, dword [esi]
push edi
push ecx
mov ecx, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
push eax
call fcn.10007910
mov edi, dword [ebp - 0x164]
lea eax, [ebp - 0x168]
mov dword [ebp - 0x1cc], eax
lea ecx, [ebp - 0x164]
mov eax, dword [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x1c8], ecx
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp byte [eax + 0xd], 0
jne 0x10003bdc
lea ecx, [eax + 0x10]
lea eax, [ecx + 0x18]
push eax
push ecx
lea ecx, [ebp - 0x1cc]
call fcn.10003ed6
lea ecx, [ebp - 0x14]
call fcn.10005b07
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0xd], 0
je 0x10003bb2
mov edi, dword [ebp - 0x164]
push 0
push 4
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10003e89
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x18]
push 0
push 4
add eax, 4
push ecx
push eax
push dword [ebp - 0x168]
mov dword [ebp - 0x164], eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10003e89
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x16c]
push 0
push 4
add eax, 4
push ecx
push eax
push dword [ebp - 0x168]
mov dword [ebp - 0x164], eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10003e89
add dword [ebp - 0x164], 4
jmp 0x10003d02
mov edx, 0x218
call fcn.100078f0
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x10]
lea ecx, [eax*2 + 2]
mov eax, esi
jbe 0x10003c87
mov eax, dword [esi]
push 0x208
push ecx
mov ecx, dword [ebp - 0x168]
lea edx, [ebp - 0x14]
push eax
call fcn.10007910
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x20]
add esp, 0xc
push 0
push 4
push eax
push edi
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10003e89
push 0
push 4
lea ecx, [ebp - 0x18]
push ecx
lea eax, [edi + 4]
push eax
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10003e89
push 0
push 4
lea ecx, [ebp - 0x16c]
push ecx
lea eax, [edi + 8]
push eax
push dword [ebp - 0x168]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10003e89
lea eax, [ebx + 0x14]
cmp dword [eax], 7
mov dword [ebp - 0x14], eax
jbe 0x10003d0f
mov ebx, dword [ebx]
cmp dword [esi + 0x14], 7
jbe 0x10003d17
mov esi, dword [esi]
mov eax, dword [ebp - 0x200]
cmp dword [eax + 0x14], 7
jbe 0x10003d25
mov eax, dword [eax]
mov edx, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x17c]
push ebx
push esi
push eax
push edi
call fcn.100076d9
add esp, 0x10
mov edx, str.Wait_for
mov ecx, 0x1005c3f0
call fcn.100056de
cmp byte [ebp - 0x1c1], 0
lea ecx, [ebp - 0x70]
lea edx, [ebp - 0x88]
cmove edx, ecx
mov ecx, dword [ebp - 0x14]
cmp dword [ecx], 7
mov esi, dword [edx + 0x10]
jbe 0x10003d6c
mov edx, dword [edx]
push esi
mov ecx, eax
call fcn.100060e0
pop ecx
mov edx, str...._n
mov ecx, eax
call fcn.100056de
push dword [ebp - 0x178]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0xffffffffffffffff
push dword [ebp - 0x17c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0xd0]
call fcn.100017c8
mov ecx, dword [ebp - 0x1e4]
call fcn.100020cd
lea ecx, [ebp - 0x130]
call fcn.100017c8
lea ecx, [ebp - 0x118]
call fcn.100017c8
lea ecx, [ebp - 0x148]
call fcn.100017c8
lea ecx, [ebp - 0xa0]
call fcn.100017c8
lea ecx, [ebp - 0x70]
call fcn.100017c8
lea ecx, [ebp - 0x88]
call fcn.100017c8
lea ecx, [ebp - 0x160]
call fcn.100017c8
lea ecx, [ebp - 0xb8]
call fcn.100017c8
lea ecx, [ebp - 0x1c]
call fcn.10004c23
lea ecx, [ebp - 0xe8]
call fcn.100017f6
lea ecx, [ebp - 0x38]
call fcn.100017f6
lea ecx, [ebp - 0x58]
call fcn.1000404e
lea ecx, [ebp - 0x100]
call fcn.100017c8
call fcn.10046757
ret
push str.Failed_to_launch
lea ecx, [ebp - 0x1fc]
call fcn.10004ca6
push ebx
mov edx, eax
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x1dc]
call fcn.1000568d
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x26
call fcn.10008cbf
push str.Unsigned_integer_overflow
lea ecx, [ebp - 0x1d0]
call fcn.10002043
push 0x100589a8
lea eax, [ebp - 0x1d0]
push eax
call fcn.100250ff
mov ecx, str.Failed_to_run_WriteProcessMemory
call fcn.10008c2e
int3