Function at 0x404db0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x630
mov eax, dword [0x4211dc]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [esp + 0x20], 0
test eax, eax
je 0x404def
lea eax, [esp + 0x10]
push eax
push 0x419524
push 1
push 0
push 0x419544
call esi
mov ecx, dword [0x4211dc]
test ecx, ecx
jne 0x404e04
lea ecx, [esp + 0xc]
push ecx
push 0x419534
push 1
push 0
push 0x419544
call esi
test eax, eax
jl 0x4051bb
mov eax, dword [0x4211dc]
mov ebx, dword [esp + 0x644]
test eax, eax
je 0x404e30
mov eax, dword [esp + 0x10]
push ebx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [0x4211dc]
test eax, eax
jne 0x404e55
mov eax, dword [0x419520]
push eax
push ebx
call fcn.0040d8d0
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 8
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
push esi
call fcn.00411d95
add esp, 4
lea edx, [esp + 0x24]
push ebx
push edx
call fcn.00411cea
lea eax, [esp + 0x2c]
push 0x5c
push eax
call fcn.00411d38
add esp, 0x10
test eax, eax
je 0x404ec2
mov word [eax], 0
mov eax, dword [0x4211dc]
test eax, eax
je 0x404e99
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [0x4211dc]
test eax, eax
jne 0x404ec2
mov eax, dword [0x419520]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0040d8d0
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 8
mov edx, dword [eax]
push esi
push eax
call dword [edx + 0x24]
push esi
call fcn.00411d95
add esp, 4
mov esi, dword [esp + 0x64c]
test esi, esi
je 0x404f16
cmp word [esi], 0
je 0x404f16
mov eax, dword [0x4211dc]
test eax, eax
je 0x404ef0
mov eax, dword [esp + 0x10]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [0x4211dc]
test eax, eax
jne 0x404f16
mov edx, dword [0x419520]
push edx
push esi
call fcn.0040d8d0
mov esi, eax
mov eax, dword [esp + 0x14]
add esp, 8
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x2c]
push esi
call fcn.00411d95
add esp, 4
mov esi, dword [esp + 0x650]
push edi
mov edi, dword [esp + 0x658]
test edi, edi
jne 0x404f33
test esi, esi
je 0x404f83
cmp word [esi], 0
je 0x404f83
test esi, esi
je 0x404f3d
cmp word [esi], 0
jne 0x404f3f
mov esi, ebx
mov eax, dword [0x4211dc]
test eax, eax
je 0x404f5d
mov eax, dword [esp + 0x14]
push edi
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x4211dc]
test eax, eax
jne 0x404f83
mov eax, dword [0x419520]
push eax
push esi
call fcn.0040d8d0
add esp, 8
mov esi, eax
mov eax, dword [esp + 0x10]
push edi
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
push esi
call fcn.00411d95
add esp, 4
mov eax, dword [esp + 0x65c]
mov esi, 1
dec eax
je 0x404f9c
dec eax
jne 0x404fa1
mov esi, 3
jmp 0x404fa1
mov esi, 7
mov eax, dword [0x4211dc]
test eax, eax
je 0x404fbe
mov eax, dword [esp + 0x14]
push esi
push eax
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [0x4211dc]
test eax, eax
jne 0x404fd2
mov eax, dword [esp + 0x10]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov eax, dword [0x4211dc]
test eax, eax
je 0x404ff0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push 0x419554
mov edx, dword [eax]
push eax
call dword [edx]
mov ebx, eax
mov eax, dword [0x4211dc]
test eax, eax
jne 0x405005
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push ecx
push 0x419554
mov edx, dword [eax]
push eax
call dword [edx]
mov ebx, eax
mov ebp, dword [esp + 0x64c]
test ebx, ebx
jl 0x405133
push 0x104
lea edx, [esp + 0x43c]
push ebp
push edx
call fcn.00412090
mov eax, dword [esp + 0x24]
add esp, 0xc
lea edx, [esp + 0x438]
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov ebx, eax
test ebx, ebx
jl 0x405129
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x20]
test eax, eax
jl 0x405121
mov eax, dword [esp + 0x20]
test eax, eax
je 0x405121
push 0x104
push eax
lea eax, [esp + 0x238]
push eax
call fcn.00412090
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push 1
call dword [sym.imp.ole32.dll_CoGetMalloc]
test eax, eax
jl 0x4050a1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4050b7
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [esp + 0x1c], 0
push 0x2e
push ebp
call fcn.00411d38
mov esi, eax
lea eax, [esp + 0x238]
push 0x2e
push eax
call fcn.00411d38
add esp, 0x10
mov edi, eax
test esi, esi
je 0x405103
test edi, edi
je 0x405103
push edi
call fcn.00411d78
push esi
mov ebp, eax
call fcn.00411d78
add esp, 8
cmp ebp, eax
ja 0x4050fc
push edi
push esi
call fcn.00411cea
add esp, 8
mov ebp, dword [esp + 0x64c]
mov eax, dword [esp + 0x644]
test eax, eax
je 0x405129
lea ecx, [esp + 0x230]
push ecx
push eax
call fcn.00411cea
add esp, 8
jmp 0x405129
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4211dc]
pop edi
test eax, eax
je 0x405150
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [0x4211dc]
test eax, eax
jne 0x40515a
mov eax, dword [esp + 0xc]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4051b9
push ebp
call fcn.00401de0
add esp, 4
test eax, eax
jne 0x4051b9
push ebp
call fcn.00411d78
add esp, 4
sub eax, 4
js 0x4051b9
lea esi, [ebp + eax*2]
push str..lnk
push esi
call fcn.00411eef
add esp, 8
test eax, eax
jne 0x4051b9
push str..pif
push esi
call fcn.00411cea
push ebp
call fcn.00401de0
add esp, 0xc
test eax, eax
jne 0x4051b9
push str..lnk
push esi
call fcn.00411cea
add esp, 8
mov eax, ebx
pop esi
pop ebp
pop ebx
add esp, 0x630
ret