Function at 0x402652
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x459178]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xb0], ecx
xor ecx, ecx
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x20]
cmp dword [esi + 0x10], ecx
je 0x402ac8
cmp dword [edi + 0x10], ecx
je 0x402ac8
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x50], cx
test eax, eax
je 0x4027dd
push eax
lea ecx, [ebp - 0x50]
call fcn.004016c8
and dword [ebp - 0x28], 0
lea edx, [ebp - 0x80]
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x24], ecx
and dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov ecx, edi
mov word [ebp - 0x38], ax
mov word [ebp - 0x80], ax
call fcn.0040ead0
test al, al
je 0x402a9e
cmp dword [ebp - 0x70], 0
je 0x402a9e
lea edx, [ebp - 0x38]
mov ecx, edi
call fcn.0040ec00
test al, al
je 0x402a9e
push 0x20
pop edx
lea ecx, [ebp - 0x38]
call fcn.0040cc20
lea ecx, [ebp - 0x38]
call fcn.0040d540
test al, al
jne 0x402726
lea ecx, [ebp - 0x38]
call fcn.0040e0a0
lea ecx, [ebp - 0x38]
call fcn.0040d540
test al, al
je 0x402a9e
lea ecx, [ebp - 0x38]
call fcn.0040d7d0
test al, al
je 0x402a9e
push 0x5c
push ecx
lea ecx, [ebp - 0x38]
call fcn.00403147
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.00401f0e
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040220d
mov edi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x9c]
push eax
push 0x447348
xor ecx, ecx
push 1
push ecx
push 0x447358
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0xac], ecx
call edi
test eax, eax
js 0x402a8e
mov ecx, dword [ebp - 0x9c]
test ecx, ecx
je 0x402a8e
mov eax, dword [ecx]
lea edx, [ebp - 0xac]
push edx
push 0x447368
push ecx
call dword [eax]
test eax, eax
js 0x402a82
cmp dword [ebp - 0xac], 0
je 0x402a82
cmp dword [esi + 0x14], 8
jb 0x4027f6
mov edx, dword [esi]
jmp 0x4027f8
lea edx, [ebp - 0x50]
mov ecx, esi
call fcn.0040ec00
test al, al
jne 0x4026bf
xor bl, bl
jmp 0x402ab8
mov edx, esi
mov eax, dword [ebp - 0x9c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae edx, dword [ebp - 0x50]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
cmp dword [ebx + 0x10], 0
je 0x402849
mov ecx, ebx
call fcn.0040d680
test al, al
je 0x402849
cmp dword [ebx + 0x14], 8
jb 0x402836
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x9c]
push 0
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
xor ebx, ebx
jmp 0x402861
cmp dword [esi + 0x14], 8
jb 0x402851
mov esi, dword [esi]
mov eax, dword [ebp - 0x9c]
xor ebx, ebx
push ebx
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0xa4]
cmp dword [edx + 0x14], 8
jb 0x40286f
mov edx, dword [edx]
mov eax, dword [ebp - 0x9c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [ebp - 0xa8]
cmp dword [edx + 0x14], 8
jb 0x40288a
mov edx, dword [edx]
mov eax, dword [ebp - 0x9c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
xor eax, eax
mov dword [ebp - 0x54], 7
push 0x44c788
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], ax
call fcn.004016c8
push ecx
push ecx
lea eax, [ebp - 0xa4]
mov dword [ebp - 0xa4], 0x2e
push eax
lea ecx, [ebp - 0x20]
call fcn.004031ab
or esi, 0xffffffff
lea ecx, [ebp - 0x20]
push esi
cmp eax, esi
jne 0x4028e6
push ebx
lea eax, [ebp - 0x68]
push eax
call fcn.0040220d
jmp 0x402921
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00401f6d
lea edx, [ebp - 0x68]
lea ecx, [ebp - 0x98]
call fcn.0040c4f0
test al, al
jne 0x402913
push esi
push ebx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040220d
push ebx
push 1
lea ecx, [ebp - 0x98]
call fcn.004017f1
lea ecx, [ebp - 0x20]
mov byte [ebp - 0x9d], bl
call fcn.0040d540
test al, al
je 0x402a1f
and dword [ebp - 0xa8], 0
lea eax, [ebp - 0xa8]
push eax
push 0x447348
push 1
push 0
push 0x447358
call edi
test eax, eax
js 0x4029df
mov ecx, dword [ebp - 0xa8]
test ecx, ecx
je 0x4029df
and dword [ebp - 0xa4], 0
lea edx, [ebp - 0xa4]
mov eax, dword [ecx]
push edx
push 0x447368
push ecx
call dword [eax]
test eax, eax
js 0x4029c4
mov edx, dword [ebp - 0xa4]
test edx, edx
je 0x4029c4
cmp dword [ebp - 0xc], 8
lea ecx, [ebp - 0x20]
mov eax, dword [edx]
cmovae ecx, dword [ebp - 0x20]
push 0x30
push ecx
push edx
call dword [eax + 0x14]
test eax, eax
js 0x4029b8
mov edx, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x9c]
call fcn.00402cc5
mov bl, al
mov ecx, dword [ebp - 0xa4]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0xa8]
push ecx
mov eax, dword [ecx]
call dword [eax + 8]
and dword [ebp - 0xa8], 0
test bl, bl
je 0x4029df
mov al, 1
jmp 0x402a25
mov esi, dword [ebp - 0xb0]
cmp byte [esi], 0
jne 0x402a1b
cmp dword [ebp - 0xc], 8
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x98]
cmovae eax, dword [ebp - 0x20]
push eax
call fcn.004014ad
lea ecx, [ebp - 0x98]
call fcn.004138f0
push 0
push 1
lea ecx, [ebp - 0x98]
call fcn.004017f1
mov bl, 1
jmp 0x402a31
mov al, byte [ebp - 0x9d]
mov bl, 1
test al, al
jne 0x402a5c
mov esi, dword [ebp - 0xb0]
cmp byte [esi], 0
jne 0x402a58
mov eax, dword [ebp - 0xac]
lea edx, [ebp - 0x20]
cmp dword [ebp - 0xc], 8
push 1
cmovae edx, dword [ebp - 0x20]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x18]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
mov byte [esi + 1], 1
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0
push 1
lea ecx, [ebp - 0x68]
call fcn.004017f1
jmp 0x402a90
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x20]
call fcn.004017f1
jmp 0x402aa0
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x80]
call fcn.004017f1
push 0
push 1
lea ecx, [ebp - 0x38]
call fcn.004017f1
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.004017f1
mov al, bl
jmp 0x402aca
xor al, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435a0a
mov esp, ebp
pop ebp
ret 0x1c