Function at 0x40168e
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x44c4e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x14]
xor ebx, ebx
cmp dword [ecx + 0x14], ebx
push esi
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x18]
push edi
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xc0], edx
je 0x401b89
cmp dword [edx + 0x14], ebx
je 0x401b89
cmp eax, ebx
push 7
pop edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x54], bx
je 0x401706
lea esi, [ebp - 0x58]
call fcn.004015ae
jmp 0x40171d
lea eax, [ebp - 0x58]
push eax
mov edi, ecx
call fcn.0040bf04
test al, al
pop ecx
je 0x401b7e
push 7
pop edi
lea eax, [ebp - 0x74]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x5c], edi
mov edi, dword [ebp - 0xc0]
push eax
mov dword [ebp - 0x28], ebx
mov word [ebp - 0x38], bx
mov dword [ebp - 0x60], ebx
mov word [ebp - 0x70], bx
call fcn.0040beb8
test al, al
pop ecx
je 0x401b68
cmp dword [ebp - 0x60], ebx
je 0x401b68
lea eax, [ebp - 0x3c]
push eax
call fcn.0040bf04
test al, al
pop ecx
je 0x401b68
lea eax, [ebp - 0x3c]
push 0x20
push eax
call fcn.0040cbad
lea eax, [ebp - 0x3c]
push eax
call fcn.0040ce38
add esp, 0xc
test al, al
jne 0x401787
lea ecx, [ebp - 0x3c]
call fcn.0040be27
lea eax, [ebp - 0x3c]
push eax
call fcn.0040ce38
test al, al
pop ecx
je 0x401b68
lea eax, [ebp - 0x3c]
push eax
call fcn.0040cf02
test al, al
pop ecx
je 0x401b68
call fcn.0040cc87
lea esi, [ebp - 0x3c]
push eax
call fcn.004020ee
mov eax, esi
lea esi, [ebp - 0x20]
call fcn.00401083
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x74]
call fcn.004021d1
lea eax, [ebp - 0xb4]
push eax
push 0x43f33c
xor edi, edi
inc edi
push edi
push ebx
push 0x43f34c
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xc4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x401b46
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
je 0x401b46
mov ecx, dword [eax]
lea edx, [ebp - 0xc4]
push edx
push 0x43f35c
push eax
call dword [ecx]
test eax, eax
jl 0x401b3a
cmp dword [ebp - 0xc4], ebx
je 0x401b3a
mov edi, dword [ebp - 0xbc]
cmp dword [edi + 0x18], 8
jb 0x401844
add edi, 4
mov eax, dword [edi]
jmp 0x401849
add edi, 4
mov eax, edi
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x50]
cmp dword [ebp - 0x40], 8
mov ecx, dword [ebp - 0x54]
jae 0x401862
lea ecx, [ebp - 0x54]
mov eax, dword [ebp - 0xb4]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x24]
mov esi, dword [ebp - 0xd0]
cmp dword [esi + 0x14], ebx
je 0x401897
push esi
call fcn.0040ce9b
test al, al
pop ecx
je 0x401897
cmp dword [esi + 0x18], 8
jb 0x401890
mov esi, dword [esi + 4]
jmp 0x401893
add esi, 4
push ebx
push esi
jmp 0x4018a7
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x18], 8
jb 0x4018a5
mov edi, dword [edi]
push ebx
push edi
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 0xd4]
cmp dword [eax + 0x18], 8
jb 0x4018c4
mov eax, dword [eax + 4]
jmp 0x4018c7
add eax, 4
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x2c]
mov eax, dword [ebp - 0xc8]
cmp dword [eax + 0x18], 8
jb 0x4018e5
mov eax, dword [eax + 4]
jmp 0x4018e8
add eax, 4
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov eax, 0x440da4
lea ecx, [ebp - 0xac]
call fcn.00401592
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc8], 0x2e
call fcn.00402158
or esi, 0xffffffff
cmp eax, esi
push esi
jne 0x401937
push ebx
lea eax, [ebp - 0xac]
lea esi, [ebp - 0x20]
call fcn.004021d1
jmp 0x401990
mov dword [ebp - 0x7c], ebx
mov word [ebp - 0x8c], bx
lea ecx, [ebp - 0x90]
mov ebx, eax
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x78], 7
call fcn.004010d7
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x90]
call fcn.0040c230
test eax, eax
je 0x40197f
push esi
push 0
lea eax, [ebp - 0xac]
lea esi, [ebp - 0x20]
call fcn.004021d1
push 0
push 1
lea esi, [ebp - 0x90]
call fcn.0040115f
xor ebx, ebx
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0xb5], bl
call fcn.0040ce38
xor edi, edi
inc edi
test al, al
pop ecx
je 0x401aa2
lea eax, [ebp - 0xbc]
push eax
push 0x43f33c
push edi
push ebx
push 0x43f34c
mov byte [ebp - 0xad], bl
mov dword [ebp - 0xbc], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x401a5e
mov eax, dword [ebp - 0xbc]
cmp eax, ebx
je 0x401a5e
lea edx, [ebp - 0xc0]
push edx
push 0x43f35c
mov dword [ebp - 0xc0], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x401a44
mov ecx, dword [ebp - 0xc0]
cmp ecx, ebx
je 0x401a44
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x401a13
lea eax, [ebp - 0x1c]
mov edx, dword [ecx]
push 0x30
push eax
push ecx
call dword [edx + 0x14]
test eax, eax
jl 0x401a38
push dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb4]
call fcn.00401d74
pop ecx
mov byte [ebp - 0xad], al
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xbc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [ebp - 0xad], bl
mov dword [ebp - 0xbc], ebx
jne 0x401a9b
mov eax, dword [ebp - 0xcc]
cmp byte [eax], bl
jne 0x401aa2
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x401a74
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x90]
call fcn.00401592
lea eax, [ebp - 0x90]
push eax
call fcn.0040be2c
pop ecx
push ebx
push edi
lea esi, [ebp - 0x90]
call fcn.0040115f
jmp 0x401aa2
mov byte [ebp - 0xb5], 1
cmp byte [ebp - 0xb5], bl
mov byte [ebp - 0xad], 1
jne 0x401ae5
mov esi, dword [ebp - 0xcc]
cmp byte [esi], bl
jne 0x401ae1
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
jae 0x401ac7
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax]
push edi
push ecx
push eax
call dword [edx + 0x18]
neg eax
sbb al, al
inc al
mov byte [ebp - 0xad], al
mov byte [esi + 1], 1
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push edi
lea esi, [ebp - 0xac]
call fcn.0040115f
push ebx
push edi
lea esi, [ebp - 0x20]
call fcn.0040115f
push ebx
push edi
lea esi, [ebp - 0x74]
call fcn.0040115f
push ebx
push edi
lea esi, [ebp - 0x3c]
call fcn.0040115f
push ebx
push edi
lea esi, [ebp - 0x58]
call fcn.0040115f
mov al, byte [ebp - 0xad]
jmp 0x401b8b
mov eax, dword [ebp - 0xb4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push edi
lea esi, [ebp - 0x20]
call fcn.0040115f
push ebx
push edi
lea esi, [ebp - 0x74]
call fcn.0040115f
push ebx
push edi
lea esi, [ebp - 0x3c]
call fcn.0040115f
push ebx
push edi
jmp 0x401b81
push ebx
push 1
lea esi, [ebp - 0x74]
call fcn.0040115f
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.0040115f
push ebx
push 1
lea esi, [ebp - 0x58]
call fcn.0040115f
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042f5f3
leave
ret 0x14