Function at 0x460ed0
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be9d7
mov eax, dword fs:[0]
push eax
sub esp, 0x328
mov eax, dword [0x4ff684]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2d0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2d4], eax
test eax, eax
jne 0x460f41
push str.invalid_substitutor
push 0x62
push str.NWebAdvisor::NXmlUpdater::CExecuteLocalCommand::ExecuteLocalCommand
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterExecuteLocalCommand.cpp
push 1
call fcn.00449540
add esp, 0x14
xor al, al
jmp 0x461447
cmp byte [ebp + 0x20], 0
je 0x460f9e
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x460f51
mov ecx, dword [esi]
mov edx, dword [0x506cd0]
push ecx
test edx, edx
je 0x460f67
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 4]
call eax
jmp 0x460f6f
call fcn.0045fa10
add esp, 4
test al, al
jne 0x460f9e
cmp dword [esi + 0x14], 8
jb 0x460f7b
mov esi, dword [esi]
push esi
push str.Signature_check_failed_for_command__s
push 0x67
push str.NWebAdvisor::NXmlUpdater::CExecuteLocalCommand::ExecuteLocalCommand
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterExecuteLocalCommand.cpp
push 1
call fcn.00449540
add esp, 0x18
xor al, al
jmp 0x461447
xorps xmm0, xmm0
movups xmmword [ebp - 0x2b4], xmm0
cmp byte [ebp + 0x18], 0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x29c], xmm0
movlpd qword [ebp - 0x294], xmm0
movlpd qword [ebp - 0x28c], xmm0
movlpd qword [ebp - 0x284], xmm0
movlpd qword [ebp - 0x27c], xmm0
movlpd qword [ebp - 0x274], xmm0
movlpd qword [ebp - 0x26c], xmm0
movlpd qword [ebp - 0x264], xmm0
mov dword [ebp - 0x2a0], 0x44
je 0x461012
xor eax, eax
mov dword [ebp - 0x274], 1
mov word [ebp - 0x270], ax
mov ecx, dword [esi + 0x10]
mov eax, SysReAllocString
sub eax, ecx
mov dword [ebp - 0x2c8], ecx
cmp eax, 1
jb 0x461464
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x2bc], esi
jb 0x46103f
mov eax, dword [esi]
mov dword [ebp - 0x2bc], eax
inc ecx
mov dword [ebp - 0x2ec], 0
mov edi, 7
mov dword [ebp - 0x2dc], 0
mov dword [ebp - 0x2d8], 0
lea eax, [ebp - 0x2ec]
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 0x2c0], eax
cmp ecx, edi
jbe 0x4610c3
mov edi, ecx
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x46108d
mov edi, SysReAllocString
jmp 0x461097
mov eax, 0xa
cmp edi, eax
cmovb edi, eax
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x2ec]
call fcn.00414363
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - 0x2ec], eax
mov dword [ebp - 0x2dc], ecx
mov ecx, 0x22
mov dword [ebp - 0x2d8], edi
mov word [eax], cx
lea ecx, [eax + 2]
mov eax, dword [ebp - 0x2c8]
add eax, eax
push eax
push dword [ebp - 0x2bc]
push ecx
call fcn.0048af40
mov eax, dword [ebp - 0x2c0]
xor edx, edx
mov ecx, dword [ebp - 0x2c4]
add esp, 0xc
mov word [eax + ecx*2], dx
push 2
push 0x4d974c
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 1
call fcn.0041f580
mov dword [ebp - 0x31c], 0
xor ecx, ecx
mov dword [ebp - 0x30c], 0
mov dword [ebp - 0x308], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x31c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0x2cc]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x461177
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x31c]
call fcn.0041f580
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2fc], xmm0
movups xmmword [ebp - 0x25c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x31c]
call fcn.00414870
lea ecx, [ebp - 0x2ec]
mov byte [ebp - 4], 5
call fcn.00414870
push 0x208
lea eax, [ebp - 0x244]
push 0
push eax
call fcn.0048b4c0
add esp, 0xc
lea edi, [ebp - 0x25c]
cmp dword [ebp - 0x248], 8
lea ecx, [ebp - 0x244]
mov eax, ecx
mov edx, 0x104
cmovae edi, dword [ebp - 0x2fc]
sub edi, eax
nop dword [eax + eax]
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x46122e
movzx eax, word [edi + ecx]
test ax, ax
je 0x46122e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x461210
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x2d0]
cmp dword [eax + 0x14], 8
jb 0x461249
mov eax, dword [eax]
lea ecx, [ebp - 0x2b4]
push ecx
lea ecx, [ebp - 0x2a0]
push ecx
push eax
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x244]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4612aa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x244]
push eax
push str.Unable_to_run__s__error___d_
push 0x79
push str.NWebAdvisor::NXmlUpdater::CExecuteLocalCommand::ExecuteLocalCommand
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterExecuteLocalCommand.cpp
push 1
call fcn.00449540
add esp, 0x1c
mov byte [ebp - 0x2b5], 0
jmp 0x461416
push 0xffffffffffffffff
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4612ce
cmp dword [esi + 0x14], 8
jb 0x4612c4
mov esi, dword [esi]
push esi
push str.Wait_for_process_failed_for_command__s
push 0x7f
jmp 0x461300
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a4], 0
push eax
push dword [ebp - 0x2b4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x461320
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_get_process_exit_code___d_
push 0x86
push str.NWebAdvisor::NXmlUpdater::CExecuteLocalCommand::ExecuteLocalCommand
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterExecuteLocalCommand.cpp
push 1
call fcn.00449540
add esp, 0x18
mov byte [ebp - 0x2b5], 0
jmp 0x461416
cmp byte [ebp + 0x1c], 0
je 0x46135e
cmp dword [esi + 0x14], 8
jb 0x46132e
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x46135e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_delete_executable___d_
push 0x8e
push str.NWebAdvisor::NXmlUpdater::CExecuteLocalCommand::ExecuteLocalCommand
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterExecuteLocalCommand.cpp
push 1
call fcn.00449540
add esp, 0x18
mov ecx, dword [ebp - 0x2a4]
lea esi, [ebp - 0x12]
nop word [eax + eax]
mov eax, 0xcccccccd
sub esi, 2
mul ecx
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x30
mov word [esi], cx
mov ecx, edx
test ecx, ecx
jne 0x461370
xor eax, eax
mov dword [ebp - 0x304], edx
mov word [ebp - 0x304], ax
lea eax, [ebp - 0x12]
mov dword [ebp - 0x2f4], edx
mov dword [ebp - 0x2f0], 7
cmp esi, eax
je 0x4613c7
sub eax, esi
lea ecx, [ebp - 0x304]
sar eax, 1
push eax
push esi
call fcn.0041441e
push dword [0x4ff5a0]
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 6
call fcn.00412441
mov ecx, dword [ebp - 0x2d4]
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x334]
mov byte [ebp - 4], 7
push eax
call fcn.0044b240
lea ecx, [ebp - 0x334]
call fcn.00414870
lea ecx, [ebp - 0x304]
call fcn.00414870
mov byte [ebp - 0x2b5], 1
lea ecx, [ebp - 0x25c]
call fcn.00414870
mov eax, dword [ebp - 0x2b0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x461434
push eax
call esi
mov ecx, dword [ebp - 0x2b4]
test ecx, ecx
je 0x461441
push ecx
call esi
mov al, byte [ebp - 0x2b5]
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.00488f07
mov esp, ebp
pop ebp
ret 0x1c
call fcn.00414470
int3