Function at 0x402416
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x44e4f8]
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 0x402911
cmp dword [edx + 0x14], ebx
je 0x402911
cmp eax, ebx
push 7
pop edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x54], bx
je 0x40248e
lea esi, [ebp - 0x58]
call fcn.00401357
jmp 0x4024a5
lea eax, [ebp - 0x58]
push eax
mov edi, ecx
call fcn.0040dc54
test al, al
pop ecx
je 0x402906
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.0040dc08
test al, al
pop ecx
je 0x4028f0
cmp dword [ebp - 0x60], ebx
je 0x4028f0
lea eax, [ebp - 0x3c]
push eax
call fcn.0040dc54
test al, al
pop ecx
je 0x4028f0
lea eax, [ebp - 0x3c]
push 0x20
push eax
call fcn.0040d8da
lea eax, [ebp - 0x3c]
push eax
call fcn.0040d19b
add esp, 0xc
test al, al
jne 0x40250f
lea ecx, [ebp - 0x3c]
call fcn.0040db77
lea eax, [ebp - 0x3c]
push eax
call fcn.0040d19b
test al, al
pop ecx
je 0x4028f0
lea eax, [ebp - 0x3c]
push eax
call fcn.0040d265
test al, al
pop ecx
je 0x4028f0
call fcn.0040d9b4
lea esi, [ebp - 0x3c]
push eax
call fcn.00402e76
mov eax, esi
lea esi, [ebp - 0x20]
call fcn.00401ac5
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x74]
call fcn.0040205a
lea eax, [ebp - 0xb4]
push eax
push 0x44134c
xor edi, edi
inc edi
push edi
push ebx
push 0x44135c
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xc4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4028ce
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
je 0x4028ce
mov ecx, dword [eax]
lea edx, [ebp - 0xc4]
push edx
push 0x44136c
push eax
call dword [ecx]
test eax, eax
jl 0x4028c2
cmp dword [ebp - 0xc4], ebx
je 0x4028c2
mov edi, dword [ebp - 0xbc]
cmp dword [edi + 0x18], 8
jb 0x4025cc
add edi, 4
mov eax, dword [edi]
jmp 0x4025d1
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 0x4025ea
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 0x40261f
push esi
call fcn.0040d1fe
test al, al
pop ecx
je 0x40261f
cmp dword [esi + 0x18], 8
jb 0x402618
mov esi, dword [esi + 4]
jmp 0x40261b
add esi, 4
push ebx
push esi
jmp 0x40262f
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x18], 8
jb 0x40262d
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 0x40264c
mov eax, dword [eax + 4]
jmp 0x40264f
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 0x40266d
mov eax, dword [eax + 4]
jmp 0x402670
add eax, 4
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov eax, 0x442e14
lea ecx, [ebp - 0xac]
call fcn.0040118b
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc8], 0x2e
call fcn.00402ec1
or esi, 0xffffffff
cmp eax, esi
push esi
jne 0x4026bf
push ebx
lea eax, [ebp - 0xac]
lea esi, [ebp - 0x20]
call fcn.0040205a
jmp 0x402718
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.00401708
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x90]
call fcn.0040c6cf
test al, al
jne 0x402707
push esi
push 0
lea eax, [ebp - 0xac]
lea esi, [ebp - 0x20]
call fcn.0040205a
push 0
push 1
lea esi, [ebp - 0x90]
call fcn.00401471
xor ebx, ebx
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0xb5], bl
call fcn.0040d19b
xor edi, edi
inc edi
test al, al
pop ecx
je 0x40282a
lea eax, [ebp - 0xbc]
push eax
push 0x44134c
push edi
push ebx
push 0x44135c
mov byte [ebp - 0xad], bl
mov dword [ebp - 0xbc], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4027e6
mov eax, dword [ebp - 0xbc]
cmp eax, ebx
je 0x4027e6
lea edx, [ebp - 0xc0]
push edx
push 0x44136c
mov dword [ebp - 0xc0], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x4027cc
mov ecx, dword [ebp - 0xc0]
cmp ecx, ebx
je 0x4027cc
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x40279b
lea eax, [ebp - 0x1c]
mov edx, dword [ecx]
push 0x30
push eax
push ecx
call dword [edx + 0x14]
test eax, eax
jl 0x4027c0
push dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb4]
call fcn.00402afc
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 0x402823
mov eax, dword [ebp - 0xcc]
cmp byte [eax], bl
jne 0x40282a
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x4027fc
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x90]
call fcn.0040118b
lea eax, [ebp - 0x90]
push eax
call fcn.0040db7c
pop ecx
push ebx
push edi
lea esi, [ebp - 0x90]
call fcn.00401471
jmp 0x40282a
mov byte [ebp - 0xb5], 1
cmp byte [ebp - 0xb5], bl
mov byte [ebp - 0xad], 1
jne 0x40286d
mov esi, dword [ebp - 0xcc]
cmp byte [esi], bl
jne 0x402869
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
jae 0x40284f
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.00401471
push ebx
push edi
lea esi, [ebp - 0x20]
call fcn.00401471
push ebx
push edi
lea esi, [ebp - 0x74]
call fcn.00401471
push ebx
push edi
lea esi, [ebp - 0x3c]
call fcn.00401471
push ebx
push edi
lea esi, [ebp - 0x58]
call fcn.00401471
mov al, byte [ebp - 0xad]
jmp 0x402913
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.00401471
push ebx
push edi
lea esi, [ebp - 0x74]
call fcn.00401471
push ebx
push edi
lea esi, [ebp - 0x3c]
call fcn.00401471
push ebx
push edi
jmp 0x402909
push ebx
push 1
lea esi, [ebp - 0x74]
call fcn.00401471
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401471
push ebx
push 1
lea esi, [ebp - 0x58]
call fcn.00401471
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043223b
leave
ret 0x14