Function at 0x40d2a5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433a55
mov eax, dword fs:[0]
push eax
mov eax, 0x10dc
call fcn.00433247
mov eax, dword [0x462074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, dword [ebp + 0x24]
lea ecx, [ebp - 0x10a8]
mov ebx, dword [ebp + 0x20]
mov dword [ebp - 0x10b0], eax
xor eax, eax
mov dword [ebp - 0x10ac], eax
mov edi, eax
call fcn.00401d45
push eax
push ecx
push dword [str._b_ven_US]
lea ecx, [ebp - 0x10c4]
call fcn.00415519
xor ecx, ecx
xor eax, eax
mov dword [ebp - 4], ecx
push 7
pop edx
mov dword [ebp - 0x1088], ecx
mov dword [ebp - 0x1078], ecx
mov dword [ebp - 0x1074], edx
mov word [ebp - 0x1088], ax
mov dword [ebp - 0x1070], ecx
mov dword [ebp - 0x1060], ecx
mov dword [ebp - 0x105c], edx
mov word [ebp - 0x1070], ax
mov byte [ebp - 4], 2
call fcn.0040e67d
test al, al
je 0x40d42b
xor eax, eax
mov word [ebp - 0x1058], ax
lea eax, [ebp - 0x1058]
push 0x824
push eax
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x1058]
push str.Microsoft.OfficeHelper
push eax
call dword [sym.imp.VCRUNTIME140.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
jne 0x40d42b
test esi, esi
je 0x40d39d
cmp word [esi], ax
jne 0x40d3a0
xor eax, eax
inc eax
test eax, eax
je 0x40d3ad
xor ebx, ebx
mov esi, ebx
jmp 0x40d4b5
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x10ac]
jne 0x40d3b2
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x1070]
call fcn.0040a802
lea edx, [ebp - 0x1070]
lea ecx, [ebp - 0x10a0]
call fcn.0040ccc9
push eax
lea ecx, [ebp - 0x1088]
call fcn.0040de74
lea ecx, [ebp - 0x10a0]
call fcn.0040a89a
cmp dword [ebp - 0x1078], 0
je 0x40d42b
cmp dword [ebp - 0x1074], 8
lea edi, [ebp - 0x1088]
lea esi, [ebp - 0x1070]
cmovae edi, dword [ebp - 0x1088]
cmp dword [ebp - 0x105c], 8
cmovae esi, dword [ebp - 0x1070]
push dword [ebp - 0x10b0]
push ebx
xor ebx, ebx
push ebx
push ebx
push 0x400
push ebx
push ebx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x40d475
lea ecx, [ebp - 0x10e8]
call fcn.00401d45
push eax
push ecx
push dword [0x438ce4]
lea ecx, [ebp - 0x109c]
call fcn.00415519
lea ecx, [ebp - 0x109c]
call fcn.00415566
xor eax, eax
mov dword [ebp - method.Mso::Logging::StructuredObject_unsigned_int__1_.virtual_0], vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov word [ebp - 0x108c], ax
mov edx, 0x851
lea eax, [ebp - 0x1098]
mov dword [ebp - 0x1094], str.Param
push eax
push str.HevCreateProcess_
push 0x64
mov ecx, 0x170b0c5
mov dword [ebp - 0x1090], esi
call fcn.00401c18
mov eax, dword [ebp - 0x105c]
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp eax, 8
jb 0x40d4ed
mov ecx, dword [ebp - 0x1070]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x40d4e9
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x40d534
push ecx
call edi
pop ecx
xor eax, eax
mov dword [ebp - 0x1060], ebx
mov word [ebp - 0x1070], ax
mov eax, dword [ebp - 0x1074]
mov dword [ebp - 0x105c], 7
cmp eax, 8
jb 0x40d53e
mov ecx, dword [ebp - 0x1088]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x40d53a
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
jbe 0x40d53a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
call edi
pop ecx
xor eax, eax
mov dword [ebp - 0x1078], ebx
lea ecx, [ebp - 0x10c4]
mov dword [ebp - 0x1074], 7
mov word [ebp - 0x1088], ax
call fcn.00415566
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043182e
leave
ret 0x20