Function at 0x4518e0
Capabilities:
Create shortcut via ishelllink
Get keyboard layout

Disassembly:
sub esp, 0x41c
push ebp
mov ebp, dword [esp + 0x438]
push esi
push 0
mov esi, ecx
mov byte [esp + 0xf], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
push 0x497798
push 1
push 0
push 0x4977a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x451ace
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x42c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
cmp byte [esi], 0
je 0x451945
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
cmp byte [edi], 0
je 0x451957
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
cmp byte [ebx], 0
je 0x451969
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
push eax
call edx
mov esi, dword [esp + 0x434]
cmp byte [esi], 0
je 0x4519b2
cmp byte [ebp], 0
je 0x4519a2
mov eax, ebp
call fcn.0040d760
test al, al
je 0x451996
push 0x10
push 0
push ebp
call fcn.004877b6
add esp, 0xc
dec eax
jmp 0x4519a4
push ebp
call fcn.00487366
add esp, 4
dec eax
jmp 0x4519a4
xor eax, eax
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x44]
push esi
push ecx
call eax
mov esi, dword [esp + 0x438]
cmp byte [esi], 0
je 0x4519f4
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push 0
mov eax, esi
call fcn.00412570
add esp, 0xc
test al, al
je 0x4519f4
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
movzx eax, al
mov esi, 0x600
or ax, si
movzx eax, ax
push eax
push ecx
mov ecx, dword [edx + 0x34]
call ecx
mov esi, dword [esp + 0x440]
cmp byte [esi], 0
je 0x451a30
mov eax, esi
call fcn.0040d760
test al, al
je 0x451a1a
push 0x10
push 0
push esi
call fcn.004877b6
add esp, 0xc
jmp 0x451a23
push esi
call fcn.00487366
add esp, 4
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x3c]
push ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 0x4977b8
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x451ac2
mov edx, dword [esp + 0x430]
push 0x104
lea ecx, [esp + 0x18]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
lea eax, [esp + 0x220]
push eax
push 0x104
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 1
lea ecx, [esp + 0x220]
push ecx
push eax
call edx
test eax, eax
js 0x451ab6
mov eax, dword [0x4aba70]
push 1
push 0
push 0xffffffffffffffff
push 0x4998c4
push eax
call fcn.00475c90
mov byte [esp + 0xb], 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [esp + 0xb], 0
pop esi
pop ebp
je 0x451aeb
mov eax, 1
add esp, 0x41c
ret 0x1c
mov eax, dword [0x4a78d4]
cmp byte [eax + 0xe8], 0
jne 0x451b19
mov ecx, dword [0x4aba70]
push 1
push 0
push 0xffffffffffffffff
push 0x49afc8
push ecx
call fcn.00475c90
add esp, 0x41c
ret 0x1c
mov ecx, dword [esp + 0x420]
push 0x499821
push 0
push 0x49afc8
call fcn.0042db40
add esp, 0x41c
ret 0x1c