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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64906c
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x6d3438]
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 - 0xf4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0x100], eax
test eax, eax
jne 0x4d5b97
push str.invalid_substitutor
push 0x62
push str.XMLUpdater::v2::CExecuteLocalCommand::ExecuteLocalCommand
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterExecuteLocalCommand.cpp
push 1
call fcn.004acee0
add esp, 0x14
xor al, al
jmp 0x4d60a5
cmp byte [ebp + 0x20], 0
je 0x4d5bdf
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4d5ba7
mov eax, dword [esi]
push eax
call fcn.004d4600
add esp, 4
test al, al
jne 0x4d5bdf
cmp dword [esi + 0x14], 8
jb 0x4d5bbc
mov esi, dword [esi]
push esi
push str.Signature_check_failed_for_command__s
push 0x67
push str.XMLUpdater::v2::CExecuteLocalCommand::ExecuteLocalCommand
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterExecuteLocalCommand.cpp
push 1
call fcn.004acee0
add esp, 0x18
xor al, al
jmp 0x4d60a5
xorps xmm0, xmm0
movups xmmword [ebp - 0xb0], xmm0
cmp byte [ebp + 0x18], 0
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
movlpd qword [ebp - 0x80], xmm0
movlpd qword [ebp - 0x78], xmm0
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
mov dword [ebp - 0x9c], 0x44
je 0x4d5c3e
xor eax, eax
mov dword [ebp - 0x70], 1
mov word [ebp - 0x6c], ax
mov ecx, dword [esi + 0x10]
mov eax, accept
sub eax, ecx
mov dword [ebp - 0xf0], ecx
cmp eax, 1
jb 0x4d60c2
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x40], esi
jb 0x4d5c65
mov eax, dword [esi]
mov dword [ebp - 0x40], eax
inc ecx
mov dword [ebp - 0xec], 0
mov edi, 7
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0
lea eax, [ebp - 0xec]
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb8], eax
cmp ecx, edi
jbe 0x4d5ce9
mov edi, ecx
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x4d5cb3
mov edi, accept
jmp 0x4d5cbd
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 - 0xec]
call fcn.0042ea70
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xdc], ecx
mov ecx, 0x22
mov dword [ebp - 0xd8], edi
mov word [eax], cx
lea ecx, [eax + 2]
mov eax, dword [ebp - 0xf0]
add eax, eax
push eax
push dword [ebp - 0x40]
push ecx
call fcn.0060a360
mov eax, dword [ebp - 0xb8]
xor edx, edx
mov ecx, dword [ebp - 0xbc]
add esp, 0xc
mov word [eax + ecx*2], dx
push 2
push 0x65a6e8
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 1
call fcn.0042a330
mov dword [ebp - 0xd4], 0
xor ecx, ecx
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [ebp - 0xf4]
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4d5d9a
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0xd4]
call fcn.0042a330
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0xd4]
call fcn.0042f960
lea ecx, [ebp - 0xec]
call fcn.0042f960
mov edi, dword [ebp - 0x48]
xor ecx, ecx
inc edi
mov edx, 2
mov eax, edi
mul edx
push 0x6811e4
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00608f39
add esp, 8
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 6
test eax, eax
jne 0x4d5e37
push str.Failed_to_allocate_memory_for_cmdLine.
push 0x77
push str.XMLUpdater::v2::CExecuteLocalCommand::ExecuteLocalCommand
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterExecuteLocalCommand.cpp
push 1
call fcn.004acee0
add esp, 0x14
mov byte [ebp - 0xb1], 0
jmp 0x4d6075
cmp dword [ebp - 0x44], 8
lea edx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x58]
test edi, edi
je 0x4d5e9c
cmp edi, 0x7fffffff
ja 0x4d5e93
mov esi, accept
mov ecx, eax
sub esi, edi
sub edx, eax
nop dword [eax]
lea eax, [esi + edi]
test eax, eax
je 0x4d5e7b
movzx eax, word [edx + ecx]
test ax, ax
je 0x4d5e7b
mov word [ecx], ax
add ecx, 2
sub edi, 1
jne 0x4d5e60
mov esi, dword [ebp - 0xf8]
lea eax, [ecx - 2]
test edi, edi
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp - 0x40]
jmp 0x4d5e9c
test edi, edi
je 0x4d5e9c
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0xfc]
cmp dword [ecx + 0x14], 8
jb 0x4d5eaa
mov ecx, dword [ecx]
lea edx, [ebp - 0xb0]
push edx
lea edx, [ebp - 0x9c]
push edx
push ecx
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4d5ef8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x40]
push eax
push esi
push str.Unable_to_run__s__error___d_
push 0x7e
push str.XMLUpdater::v2::CExecuteLocalCommand::ExecuteLocalCommand
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterExecuteLocalCommand.cpp
push 1
call fcn.004acee0
add esp, 0x1c
jmp 0x4d5f68
push 0xffffffffffffffff
push dword [ebp - 0xb0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4d5f1f
cmp dword [esi + 0x14], 8
jb 0x4d5f12
mov esi, dword [esi]
push esi
push str.Wait_for_process_failed_for_command__s
push 0x84
jmp 0x4d5f51
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xa0], 0
push eax
push dword [ebp - 0xb0]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4d5f7c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_get_process_exit_code___d_
push 0x8b
push str.XMLUpdater::v2::CExecuteLocalCommand::ExecuteLocalCommand
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterExecuteLocalCommand.cpp
push 1
call fcn.004acee0
mov esi, dword [ebp - 0x40]
add esp, 0x18
mov byte [ebp - 0xb1], 0
test esi, esi
je 0x4d6075
jmp 0x4d606c
cmp byte [ebp + 0x1c], 0
je 0x4d5fba
cmp dword [esi + 0x14], 8
jb 0x4d5f8a
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4d5fba
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Failed_to_delete_executable___d_
push 0x93
push str.XMLUpdater::v2::CExecuteLocalCommand::ExecuteLocalCommand
push str.E:BT3f715c85_ff0b_44ed_ac13_dd63d3f5c42aWebAdvisor_XmlUpdater_srcXmlUpdaterExecuteLocalCommand.cpp
push 1
call fcn.004acee0
add esp, 0x18
mov ecx, dword [ebp - 0xa0]
lea esi, [ebp - 0x12]
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 0x4d5fc3
xor eax, eax
mov dword [ebp - 0xd4], edx
mov word [ebp - 0xd4], ax
lea eax, [ebp - 0x12]
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xc0], 7
cmp esi, eax
je 0x4d601a
sub eax, esi
lea ecx, [ebp - 0xd4]
sar eax, 1
push eax
push esi
call fcn.0042e850
push dword [0x6d177c]
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 7
call fcn.0042a5a0
mov ecx, dword [ebp - 0x100]
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 8
push eax
call fcn.004ae930
lea ecx, [ebp - 0xec]
call fcn.0042f960
lea ecx, [ebp - 0xd4]
call fcn.0042f960
mov esi, dword [ebp - 0x40]
mov byte [ebp - 0xb1], 1
push esi
call fcn.0060819c
add esp, 4
lea ecx, [ebp - 0x58]
call fcn.0042f960
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x4d608e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x4d609f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0xb1]
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.00608185
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0042f3b0
int3