Function at 0x4123a0
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x798]
sub esp, 0x818
mov eax, dword [0x4a3dc0]
xor eax, ebp
mov dword [ebp + 0x794], eax
mov eax, dword [ebp + 0x7a0]
mov ecx, dword [ebp + 0x7a4]
mov edx, dword [ebp + 0x7b4]
push ebx
mov ebx, dword [ebp + 0x7b0]
push esi
mov esi, dword [ebp + 0x7ac]
push edi
mov edi, dword [ebp + 0x7a8]
push 0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x78], edx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x74]
push eax
push 0x491820
push 0x17
push 0
push 0x491850
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x74], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x412656
push 0x7ff
lea ecx, [ebp - 0x6b]
push 0
push ecx
mov byte [ebp - 0x6c], 0
call fcn.004547c0
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
add esp, 0xc
push esi
push eax
mov eax, dword [edx + 0x50]
call eax
test eax, eax
je 0x412488
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str._pJavaShortCutItem__SetPath__s__call_failed___Error_Code:__d_n
push 0xffffffffffffffff
lea ecx, [ebp - 0x6c]
push 0x800
push ecx
call fcn.00454e68
lea edx, [ebp - 0x6c]
push edx
call fcn.00438d20
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 0x1c
push eax
mov dword [ebp - 0x70], 0
call edx
jmp 0x41266a
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebx
push eax
call edx
test eax, eax
je 0x4124d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str._pJavaShortCutItem__SetArguments__s__call_failed___Error_Code:__d_n
push 0xffffffffffffffff
lea eax, [ebp - 0x6c]
push 0x800
push eax
call fcn.00454e68
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00438d20
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 0x1c
push eax
mov dword [ebp - 0x70], 0
call edx
jmp 0x41266a
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
xor ebx, ebx
push ebx
push edi
push eax
mov eax, dword [edx + 0x44]
call eax
test eax, eax
je 0x412527
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str._pJavaShortCutItem__SetIconLocation__s__call_failed___Error_Code:__d_n
push 0xffffffffffffffff
lea ecx, [ebp - 0x6c]
push 0x800
push ecx
call fcn.00454e68
lea edx, [ebp - 0x6c]
push edx
call fcn.00438d20
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 0x1c
push eax
mov dword [ebp - 0x70], ebx
call edx
jmp 0x41266a
mov eax, dword [ebp - 0x74]
mov esi, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push esi
push eax
call edx
test eax, eax
je 0x412576
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str._pJavaShortCutItem__SetDescription__s__call_failed___Error_Code:__d_n
push 0xffffffffffffffff
lea eax, [ebp - 0x6c]
push 0x800
push eax
call fcn.00454e68
lea ecx, [ebp - 0x6c]
push ecx
call fcn.00438d20
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 0x1c
push eax
mov dword [ebp - 0x70], ebx
call edx
jmp 0x41266a
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
mov edx, dword [edx]
lea ecx, [ebp - 0x78]
push ecx
push 0x491840
push eax
call edx
test eax, eax
js 0x412639
push 0x800
call fcn.00440df5
mov ecx, dword [ebp - 0x7c]
push 0x47d868
mov edi, eax
mov eax, dword [ebp - 0x80]
push eax
push 0x47d7d4
push ecx
push str._s_s_s_s
push 0xffffffffffffffff
push 0x800
push edi
call fcn.00454e68
add esp, 0x24
cmp edi, ebx
jne 0x4125cc
xor eax, eax
jmp 0x4125f6
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x4125e2
xor eax, eax
jmp 0x4125f6
lea eax, [esi + esi]
call fcn.00454340
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.004012a0
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx]
push 1
push eax
mov eax, dword [edx + 0x18]
push ecx
call eax
test eax, eax
je 0x412618
push 0x47d87c
call fcn.00438d20
add esp, 4
mov dword [ebp - 0x70], ebx
push edi
call fcn.00453d34
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x41266a
push 0x47d8e8
call fcn.00438d20
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
mov dword [ebp - 0x70], ebx
call edx
jmp 0x41266a
push 0x47d930
call fcn.00438d20
add esp, 4
mov dword [ebp - 0x70], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x70]
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x794]
xor ecx, ebp
call fcn.0045407e
lea esp, [ebp + 0x798]
pop ebp
ret