Function at 0x11d43e70
Capabilities:
Create process on windows
Print debug messages
Query environment variable
Resume thread
Set environment variable

Disassembly:
push 0xffffffffffffffff
push 0x11fa88c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov edx, dword [esp + 0x68]
push ebp
test edx, edx
push esi
mov dword [esp + 0x10], ecx
je 0x11d440c8
mov esi, dword [esp + 0x74]
test esi, esi
je 0x11d440c8
mov ebp, dword [esp + 0x7c]
test ebp, ebp
je 0x11d440c8
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x28], 0x44
call fcn.11dbdf30
add esp, 8
push 0x12119948
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 0
call fcn.11e7eae0
mov ecx, dword [esp + 0xc]
mov byte [esp + 0x6c], 1
mov eax, dword [ecx - 8]
test eax, eax
je 0x11d43f8f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 0
push 0
push str.path
call ebx
test eax, eax
je 0x11d43f7e
lea ebp, [eax + 1]
lea edi, [ebp + ebp]
push edi
call fcn.11e679bc
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push esi
rep stosb byte es:[edi], al
push str.path
call ebx
push 0x12023db8
lea ecx, [esp + 0x14]
call fcn.11e7fed0
push esi
lea ecx, [esp + 0x14]
call fcn.11e7fed0
push esi
lea ecx, [esp + 0x18]
call fcn.11e7f500
push esi
call fcn.11e679b1
mov esi, dword [esp + 0x80]
mov ebp, dword [esp + 0x88]
add esp, 4
mov eax, dword [esp + 0x10]
push eax
push str.path
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [esp + 0x20]
push ebp
push ecx
push 0
push 0
push 0x4000414
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x11d4406f
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x11d44003
mov edx, dword [ebp + 8]
lea esi, [ebp + 8]
push 0
push 0
push 1
push edx
call fcn.11dc4fa0
add esp, 0x10
lea ecx, [esp + 0x18]
call fcn.11e24e50
push 1
push esi
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 2
call fcn.11e25ee0
lea ecx, [esp + 0x18]
mov byte [esp + 0x6c], 1
call fcn.11e24e80
mov edx, dword [esp + 0x74]
lea eax, [esp + 0x80]
xor esi, esi
push eax
lea ecx, [esp + 0x7c]
push esi
push ecx
push edx
mov ecx, 0x1212b5c0
mov dword [esp + 0x88], esi
mov dword [esp + 0x90], esi
call fcn.11d6fd70
cmp eax, esi
jne 0x11d4403a
cmp dword [esp + 0x78], esi
je 0x11d44045
mov ecx, dword [esp + 0x14]
push eax
push ebp
call fcn.11d44500
mov eax, dword [ebp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 8], esi
je 0x11d44093
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], esi
je 0x11d44093
push eax
push str.path
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x11d44093
mov eax, dword [0x12133f80]
test eax, eax
je 0x11d44093
mov eax, dword [0x12126854]
push esi
push eax
push str.__s__CSafeInject::OnIExecuteCommandExecuteReadOnly_CreateProcessW__s_Failed__n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x6c], 0
call fcn.11e7f280
lea ecx, [esp + 0xc]
mov dword [esp + 0x6c], 0xffffffff
call fcn.11e7f280
mov eax, edi
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret 0x10
mov ecx, dword [esp + 0x60]
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x64
ret 0x10