Function at 0x403980
Capabilities:
Create process on windows
Create shortcut via ishelllink
Delete file
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
push esi
push edi
test ecx, ecx
je 0x403a8d
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov ecx, 0x42be40
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4039a4
sub ecx, edx
sar ecx, 1
je 0x403a87
mov esi, dword [ebp + 8]
test esi, esi
je 0x403a87
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4039d0
sub ecx, edx
sar ecx, 1
je 0x403a87
lea eax, [esp + 0x10]
push eax
push 0x41e230
push 1
push 0
push 0x41e260
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x403a87
mov eax, dword [esp + 0x10]
push 0x42be40
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x10]
push 0x42c160
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [esp + 0x10]
push str.ITS_Secure_Test_Delivery_Browser
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x10]
push 5
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x3c]
call eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x41e240
push eax
mov ecx, dword [eax]
mov eax, dword [ecx]
call eax
test eax, eax
js 0x403a7b
mov eax, dword [esp + 0x14]
push 1
push esi
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
xorps xmm0, xmm0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x1c]
movlpd qword [esp + 0x40], xmm0
push eax
movlpd qword [esp + 0x4c], xmm0
movlpd qword [esp + 0x54], xmm0
mov dword [esp + 0x20], 0x3c
mov dword [esp + 0x24], 0x400
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x42be40
mov dword [esp + 0x34], 0x428328
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 5
mov dword [esp + 0x40], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x403bd9
push 0x2710
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x403bd9
mov ebx, dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
push 0
push 0
push 0x20
push str.Unable_to_Launch_Secure_Browser
push 0
push 0xfde9
call ebx
mov edi, eax
test edi, edi
je 0x403b67
lea ecx, [edi*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push edi
mov esi, eax
push esi
push 0x20
push str.Unable_to_Launch_Secure_Browser
push 0
push 0xfde9
call ebx
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x403b6b
mov esi, dword [esp + 0x18]
push 0
push 0
push 0xf
push str.Launcher_Error
push 0
push 0xfde9
call ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x403bba
lea ecx, [eax*2 + 2]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
push dword [esp + 0x14]
mov edi, eax
push edi
push 0xf
push str.Launcher_Error
push 0
push 0xfde9
call ebx
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov word [edi + eax*2], cx
jmp 0x403bbe
mov edi, dword [esp + 0x18]
push 0x1000
push edi
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GlobalFree]
call esi
push edi
call esi
mov ecx, str.ITS_SB_App_Switch.exe
call fcn.00404b00
test eax, eax
jne 0x403bf5
mov ecx, str.ITS_SB_App_SwitchNew.exe
call fcn.00404b00
test eax, eax
je 0x403c09
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call esi
push 0x42e280
call esi
push 0x42c648
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret