Function at 0x413a20
Capabilities:
Create directory
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
mov eax, 0x21a0
call fcn.00424e30
sub esp, eax
lea eax, [ebp - 0xd]
mov ecx, eax
call fcn.00436750
lea eax, [ebp - 0x28]
lea edx, [ebp - 0xd]
mov dword [esp + 4], edx
mov dword [esp], 0x4487c6
mov ecx, eax
call fcn.0043d460
sub esp, 8
lea eax, [ebp - 0xd]
mov ecx, eax
call fcn.00436780
lea eax, [ebp - 0x40]
mov ecx, eax
call fcn.0043d820
lea eax, [ebp - 0x58]
mov ecx, eax
call fcn.0043d820
lea eax, [ebp - 0x70]
mov ecx, eax
call fcn.00440d20
mov dword [esp], str.Creating_Soffid_ESSO_start_menu_folder..._n
call fcn.00411655
lea eax, [ebp - 0x174]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x8017
mov dword [esp], 0
mov eax, dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
call eax
sub esp, 0x14
not eax
shr eax, 0x1f
test al, al
je 0x413d66
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x174]
mov dword [esp], edx
mov ecx, eax
call fcn.0043e0c0
sub esp, 4
lea eax, [ebp - 0x40]
mov dword [esp], 0x467094
mov ecx, eax
call fcn.0043e270
sub esp, 4
lea eax, [ebp - 0x40]
mov ecx, eax
call fcn.004350a0
mov dword [esp], eax
call sub.msvcrt.dll__mkdir
lea eax, [ebp - 0x40]
mov dword [esp], 0x4670ac
mov ecx, eax
call fcn.0043e270
sub esp, 4
mov dword [esp], 0
mov eax, dword [sym.imp.ole32.dll_CoInitialize]
call eax
sub esp, 4
lea eax, [ebp - 0x178]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x453734
mov dword [esp + 8], 0x17
mov dword [esp + 4], 0
mov dword [esp], 0x44eee4
mov eax, dword [sym.imp.ole32.dll_CoCreateInstance]
call eax
sub esp, 0x14
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jns 0x413b7d
mov dword [esp], str.__Error_creating_shell_instance
call fcn.00411655
mov ebx, 0
jmp 0x413d77
call fcn.00411583
mov edx, eax
lea eax, [ebp - 0x28]
mov dword [esp], edx
mov ecx, eax
call fcn.0043e0c0
sub esp, 4
lea eax, [ebp - 0x28]
mov dword [esp], 0x44891b
mov ecx, eax
call fcn.0043e1b0
sub esp, 4
lea eax, [ebp - 0x28]
mov dword [esp], 0x46707c
mov ecx, eax
call fcn.0043e270
sub esp, 4
lea eax, [ebp - 0x58]
mov dword [esp], 0x4487c6
mov ecx, eax
call fcn.0043e0c0
sub esp, 4
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x28]
mov dword [esp], edx
mov ecx, eax
call fcn.0043e270
sub esp, 4
lea eax, [ebp - 0x58]
mov dword [esp], 0x4487c6
mov ecx, eax
call fcn.0043e1b0
sub esp, 4
mov esi, dword [ebp - 0x178]
mov eax, dword [ebp - 0x178]
mov eax, dword [eax]
add eax, 0x50
mov ebx, dword [eax]
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.004350a0
mov dword [esp + 4], eax
mov dword [esp], esi
call ebx
sub esp, 8
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x178]
mov eax, dword [eax]
add eax, 0x2c
mov eax, dword [eax]
mov dword [esp + 4], str.cmd.exe
mov dword [esp], edx
call eax
sub esp, 8
mov edx, dword [ebp - 0x178]
mov eax, dword [ebp - 0x178]
mov eax, dword [eax]
add eax, 0x1c
mov eax, dword [eax]
mov dword [esp + 4], str.Start_Soffid_ESSO_configuration_tool
mov dword [esp], edx
call eax
sub esp, 8
mov esi, dword [ebp - 0x178]
mov eax, dword [ebp - 0x178]
mov eax, dword [eax]
add eax, 0x44
mov ebx, dword [eax]
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.004350a0
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call ebx
sub esp, 0xc
mov eax, dword [ebp - 0x178]
mov ecx, eax
mov eax, dword [ebp - 0x178]
mov eax, dword [eax]
mov eax, dword [eax]
lea edx, [ebp - 0x17c]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x452d94
mov dword [esp], ecx
call eax
sub esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, eax
call fcn.004350a0
mov dword [esp + 8], 0xfff
mov dword [esp + 4], eax
lea eax, [ebp - 0x217c]
mov dword [esp], eax
call sub.msvcrt.dll_mbstowcs
mov edx, dword [ebp - 0x17c]
mov eax, dword [ebp - 0x17c]
mov eax, dword [eax]
add eax, 0x18
mov eax, dword [eax]
mov dword [esp + 8], 1
lea ecx, [ebp - 0x217c]
mov dword [esp + 4], ecx
mov dword [esp], edx
call eax
sub esp, 0xc
mov eax, dword [ebp - 0x17c]
mov edx, eax
mov eax, dword [ebp - 0x17c]
mov eax, dword [eax]
add eax, 8
mov eax, dword [eax]
mov dword [esp], edx
call eax
sub esp, 4
mov eax, dword [ebp - 0x178]
mov edx, eax
mov eax, dword [ebp - 0x178]
mov eax, dword [eax]
add eax, 8
mov eax, dword [eax]
mov dword [esp], edx
call eax
sub esp, 4
lea eax, [ebp - 0x217c]
mov dword [esp + 4], eax
mov dword [esp], str.Creted_menu_entry__ls
call fcn.00411655
jmp 0x413d72
mov dword [esp], str.__Error_looking_up_for_programs_folder
call fcn.00411655
mov ebx, 1
lea eax, [ebp - 0x70]
mov ecx, eax
call fcn.00441320
cmp ebx, 1
je 0x413d8d
mov ebx, 0
jmp 0x413d92
mov ebx, 1
lea eax, [ebp - 0x58]
mov ecx, eax
call fcn.0043dfb0
cmp ebx, 1
je 0x413da8
mov ebx, 0
jmp 0x413dad
mov ebx, 1
lea eax, [ebp - 0x40]
mov ecx, eax
call fcn.0043dfb0
cmp ebx, 1
je 0x413dc3
mov ebx, 0
jmp 0x413dc8
mov ebx, 1
lea eax, [ebp - 0x28]
mov ecx, eax
call fcn.0043dfb0
cmp ebx, 1
jmp 0x413e21
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret