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

Disassembly:
sub esp, 0x420
push ebx
mov ebx, ecx
mov byte [esp + 7], 0
push 0
mov dword [esp + 0x14], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
push eax
push 0x4c3a80
push 1
push 0
push 0x4c3a90
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x47b1ef
mov eax, dword [esp + 8]
push dword [esp + 0x428]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov edx, dword [esp + 0x430]
cmp byte [edx], 0
je 0x47afd3
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov edx, dword [esp + 0x434]
cmp byte [edx], 0
je 0x47afea
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [esp + 0x438]
cmp byte [edx], 0
je 0x47b001
mov eax, dword [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov ebx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
push esi
mov esi, dword [esp + 0x448]
mov al, byte [esi]
test al, al
je 0x47b075
mov ecx, esi
cmp al, 0x20
je 0x47b01f
cmp al, 9
jne 0x47b025
mov al, byte [ecx + 1]
inc ecx
jmp 0x47b017
test al, al
je 0x47b067
cmp al, 0x2d
je 0x47b031
cmp al, 0x2b
jne 0x47b038
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x47b067
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x47b047
cmp al, 0x58
jne 0x47b067
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x47b067
push 0x10
push 0
push esi
call ebx
add esp, 0xc
mov esi, eax
jmp 0x47b077
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov esi, eax
jmp 0x47b077
xor esi, esi
push edi
mov edi, dword [esp + 0x444]
cmp byte [edi], 0
je 0x47b099
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 + 0x448]
pop edi
cmp byte [esi], 0
je 0x47b0db
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ecx
push 0
xor edx, edx
mov ecx, esi
call fcn.0041d950
add esp, 0xc
test al, al
je 0x47b0db
mov ecx, dword [esp + 0xc]
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 al, byte [esi]
test al, al
je 0x47b155
mov ecx, esi
nop word [eax + eax]
cmp al, 0x20
je 0x47b0f8
cmp al, 9
jne 0x47b0fe
mov al, byte [ecx + 1]
inc ecx
jmp 0x47b0f0
test al, al
je 0x47b13e
cmp al, 0x2d
je 0x47b10a
cmp al, 0x2b
jne 0x47b111
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x47b13e
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x47b120
cmp al, 0x58
jne 0x47b13e
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x47b13e
push 0x10
push 0
push esi
call ebx
add esp, 0xc
jmp 0x47b148
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
mov edx, eax
mov eax, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x4c3aa0
push eax
mov ecx, dword [eax]
call dword [ecx]
pop esi
test eax, eax
js 0x47b1e1
push 0x104
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
push dword [esp + 0x438]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
lea eax, [esp + 0x220]
push eax
push 0x104
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x21c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
test eax, eax
js 0x47b1d7
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c3cb0
call fcn.004b04f0
mov byte [esp + 7], 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]
mov ebx, dword [esp + 0x10]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [esp + 7], 0
je 0x47b20b
mov eax, 1
pop ebx
add esp, 0x420
ret 0x24
mov eax, dword [0x4d70f4]
test byte [eax + 0xe0], 1
jne 0x47b239
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c40b0
call fcn.004b04f0
pop ebx
add esp, 0x420
ret 0x24
push 0x4c3c29
push 0
push 0x4c40b0
mov ecx, ebx
call fcn.0044d1f0
pop ebx
add esp, 0x420
ret 0x24