Function at 0x417406
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov eax, 0x49ae3a
call fcn.00498a28
sub esp, 0x64
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edx
mov edx, esi
lea ecx, [ebp - 0x40]
call fcn.004176e5
pop ecx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x30], ebx
jne 0x417487
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
lea eax, [esi + 0x60]
mov dword [ebp - 0x28], 0x652
push eax
mov edx, str.Failed_to_create_shortcut_script_for
mov dword [ebp - 0x24], 0xd
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x20], str.C:BooCode_OffergateMultiSetupoglibOGLiboglibutils_system_utils.cpp
mov dword [ebp - 0x1c], str.bool___cdecl_og::system_utils::CreateScriptedShortcut_const_struct_og::system_utils::ShortcutData__const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____
call fcn.00413d30
pop ecx
mov edx, eax
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
mov ecx, dword [0x4cdcd0]
push esi
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x58]
call fcn.00402f3d
jmp 0x4176cd
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push eax
push 0x4a8358
push 1
push ebx
push 0x4a8378
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4176c6
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 0x2c], 7
mov dword [ebp - 0x14], ebx
push edi
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push eax
push edx
call ecx
mov edi, eax
test edi, edi
jns 0x41753f
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
mov edx, edi
mov dword [ebp - 0x28], 0x65f
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x24], 0x11
mov dword [ebp - 0x20], str.C:BooCode_OffergateMultiSetupoglibOGLiboglibutils_system_utils.cpp
mov dword [ebp - 0x1c], str.bool___cdecl_og::system_utils::CreateScriptedShortcut_const_struct_og::system_utils::ShortcutData__const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____
call fcn.004100b1
push 0x26
push str.Creating_shortcut:_failed_to_set_path
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040efea
push eax
lea ecx, [ebp - 0x58]
call fcn.00403476
mov byte [ebp - 4], 3
lea edx, [ebp - 0x28]
mov ecx, dword [0x4cdcd0]
push edx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x58]
call fcn.00402fc0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00402fc0
cmp dword [esi + 0x70], ebx
jbe 0x4175da
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [esi + 0x60]
cmp dword [eax + 0x14], 7
jbe 0x41755b
mov eax, dword [eax]
push eax
push ecx
call edx
mov edi, eax
test edi, edi
jns 0x4175da
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
mov edx, edi
mov dword [ebp - 0x28], 0x664
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x24], 0x15
mov dword [ebp - 0x20], str.C:BooCode_OffergateMultiSetupoglibOGLiboglibutils_system_utils.cpp
mov dword [ebp - 0x1c], str.bool___cdecl_og::system_utils::CreateScriptedShortcut_const_struct_og::system_utils::ShortcutData__const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____
call fcn.004100b1
push 0x2c
push str.Creating_shortcut:_failed_to_set_description
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0040efea
push eax
lea ecx, [ebp - 0x58]
call fcn.00403476
mov byte [ebp - 4], 5
lea edx, [ebp - 0x28]
mov ecx, dword [0x4cdcd0]
push edx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x58]
call fcn.00402fc0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00402fc0
cmp dword [esi + 0x58], ebx
jbe 0x417676
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
lea eax, [esi + 0x48]
cmp dword [eax + 0x14], 7
jbe 0x4175f6
mov eax, dword [eax]
push ebx
push eax
push ecx
call edx
mov edi, eax
test edi, edi
jns 0x417676
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
mov edx, edi
mov dword [ebp - 0x28], 0x66a
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x24], 0x15
mov dword [ebp - 0x20], str.C:BooCode_OffergateMultiSetupoglibOGLiboglibutils_system_utils.cpp
mov dword [ebp - 0x1c], str.bool___cdecl_og::system_utils::CreateScriptedShortcut_const_struct_og::system_utils::ShortcutData__const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____
call fcn.004100b1
push 0x2e
push str.Creating_shortcut:_failed_to_set_icon_location
push ecx
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0040efea
push eax
lea ecx, [ebp - 0x58]
call fcn.00403476
mov byte [ebp - 4], 7
lea edx, [ebp - 0x28]
mov ecx, dword [0x4cdcd0]
push edx
lea edx, [ebp - 0x58]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x58]
call fcn.00402fc0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00402fc0
mov eax, dword [ebp - 0x10]
push 7
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x14]
push edx
push 0x4a8398
push ecx
mov eax, dword [ecx]
call dword [eax]
mov dword [ebp - 0x18], eax
pop edi
test eax, eax
js 0x4176ba
cmp dword [esi + 0x14], 7
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
jbe 0x4176a7
mov esi, dword [esi]
push 1
push esi
push ecx
call dword [eax + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
shr eax, 0x1f
xor al, 1
mov bl, al
lea ecx, [ebp - 0x40]
call fcn.00402f3d
mov ecx, dword [ebp - 0xc]
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret