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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58f7c6
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5fcff4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x64], ecx
push str.sc.exe_stop_VciToolServerPORSCHE
mov dword [ebp - 0x5c], 1
call fcn.0056cf54
push str.TASKKILL__F__IM__E70_PT3G_SERVICE.exe_
call fcn.0056cf54
push str.sc.exe_delete_VciToolServerPORSCHE
call fcn.0056cf54
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push 0x30
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0xf
call fcn.00417cca
movups xmm0, xmmword [str.D:PiwisAppsVCIActia_64XS_D_PDU_API_64]
mov ecx, eax
mov dword [ebp - 0x18], 0x29
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x14], 0x2f
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x5da9dc]
movups xmmword [ecx + 0x10], xmm0
movq xmm0, qword [0x5da9ec]
movq qword [ecx + 0x20], xmm0
mov al, byte [0x5da9f4]
mov byte [ecx + 0x28], al
mov byte [ecx + 0x29], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 0x10
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0056cdaf
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x18
test eax, eax
jne 0x404818
push str.PDUAPI_ACTIA_IME_XS.dll
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00406540
add esp, 4
mov esi, eax
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
jb 0x40460b
mov esi, dword [esi]
push str.PDUAPI_ACTIA_IME_XS.dll_bak
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00406540
add esp, 4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x40462a
mov eax, dword [eax]
mov edx, esi
mov ecx, eax
call fcn.00416110
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x40466b
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404661
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b09
push ecx
push edx
call fcn.00561389
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x4046b5
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4046ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b09
push ecx
push edx
call fcn.00561389
add esp, 8
push str.PDULOG_CFG.ini
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00406540
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4046d0
mov eax, dword [eax]
push eax
call edi
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x404707
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4046fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b0e
push ecx
push edx
call fcn.00561389
add esp, 8
mov edx, str.D:PiwisAppsVCIActiaDriversPT3GVCIApp64.exe
mov ecx, str.D:PiwisAppsVCIActiaDriversPT3GVCIApp64.exe_bak
call fcn.00416110
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x40], ax
push eax
push eax
push 0x2f
push str.D:PiwisAppsVCIActiaDriversPT3GVCIApp64.exe
push eax
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
mov dword [ebp - 0x5c], 1
call esi
mov edi, eax
xor ecx, ecx
mov edx, 2
lea eax, [edi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042651d
add esp, 4
mov dword [ebp - 0x60], eax
push edi
push eax
push 0x2f
push str.D:PiwisAppsVCIActiaDriversPT3GVCIApp64.exe
push 0
push 0
call esi
mov esi, dword [ebp - 0x60]
xor eax, eax
mov ecx, esi
mov word [esi + edi*2], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404790
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x40]
call fcn.004062c0
push esi
call fcn.00426526
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x2c]
cmp ecx, 8
jb 0x404812
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x404808
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b13
push ecx
push edx
call fcn.00561389
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x22
push str.C:Program_Files_samtec_samPDU_bin
lea ecx, [ebp - 0x28]
call fcn.00406410
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0056cdaf
add esp, 8
test eax, eax
jne 0x404962
push str.PDUAPI_SAMTEC_2.1.1.dll
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00406540
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
cmp dword [esi + 0x14], 0x10
jb 0x404866
mov esi, dword [esi]
push str.PDUAPI_SAMTEC_2.1.1.dll_bak
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00406540
add esp, 4
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x404885
mov eax, dword [eax]
mov edx, esi
mov ecx, eax
call fcn.00416110
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x4048c6
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4048bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b18
push ecx
push edx
call fcn.00561389
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x404910
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404906
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b18
push ecx
push edx
call fcn.00561389
add esp, 8
push str.PDULOG_CFG.ini
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00406540
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40492b
mov eax, dword [eax]
push eax
call edi
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x404962
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404958
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b1d
push ecx
push edx
call fcn.00561389
add esp, 8
push 0x25
push str.C:Program_Files_samtec_samPDU_E1_bin
lea ecx, [ebp - 0x28]
call fcn.00406410
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0056cdaf
add esp, 8
test eax, eax
jne 0x404aac
push str.PDUAPI_SAMTEC_2.1.1.dll
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00406540
add esp, 4
mov esi, eax
mov byte [ebp - 4], 6
cmp dword [esi + 0x14], 0x10
jb 0x4049b0
mov esi, dword [esi]
push str.PDUAPI_SAMTEC_2.1.1.dll_bak
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00406540
add esp, 4
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 0x10
jb 0x4049cf
mov eax, dword [eax]
mov edx, esi
mov ecx, eax
call fcn.00416110
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0x10
jb 0x404a10
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404a06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b22
push ecx
push edx
call fcn.00561389
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
cmp ecx, 0x10
jb 0x404a5a
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404a50
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b22
push ecx
push edx
call fcn.00561389
add esp, 8
push str.PDULOG_CFG.ini
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.00406540
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x404a75
mov eax, dword [eax]
push eax
call edi
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x404aac
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404aa2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b27
push ecx
push edx
call fcn.00561389
add esp, 8
mov ecx, dword [ebp - 0x64]
push 1
mov ecx, dword [ecx]
add ecx, 0x2d0
call fcn.0041ff47
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x404aee
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x404ae4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404b2c
push ecx
push edx
call fcn.00561389
add esp, 8
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.00560f1e
mov esp, ebp
pop ebp
ret
call fcn.00567a6f
call fcn.00567a6f
call fcn.00567a6f
call fcn.00567a6f
call fcn.00567a6f
call fcn.00567a6f
call fcn.00567a6f
call fcn.00567a6f
int3