Function at 0x11d3fb50
Capabilities:
Create process on windows
Query environment variable
Set environment variable

Disassembly:
push 0xffffffffffffffff
push 0x11fa8522
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x280
push ebx
push ebp
push esi
push edi
push 0xffffffffffffffdf
lea ecx, [esp + 0x2c]
call fcn.11e15fa0
mov eax, dword [esp + 0x2a4]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x298], ebp
je 0x11d402bb
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
lea edx, [esp + 0x1c]
push edx
push 1
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
call dword [ecx + 0x20]
cmp eax, ebp
jl 0x11d402dd
mov eax, dword [0x12133f80]
cmp eax, ebp
je 0x11d3fbe0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
push ecx
push 0x25fd
push str._CSafeInject::OnHlinkNavigate__Line:_d_IHlink_GetStringReference__s__s_.
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x18
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x8a]
mov word [esp + 0x88], bp
rep stosd dword es:[edi], eax
push ebp
push ebp
lea edx, [esp + 0x90]
push 0x104
push edx
push ebp
stosw word es:[edi], ax
mov eax, dword [esp + 0x2c]
push ebp
push ebp
push eax
call fcn.11d39ec0
add esp, 0x20
test eax, eax
je 0x11d40308
lea ecx, [esp + 0x88]
push ecx
call fcn.11df54f0
add esp, 4
test eax, eax
je 0x11d4032b
mov ecx, 0x1212b5c0
call fcn.11da80d0
test eax, eax
jne 0x11d4035d
lea edx, [esp + 0x88]
push ebp
push edx
mov ecx, 0x1212b5c0
call fcn.11d88070
test eax, eax
je 0x11d3fc7c
lea eax, [esp + 0x88]
mov ecx, 0x1212b5c0
push eax
call fcn.11da8010
test eax, eax
je 0x11d40071
lea ecx, [esp + 0x24]
lea edx, [esp + 0x88]
push ecx
push ebp
push edx
mov ecx, 0x1212b5c0
mov dword [esp + 0x30], ebp
call fcn.11d87ca0
test eax, eax
je 0x11d3fcbc
cmp dword [esp + 0x24], ebp
je 0x11d3fcbc
lea eax, [esp + 0x88]
mov ecx, 0x1212b5c0
push eax
call fcn.11da8010
test eax, eax
je 0x11d40071
call fcn.11dd8580
test eax, eax
jne 0x11d3fd1a
lea ecx, [esp + 0x88]
push ecx
mov ecx, 0x1212b5c0
call fcn.11da8010
test eax, eax
jne 0x11d3fd1a
call fcn.11dd84e0
test eax, eax
jne 0x11d3fd1a
push ebp
push ebp
push ebp
lea edx, [esp + 0x94]
push ebp
push edx
mov ecx, 0x1212b5c0
call fcn.11d79290
test eax, eax
jne 0x11d3fd1a
push ebp
lea eax, [esp + 0x8c]
push ebp
push eax
mov ecx, 0x1212b5c0
call fcn.11d87ca0
test eax, eax
je 0x11d4038f
lea ecx, [esp + 0x10]
call fcn.11e16080
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ebp
push ecx
mov byte [esp + 0x2c0], 1
call fcn.11ee1fb0
add esp, 0x28
xor edx, edx
cmp eax, 3
lea ecx, [esp + 0x10]
sete dl
mov esi, edx
mov byte [esp + 0x298], 0
call fcn.11e16090
cmp esi, ebp
jne 0x11d40042
mov eax, dword [esp + 0x18]
push ebp
push eax
mov ecx, 0x1212b5c0
call fcn.11d7c540
test eax, eax
jne 0x11d40042
cmp dword [0x12133f80], ebp
je 0x11d3fda5
lea ecx, [esp + 0x88]
push ecx
push 0x2684
push str._CSafeInject::OnHlinkNavigate__Line:_d_CreateNewProc__s_
push str.SafeInject
push 1
call fcn.11ca5810
add esp, 0x14
lea edx, [esp + 0x88]
push edx
call fcn.11df3e70
add esp, 4
cmp eax, 0x313
je 0x11d3fdee
cmp dword [0x12133f80], ebp
je 0x11d40071
lea eax, [esp + 0x88]
push eax
push 0x268e
push str._CSafeInject::OnHlinkNavigate__Line:_d_CreateNewProc1__s_
push str.SafeInject
push 1
call fcn.11ca5810
add esp, 0x14
jmp 0x11d40071
push ebp
push ebp
push ebp
mov ecx, 0x1212b5c0
call fcn.11d60760
test eax, eax
jne 0x11d3fe31
cmp dword [0x12133f80], ebp
je 0x11d40071
lea ecx, [esp + 0x88]
push ecx
push 0x2697
push str._CSafeInject::OnHlinkNavigate__Line:_d_CreateNewProc11__s_
push str.SafeInject
push 1
call fcn.11ca5810
add esp, 0x14
jmp 0x11d40071
xor edx, edx
mov ecx, 0x11
mov dword [esp + 0x34], edx
xor eax, eax
lea edi, [esp + 0x44]
mov dword [esp + 0x38], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x3c], edx
push 0x12119948
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x44], edx
call fcn.11e7eae0
mov eax, dword [esp + 0x18]
mov byte [esp + 0x298], 3
cmp eax, ebp
je 0x11d3fea4
push eax
call fcn.11e67d05
add esp, 4
test eax, eax
je 0x11d3fea4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x88]
push eax
push ecx
lea edx, [esp + 0x1c]
push str.__s____s___x
push edx
call fcn.11e82200
add esp, 0x10
jmp 0x11d3febe
lea eax, [esp + 0x88]
lea ecx, [esp + 0x14]
push eax
push str.__s___x
push ecx
call fcn.11e82200
add esp, 0xc
lea edx, [esp + 0x88]
lea eax, [esp + 0x1c]
push edx
push eax
call fcn.11dbdf30
add esp, 8
push 0x12119948
lea ecx, [esp + 0x14]
mov byte [esp + 0x29c], 4
call fcn.11e7eae0
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x298], 5
cmp dword [ecx - 8], ebp
je 0x11d3ff79
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push ebp
push ebp
push str.path
call ebx
cmp eax, ebp
je 0x11d3ff69
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 + 0x20]
call fcn.11e7fed0
push esi
lea ecx, [esp + 0x20]
call fcn.11e7fed0
push esi
lea ecx, [esp + 0x14]
call fcn.11e7f500
push esi
call fcn.11e679b1
add esp, 4
xor ebp, ebp
mov eax, dword [esp + 0x1c]
push eax
push str.path
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp dword [0x12133f80], ebp
je 0x11d3ff9f
mov ecx, dword [esp + 0x14]
push ecx
push 0x26cb
push str._CSafeInject::OnHlinkNavigate__Line:_d__CreateProcess___s__._r_n
push str.SafeInject
push 1
call fcn.11ca5810
add esp, 0x14
lea edx, [esp + 0x34]
lea eax, [esp + 0x44]
push edx
push eax
push ebp
push ebp
push 0x4000410
push ebp
push ebp
push ebp
push 0x104
lea ecx, [esp + 0x38]
call fcn.11e7ff50
lea ecx, [esp + 0xa8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
mov esi, eax
call fcn.11e80020
cmp esi, ebp
jne 0x11d403b1
cmp dword [0x12133f80], ebp
je 0x11d4000d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x26d4
push str._CSafeInject::OnHlinkNavigate__Line:_d__CreateProcess_FAILED._LastError:_d_._r_n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x298], 4
call fcn.11e7f280
lea ecx, [esp + 0x1c]
mov byte [esp + 0x298], 3
call fcn.11e7f280
lea ecx, [esp + 0x14]
mov byte [esp + 0x298], 0
call fcn.11e7f280
jmp 0x11d40071
call fcn.11dc28c0
test eax, eax
jne 0x11d40128
cmp dword [0x12133f80], ebp
je 0x11d40071
mov eax, dword [0x12126854]
push eax
push str._CSafeInject::OnHlinkNavigate__Proc__s__SD_Not_Started__n
push str.SafeInject
push 1
call fcn.11ca5810
add esp, 0x10
lea ecx, [esp + 0x28]
mov dword [esp + 0x298], 0xffffffff
call fcn.11e15fd0
mov esi, dword [esp + 0x2a0]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
mov eax, dword [esi + 0x24]
mov edi, dword [esi + 0x1c]
mov ebx, dword [esi + 0x20]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x24]
push edx
push eax
push edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x20], ebp
call fcn.11e15b00
mov eax, dword [esp + 0x34]
add esp, 0x10
cmp eax, ebp
je 0x11d4043a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0x2b8]
mov dword [esi + 0x24], edx
mov edx, dword [esp + 0x2b4]
push ecx
mov ecx, dword [esp + 0x2b4]
mov ebp, dword [esi + 0xc]
push edx
mov edx, dword [esp + 0x2b4]
push ecx
mov ecx, dword [esp + 0x2b4]
push edx
mov edx, dword [esp + 0x2b4]
push ecx
push edx
push esi
mov dword [esi + 0x20], eax
call eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x20], ebx
mov dword [esi + 0xc], ebp
jmp 0x11d404c8
mov ecx, 0x1212b458
call fcn.11df3b60
cmp eax, 0x312
jne 0x11d4016c
lea edx, [esp + 0x88]
push edx
call fcn.11df3e70
add esp, 4
cmp eax, 0x312
jne 0x11d4016c
cmp dword [0x12133f80], ebp
je 0x11d40071
mov eax, dword [0x12126854]
push eax
push str._CSafeInject::OnHlinkNavigate__Proc__s__MSOPOWERPNT__n
jmp 0x11d40062
mov ecx, 0x1212b458
call fcn.11df3b60
cmp eax, 0x310
jne 0x11d40194
lea eax, [esp + 0x88]
push eax
call fcn.11df3e70
add esp, 4
cmp eax, 0x310
je 0x11d401bc
mov ecx, 0x1212b458
call fcn.11df3b60
cmp eax, 0x311
jne 0x11d401d1
lea ecx, [esp + 0x88]
push ecx
call fcn.11df3e70
add esp, 4
cmp eax, 0x311
jne 0x11d401d1
push ebp
push ebp
push ebp
mov ecx, 0x1212b5c0
call fcn.11d60760
test eax, eax
jne 0x11d40071
lea edx, [esp + 0x10]
push edx
call fcn.11d3bd00
add esp, 4
mov edx, dword [esp + 0x10]
mov byte [esp + 0x298], 2
cmp dword [edx - 8], ebp
jne 0x11d4021a
cmp dword [0x12133f80], ebp
je 0x11d402a5
mov eax, dword [0x12126854]
push eax
push str._CSafeInject::OnHlinkNavigate__Porc__s__GetSDViewerPath_Failed__n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x10
jmp 0x11d402a5
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], 0x3c
mov dword [esp + 0x4c], 0x200
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], 1
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x11d404a1
cmp dword [0x12133f80], ebp
je 0x11d402a5
mov edx, dword [esp + 0x54]
mov eax, dword [0x12126854]
push edx
push eax
push str._CSafeInject::OnHlinkNavigate__Proc__s__ShellExecute__s_Failed__n
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x298], 0
call fcn.11e7f280
jmp 0x11d40071
cmp dword [0x12133f80], ebp
je 0x11d40071
push 0x25eb
push str._CSafeInject::OnHlinkNavigate__Line:_d_IHlink_is_null
push str.SafeInject
push 4
jmp 0x11d40069
cmp dword [0x12133f80], ebp
je 0x11d40071
push eax
push 0x25f7
push str._CSafeInject::OnHlinkNavigate__Line:_d_Get_target_path_fail._hr__08x_
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x14
jmp 0x11d40071
cmp dword [0x12133f80], ebp
je 0x11d40071
mov eax, dword [0x12126854]
push eax
push str.__s__CSafeInject::OnHlinkNavigate_TFindExecutableW_Failed__n
push str.SafeInject
push 4
jmp 0x11d40069
cmp dword [0x12133f80], ebp
je 0x11d40071
lea eax, [esp + 0x88]
push eax
push 0x2610
push str._CSafeInject::OnHlinkNavigate__Line:_d_Proc__s__Not_Office_Process.
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x14
jmp 0x11d40071
cmp dword [0x12133f80], ebp
je 0x11d40071
lea ecx, [esp + 0x88]
push ecx
push 0x2618
push str._CSafeInject::OnHlinkNavigate__Line:_d_Proc__s__FilePolicyByOfficeComPolicy
push str.SafeInject
push 4
call fcn.11ca5810
add esp, 0x14
jmp 0x11d40071
cmp dword [0x12133f80], ebp
je 0x11d40071
push 0x262f
push str._CSafeInject::OnHlinkNavigate__Line:_d_Not_SDUnForceEncrypt_Model.
push str.SafeInject
push 4
jmp 0x11d40069
mov edx, dword [esp + 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x38]
push eax
call edi
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 8], ebp
je 0x11d403e3
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebp
je 0x11d403e3
push eax
push str.path
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
cmp dword [0x12133f80], ebp
je 0x11d4040a
mov edx, dword [esp + 0x3c]
push edx
push esi
push 0x26e1
push str._CSafeInject::OnHlinkNavigate__Line:_d____Ret:_d__PID:_d_._r_n
push str.SafeInject
push 1
call fcn.11ca5810
add esp, 0x18
lea ecx, [esp + 0x10]
mov byte [esp + 0x298], 4
call fcn.11e7f280
lea ecx, [esp + 0x1c]
mov byte [esp + 0x298], 3
call fcn.11e7f280
mov byte [esp + 0x298], 0
lea ecx, [esp + 0x14]
jmp 0x11d404ad
mov edi, dword [esi + 0x18]
cmp edi, ebp
je 0x11d4049c
mov ecx, dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edx, dword [esp + 0x2b8]
mov eax, dword [esp + 0x2b4]
mov ecx, dword [esp + 0x2b0]
push edx
mov edx, dword [esp + 0x2b0]
push eax
mov eax, dword [esp + 0x2b0]
push ecx
mov ecx, dword [esp + 0x2b0]
push edx
push eax
push ecx
call edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x10], eax
mov eax, dword [esi + 8]
test eax, 0x800000
je 0x11d4049c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x14]
jmp 0x11d404c8
mov byte [esp + 0x298], 0
lea ecx, [esp + 0x10]
call fcn.11e7f280
lea ecx, [esp + 0x28]
mov dword [esp + 0x298], 0xffffffff
call fcn.11e15fd0
xor eax, eax
mov ecx, dword [esp + 0x290]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28c
ret 0x1c