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

Disassembly:
sub esp, 0x418
push ebx
push ebp
push 0
mov ebp, ecx
xor bl, bl
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
push eax
push 0x4d08e0
push 1
push 0
push 0x4d08f0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x46cd4a
mov eax, dword [esp + 8]
push dword [esp + 0x424]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [esp + 0x42c]
cmp byte [edx], bl
je 0x46cb2c
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edx, dword [esp + 0x430]
cmp byte [edx], bl
je 0x46cb42
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [esp + 0x434]
cmp byte [edx], bl
je 0x46cb58
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push esi
mov esi, dword [esp + 0x444]
push edi
mov al, byte [esi]
test al, al
je 0x46cbcf
mov ecx, esi
nop dword [eax]
cmp al, 0x20
je 0x46cb78
cmp al, 9
jne 0x46cb7e
mov al, byte [ecx + 1]
inc ecx
jmp 0x46cb70
test al, al
je 0x46cbc2
cmp al, 0x2d
je 0x46cb8a
cmp al, 0x2b
jne 0x46cb91
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x46cbc2
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x46cba0
cmp al, 0x58
jne 0x46cbc2
movsx eax, byte [ecx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x46cbc2
push 0x10
push 0
push esi
call fcn.004b9ad3
add esp, 0xc
mov esi, eax
jmp 0x46cbd1
push esi
call fcn.004b9548
add esp, 4
mov esi, eax
jmp 0x46cbd1
xor esi, esi
mov edi, dword [esp + 0x440]
cmp byte [edi], bl
je 0x46cbf1
mov ecx, dword [esp + 0x10]
xor eax, eax
test esi, esi
setg al
mov edx, dword [ecx]
sub esi, eax
push esi
push edi
push ecx
call dword [edx + 0x44]
mov esi, dword [esp + 0x444]
cmp byte [esi], bl
je 0x46cc31
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
push 0
xor edx, edx
mov ecx, esi
call fcn.00415c70
add esp, 0xc
test al, al
je 0x46cc31
mov ecx, dword [esp + 0x10]
mov esi, 0x600
movzx eax, al
or ax, si
movzx eax, ax
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x34]
mov esi, dword [esp + 0x44c]
mov cl, byte [esi]
test cl, cl
je 0x46ccb6
mov eax, dword [esp + 0x10]
mov edx, esi
mov eax, dword [eax]
mov edi, dword [eax + 0x3c]
nop dword [eax]
cmp cl, 0x20
je 0x46cc5a
cmp cl, 9
jne 0x46cc60
mov cl, byte [edx + 1]
inc edx
jmp 0x46cc50
test cl, cl
je 0x46cca6
cmp cl, 0x2d
je 0x46cc6e
cmp cl, 0x2b
jne 0x46cc76
mov cl, byte [edx + 1]
lea eax, [edx + 1]
mov edx, eax
cmp cl, 0x30
jne 0x46cca6
mov al, byte [edx + 1]
cmp al, 0x78
je 0x46cc86
cmp al, 0x58
jne 0x46cca6
movsx eax, byte [edx + 2]
push eax
call fcn.004b99b0
add esp, 4
test eax, eax
je 0x46cca6
push 0x10
push 0
push esi
call fcn.004b9ad3
add esp, 0xc
jmp 0x46ccaf
push esi
call fcn.004b9548
add esp, 4
push eax
push dword [esp + 0x14]
call edi
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x4d0900
push ecx
mov eax, dword [ecx]
call dword [eax]
pop edi
pop esi
test eax, eax
js 0x46cd40
push 0x104
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push dword [esp + 0x434]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
lea eax, [esp + 0x21c]
push eax
push 0x104
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x218]
push 1
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
test eax, eax
js 0x46cd36
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d5290
call fcn.004a2730
mov bl, 1
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
test bl, bl
je 0x46cd64
pop ebp
mov eax, 1
pop ebx
add esp, 0x418
ret 0x24
mov eax, dword [0x4e88cc]
test byte [eax + 0xe0], 1
jne 0x46cd93
mov ecx, dword [0x4eb720]
push 1
push 0
push 0xffffffffffffffff
push 0x4d9c00
call fcn.004a2730
pop ebp
pop ebx
add esp, 0x418
ret 0x24
push 0x4d5231
push 0
push 0x4d9c00
mov ecx, ebp
call fcn.0043e650
pop ebp
pop ebx
add esp, 0x418
ret 0x24