Function at 0x40240e
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x44f4e8]
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 0x402909
cmp dword [edx + 0x14], ebx
je 0x402909
cmp eax, ebx
push 7
pop edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
mov word [ebp - 0x54], bx
je 0x402486
lea esi, [ebp - 0x58]
call fcn.0040134f
jmp 0x40249d
lea eax, [ebp - 0x58]
push eax
mov edi, ecx
call fcn.0040dc86
test al, al
pop ecx
je 0x4028fe
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.0040dc3a
test al, al
pop ecx
je 0x4028e8
cmp dword [ebp - 0x60], ebx
je 0x4028e8
lea eax, [ebp - 0x3c]
push eax
call fcn.0040dc86
test al, al
pop ecx
je 0x4028e8
lea eax, [ebp - 0x3c]
push 0x20
push eax
call fcn.0040d09d
lea eax, [ebp - 0x3c]
push eax
call fcn.0040d3d3
add esp, 0xc
test al, al
jne 0x402507
lea ecx, [ebp - 0x3c]
call fcn.0040dba9
lea eax, [ebp - 0x3c]
push eax
call fcn.0040d3d3
test al, al
pop ecx
je 0x4028e8
lea eax, [ebp - 0x3c]
push eax
call fcn.0040d49d
test al, al
pop ecx
je 0x4028e8
call fcn.0040d177
lea esi, [ebp - 0x3c]
push eax
call fcn.00402e6e
mov eax, esi
lea esi, [ebp - 0x20]
call fcn.00401abd
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x74]
call fcn.00402052
lea eax, [ebp - 0xb4]
push eax
push 0x44234c
xor edi, edi
inc edi
push edi
push ebx
push 0x44236c
mov dword [ebp - 0xb4], ebx
mov dword [ebp - 0xc4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4028c6
mov eax, dword [ebp - 0xb4]
cmp eax, ebx
je 0x4028c6
mov ecx, dword [eax]
lea edx, [ebp - 0xc4]
push edx
push 0x44235c
push eax
call dword [ecx]
test eax, eax
jl 0x4028ba
cmp dword [ebp - 0xc4], ebx
je 0x4028ba
mov edi, dword [ebp - 0xbc]
cmp dword [edi + 0x18], 8
jb 0x4025c4
add edi, 4
mov eax, dword [edi]
jmp 0x4025c9
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 0x4025e2
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 0x402617
push esi
call fcn.0040d436
test al, al
pop ecx
je 0x402617
cmp dword [esi + 0x18], 8
jb 0x402610
mov esi, dword [esi + 4]
jmp 0x402613
add esi, 4
push ebx
push esi
jmp 0x402627
mov eax, dword [ebp - 0xbc]
cmp dword [eax + 0x18], 8
jb 0x402625
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 0x402644
mov eax, dword [eax + 4]
jmp 0x402647
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 0x402665
mov eax, dword [eax + 4]
jmp 0x402668
add eax, 4
mov ecx, dword [ebp - 0xb4]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov eax, 0x443e14
lea ecx, [ebp - 0xac]
call fcn.00401183
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc8], 0x2e
call fcn.00402eb9
or esi, 0xffffffff
cmp eax, esi
push esi
jne 0x4026b7
push ebx
lea eax, [ebp - 0xac]
lea esi, [ebp - 0x20]
call fcn.00402052
jmp 0x402710
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.00401700
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x90]
call fcn.0040c710
test al, al
jne 0x4026ff
push esi
push 0
lea eax, [ebp - 0xac]
lea esi, [ebp - 0x20]
call fcn.00402052
push 0
push 1
lea esi, [ebp - 0x90]
call fcn.00401469
xor ebx, ebx
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 0xb5], bl
call fcn.0040d3d3
xor edi, edi
inc edi
test al, al
pop ecx
je 0x402822
lea eax, [ebp - 0xbc]
push eax
push 0x44234c
push edi
push ebx
push 0x44236c
mov byte [ebp - 0xad], bl
mov dword [ebp - 0xbc], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x4027de
mov eax, dword [ebp - 0xbc]
cmp eax, ebx
je 0x4027de
lea edx, [ebp - 0xc0]
push edx
push 0x44235c
mov dword [ebp - 0xc0], ebx
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x4027c4
mov ecx, dword [ebp - 0xc0]
cmp ecx, ebx
je 0x4027c4
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x402793
lea eax, [ebp - 0x1c]
mov edx, dword [ecx]
push 0x30
push eax
push ecx
call dword [edx + 0x14]
test eax, eax
jl 0x4027b8
push dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb4]
call fcn.00402af4
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 0x40281b
mov eax, dword [ebp - 0xcc]
cmp byte [eax], bl
jne 0x402822
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x4027f4
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x90]
call fcn.00401183
lea eax, [ebp - 0x90]
push eax
call fcn.0040dbae
pop ecx
push ebx
push edi
lea esi, [ebp - 0x90]
call fcn.00401469
jmp 0x402822
mov byte [ebp - 0xb5], 1
cmp byte [ebp - 0xb5], bl
mov byte [ebp - 0xad], 1
jne 0x402865
mov esi, dword [ebp - 0xcc]
cmp byte [esi], bl
jne 0x402861
cmp dword [ebp - 8], 8
mov ecx, dword [ebp - 0x1c]
jae 0x402847
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.00401469
push ebx
push edi
lea esi, [ebp - 0x20]
call fcn.00401469
push ebx
push edi
lea esi, [ebp - 0x74]
call fcn.00401469
push ebx
push edi
lea esi, [ebp - 0x3c]
call fcn.00401469
push ebx
push edi
lea esi, [ebp - 0x58]
call fcn.00401469
mov al, byte [ebp - 0xad]
jmp 0x40290b
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.00401469
push ebx
push edi
lea esi, [ebp - 0x74]
call fcn.00401469
push ebx
push edi
lea esi, [ebp - 0x3c]
call fcn.00401469
push ebx
push edi
jmp 0x402901
push ebx
push 1
lea esi, [ebp - 0x74]
call fcn.00401469
push ebx
push 1
lea esi, [ebp - 0x3c]
call fcn.00401469
push ebx
push 1
lea esi, [ebp - 0x58]
call fcn.00401469
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004327cb
leave
ret 0x14