Function at 0x409490
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42421d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x434014]
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 esi, edx
mov ebx, ecx
mov edi, dword [ebp + 8]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
push 0x425270
push 1
push 0
push 0x425290
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [esi + 0x14], 8
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov edx, dword [eax + 0x50]
mov eax, esi
jb 0x4094fb
mov eax, dword [esi]
push eax
push ecx
call edx
cmp dword [esi + 0x14], 8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x10]
jb 0x409515
mov esi, dword [esi]
xor ecx, ecx
mov dword [ebp - 0x38], 0
push eax
mov word [ebp - 0x38], cx
lea ecx, [ebp - 0x38]
push esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
call fcn.00404100
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x38]
call fcn.00407640
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00403ca0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae eax, dword [ebp - 0x50]
push eax
push dword [ebp - 0x18]
call dword [ebp - 0x20]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3c]
cmp edx, 8
jb 0x4095ae
mov ecx, dword [ebp - 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4095a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096da
push edx
push ecx
call fcn.0040e74a
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
cmp edx, 8
jb 0x4095ff
mov ecx, dword [ebp - 0x6c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4095f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096da
push edx
push ecx
call fcn.0040e74a
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
cmp edx, 8
jb 0x409654
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40964a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096da
push edx
push ecx
call fcn.0040e74a
add esp, 8
mov ecx, dword [ebp - 0x18]
xor eax, eax
cmp dword [edi + 0x14], 8
mov word [ebp - 0x38], ax
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
mov dword [ebp - 0x24], 7
jb 0x409675
mov edi, dword [edi]
push edi
push ecx
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x1c]
push edx
mov dword [ebp - 0x1c], 0
push 0x425280
mov ecx, dword [eax]
push eax
call dword [ecx]
cmp dword [ebx + 0x14], 8
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
jb 0x40969f
mov ebx, dword [ebx]
push 1
push ebx
push ecx
call dword [eax + 0x18]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
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.0040e3a6
mov esp, ebp
pop ebp
ret
call fcn.0041260f
int3