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

Disassembly:
sub esp, 0x218
push ebx
push ebp
mov ebp, dword [esp + 0x230]
push esi
push edi
push 0
mov edi, eax
mov ebx, ecx
mov esi, edx
mov byte [esp + 0x1b], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x18]
push eax
push 0x4ad810
push 1
push 0
push 0x4ad820
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45e262
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x230]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
cmp word [esi], 0
je 0x45e0ec
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
cmp word [ebp], 0
je 0x45e100
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebp
push eax
call edx
cmp word [ebx], 0
je 0x45e113
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
push eax
call edx
cmp word [edi], 0
je 0x45e13e
mov eax, edi
call fcn.00403f40
test al, al
je 0x45e133
push 0x10
push 0
push edi
call fcn.0049b35d
add esp, 0xc
jmp 0x45e140
push edi
call fcn.004991dd
add esp, 4
jmp 0x45e140
xor eax, eax
mov esi, dword [esp + 0x23c]
cmp word [esi], 0
je 0x45e164
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
xor ebx, ebx
test eax, eax
setg bl
sub eax, ebx
push eax
mov eax, dword [edx + 0x44]
push esi
push ecx
call eax
mov esi, dword [esp + 0x240]
cmp word [esi], 0
je 0x45e1a7
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push 0
mov eax, esi
call fcn.004190b0
add esp, 0xc
test al, al
je 0x45e1a7
mov ecx, dword [esp + 0x18]
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 + 0x244]
cmp word [esi], 0
je 0x45e1e4
mov eax, esi
call fcn.00403f40
test al, al
je 0x45e1ce
push 0x10
push 0
push esi
call fcn.0049b35d
add esp, 0xc
jmp 0x45e1d7
push esi
call fcn.004991dd
add esp, 4
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x3c]
push ecx
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x4ad830
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x45e256
mov edx, dword [esp + 0x234]
push 0
lea ecx, [esp + 0x24]
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
js 0x45e24a
mov ecx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4af9cc
push ecx
call fcn.004824a0
mov byte [esp + 0x17], 1
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [esp + 0x17], 0
je 0x45e281
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 0x1c
mov eax, dword [0x4d4b04]
test byte [eax + 0x100], 1
jne 0x45e2b3
mov ecx, dword [0x4d8ea8]
push 1
push 0
push 0xffffffffffffffff
push 0x4b356c
push ecx
call fcn.004824a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 0x1c
mov edi, dword [esp + 0x22c]
push 0x4af9bc
push 0
push 0x4b356c
call fcn.004399f0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 0x1c