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

Disassembly:
sub esp, 0x214
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push esi
push 0
mov ebx, eax
mov esi, ecx
mov byte [esp + 0x13], 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x10]
push eax
push 0x4ae810
push 1
push 0
push 0x4ae820
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45e84f
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x228]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
cmp word [esi], 0
je 0x45e6d9
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push esi
push eax
call edx
cmp word [ebp], 0
je 0x45e6ed
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push ebp
push eax
call edx
cmp word [ebx], 0
je 0x45e700
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push ebx
push eax
call edx
cmp word [edi], 0
je 0x45e72b
mov eax, edi
call fcn.00404030
test al, al
je 0x45e720
push 0x10
push 0
push edi
call fcn.0049c05d
add esp, 0xc
jmp 0x45e72d
push edi
call fcn.0049a18d
add esp, 4
jmp 0x45e72d
xor eax, eax
mov esi, dword [esp + 0x234]
cmp word [esi], 0
je 0x45e751
mov ecx, dword [esp + 0x10]
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 + 0x238]
cmp word [esi], 0
je 0x45e794
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push 0
mov eax, esi
call fcn.00419420
add esp, 0xc
test al, al
je 0x45e794
mov ecx, dword [esp + 0x10]
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 + 0x23c]
cmp word [esi], 0
je 0x45e7d1
mov eax, esi
call fcn.00404030
test al, al
je 0x45e7bb
push 0x10
push 0
push esi
call fcn.0049c05d
add esp, 0xc
jmp 0x45e7c4
push esi
call fcn.0049a18d
add esp, 4
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x3c]
push ecx
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 0x4ae830
push eax
mov eax, dword [ecx]
call eax
test eax, eax
js 0x45e843
mov edx, dword [esp + 0x22c]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0x104
push edx
call dword [sym.imp.KERNEL32.DLL_GetFullPathNameW]
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
js 0x45e837
mov ecx, dword [0x4daf14]
push 1
push 0
push 0xffffffffffffffff
push 0x4b09bc
push ecx
call fcn.004833e0
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [esp + 0xf], 0
je 0x45e86d
mov eax, 1
pop esi
pop ebp
pop ebx
add esp, 0x214
ret 0x1c
mov eax, dword [0x4d6b14]
test byte [eax + 0x100], 1
jne 0x45e89e
mov ecx, dword [0x4daf14]
push 1
push 0
push 0xffffffffffffffff
push 0x4b45e4
push ecx
call fcn.004833e0
pop esi
pop ebp
pop ebx
add esp, 0x214
ret 0x1c
mov ebx, dword [esp + 0x224]
push 0x4b09ac
push 0
push 0x4b45e4
call fcn.00439d90
pop esi
pop ebp
pop ebx
add esp, 0x214
ret 0x1c