Function at 0x407350
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b3df6
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4e5070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x278], ecx
mov dword [ebp - 0x274], eax
test edx, edx
je 0x4076fe
test ecx, ecx
je 0x4076fe
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
lea eax, [ebp - 0x268]
push eax
push 0x4b97a0
push 1
push 0
push 0x4b97d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jne 0x4076e8
test edi, edi
jne 0x407408
mov eax, dword [ebp - 0x268]
mov esi, dword [eax]
call fcn.0049ca0a
push dword [eax]
push dword [ebp - 0x268]
call dword [esi + 0x50]
mov esi, eax
jmp 0x407617
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
cmp word [edi], ax
jne 0x40742e
xor ecx, ecx
jmp 0x407442
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407433
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x234]
call fcn.004036e0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
mov word [ebp - 0x24c], ax
mov byte [ebp - 4], 1
test ebx, ebx
je 0x4074ac
cmp word [ebx], ax
jne 0x407484
xor ecx, ecx
jmp 0x40749f
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x407490
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x24c]
call fcn.004036e0
push 1
sub esp, 8
lea ecx, [ebp - 0x234]
call fcn.0040a140
push 1
sub esp, 8
lea ecx, [ebp - 0x234]
mov ebx, eax
call fcn.0040a0c0
mov esi, eax
cmp ebx, 0xffffffff
je 0x407564
cmp esi, 0xffffffff
je 0x407564
cmp ebx, esi
je 0x407564
mov eax, dword [ebp - 0x224]
lea ecx, [ebp - 0x234]
sub eax, esi
push eax
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00403070
push eax
lea ecx, [ebp - 0x24c]
call fcn.00403140
lea ecx, [ebp - 0x264]
call fcn.00403100
sub esi, ebx
lea eax, [ebx + 1]
dec esi
lea ecx, [ebp - 0x234]
push esi
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.00403070
push eax
lea ecx, [ebp - 0x234]
call fcn.00403140
lea ecx, [ebp - 0x264]
call fcn.00403100
cmp dword [ebp - 0x220], 8
lea edx, [ebp - 0x234]
cmovae edx, dword [ebp - 0x234]
push edx
jmp 0x407565
push edi
mov eax, dword [ebp - 0x268]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov esi, eax
test esi, esi
js 0x40759a
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
cmovae edx, dword [ebp - 0x24c]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
mov esi, eax
mov eax, dword [ebp - 0x238]
cmp eax, 8
jb 0x4075b8
inc eax
lea ecx, [ebp - 0x24c]
push eax
push dword [ebp - 0x24c]
call fcn.00404770
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0x24c], ax
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x238], 7
mov dword [ebp - 0x23c], 0
cmp eax, 8
jb 0x4075fa
inc eax
lea ecx, [ebp - 0x234]
push eax
push dword [ebp - 0x234]
call fcn.00404770
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
test esi, esi
js 0x4076e8
mov edx, dword [ebp - 0x270]
test edx, edx
je 0x407638
mov eax, dword [ebp - 0x268]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov esi, eax
test esi, esi
js 0x4076e8
mov edx, dword [ebp - 0x274]
test edx, edx
je 0x407659
mov eax, dword [ebp - 0x268]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov esi, eax
test esi, esi
js 0x4076e8
mov eax, dword [ebp - 0x268]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov esi, eax
test esi, esi
js 0x4076e8
mov eax, dword [ebp - 0x268]
lea edx, [ebp - 0x26c]
push edx
push 0x4b97c0
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x4076e8
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.00498020
push dword [ebp - 0x278]
lea eax, [ebp - 0x21c]
push dword [ebp - 0x27c]
push 0x4c95d0
push eax
call fcn.00406470
mov eax, dword [ebp - 0x26c]
lea edx, [ebp - 0x21c]
add esp, 0x1c
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x26c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x268]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
jmp 0x407703
mov eax, 0x57
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00493122
mov esp, ebp
pop ebp
ret