Function at 0x40b240
Capabilities:
Create shortcut via ishelllink
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x52c731
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x56fcac]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56fcac]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov edx, dword [esp + 0x110]
mov ebp, dword [esp + 0x100]
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x108]
mov esi, dword [esp + 0x10c]
xor ebx, ebx
cmp dword [ebp + 0x14], ebx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x118]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
je 0x40b724
cmp dword [esi + 0x14], ebx
je 0x40b724
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
cmp edx, ebx
mov dword [esp + 0xf8], ebx
je 0x40b302
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b2e6
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x68]
call fcn.00402af0
jmp 0x40b315
lea edi, [esp + 0x60]
mov edx, ebp
call fcn.0043dd30
test al, al
je 0x40b71b
mov eax, 7
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
lea edi, [esp + 0x44]
mov edx, esi
mov byte [esp + 0xf8], 2
call fcn.0043dc90
test al, al
jne 0x40b3b1
mov edi, 8
cmp dword [esp + 0x5c], edi
jb 0x40b363
mov eax, dword [esp + 0x48]
push eax
call fcn.004aaa59
add esp, 4
cmp dword [esp + 0x40], edi
mov esi, 7
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
jb 0x40b388
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004aaa59
add esp, 4
cmp dword [esp + 0x78], edi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
jb 0x40b724
mov edx, dword [esp + 0x64]
push edx
call fcn.004aaa59
add esp, 4
jmp 0x40b724
cmp dword [esp + 0x58], ebx
je 0x40b709
lea edi, [esp + 0x28]
mov edx, esi
call fcn.0043dd30
test al, al
je 0x40b709
push 0x20
mov ecx, edi
call fcn.00408a40
mov eax, edi
add esp, 4
push eax
call fcn.00406720
add esp, 4
test al, al
jne 0x40b3ee
call fcn.00407570
lea ecx, [esp + 0x28]
push ecx
call fcn.00406720
add esp, 4
test al, al
je 0x40b709
lea edx, [esp + 0x28]
push edx
call fcn.004069c0
add esp, 4
test al, al
je 0x40b709
push 0x5c
lea esi, [esp + 0x2c]
call fcn.004081b0
mov eax, esi
push eax
lea ecx, [esp + 0x80]
call fcn.004032e0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x88]
mov byte [esp + 0x104], 3
call fcn.004083d0
lea edx, [esp + 0x14]
push edx
push 0x543d00
push 1
push ebx
push 0x543fe0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40b700
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x40b700
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x544640
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x40b6f4
cmp dword [esp + 0x18], ebx
je 0x40b6f4
mov edi, 8
cmp dword [ebp + 0x18], edi
lea esi, [ebp + 4]
jb 0x40b4b6
mov eax, dword [esi]
jmp 0x40b4b8
mov eax, esi
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
push ecx
call eax
cmp dword [esp + 0x78], edi
mov ecx, dword [esp + 0x64]
jae 0x40b4d3
lea ecx, [esp + 0x64]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x14], ebx
je 0x40b50a
cmp dword [eax + 0x18], edi
jb 0x40b4fc
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push ebx
push eax
push ecx
jmp 0x40b525
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push ebx
add eax, 4
push eax
push ecx
jmp 0x40b525
mov ecx, dword [esp + 0x114]
cmp ecx, ebx
jl 0x40b52a
cmp dword [ebp + 0x18], edi
jb 0x40b51c
mov esi, dword [esi]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push esi
push eax
mov eax, dword [edx + 0x44]
call eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x18], edi
jb 0x40b538
mov ecx, dword [ecx + 4]
jmp 0x40b53b
add ecx, 4
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x18], edi
jb 0x40b556
mov ecx, dword [ecx + 4]
jmp 0x40b559
add ecx, 4
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
push str..lnk
lea ecx, [esp + 0x9c]
call fcn.00401e30
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
mov bl, 4
push ecx
mov byte [esp + 0x104], bl
lea ecx, [esp + 0x88]
mov dword [esp + 0x28], 0x2e
call fcn.00408250
cmp eax, 0xffffffff
push 0xffffffffffffffff
lea ecx, [esp + 0x80]
jne 0x40b5bc
push 0
lea edx, [esp + 0xa0]
push edx
call fcn.004083d0
jmp 0x40b619
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.00405a40
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0xd4]
push edx
mov byte [esp + 0x100], 5
call fcn.004048a0
add esp, 8
test eax, eax
je 0x40b606
push 0xffffffffffffffff
push 0
lea eax, [esp + 0xa0]
push eax
lea ecx, [esp + 0x88]
call fcn.004083d0
lea ecx, [esp + 0xd0]
mov byte [esp + 0xf8], bl
call fcn.00401e70
cmp byte [esp + 0x11c], 0
je 0x40b652
lea ecx, [esp + 0x7c]
push ecx
call fcn.00406720
add esp, 4
test al, al
je 0x40b652
cmp dword [esp + 0x94], edi
mov eax, dword [esp + 0x80]
jae 0x40b64b
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x7c]
push edx
lea esi, [esp + 0xb8]
xor bl, bl
call fcn.0043f330
add esp, 4
mov byte [esp + 0xf8], 6
cmp dword [esp + 0xcc], edi
mov ecx, dword [esp + 0xb8]
jae 0x40b687
lea ecx, [esp + 0xb8]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push 1
push ecx
push eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
jl 0x40b69c
mov bl, 1
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0xb4]
call fcn.00401e70
lea ecx, [esp + 0x98]
call fcn.00401e70
lea ecx, [esp + 0x7c]
call fcn.00401e70
lea ecx, [esp + 0x44]
call fcn.00401e70
lea ecx, [esp + 0x28]
call fcn.00401e70
lea ecx, [esp + 0x60]
call fcn.00401e70
mov al, bl
jmp 0x40b726
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x7c]
call fcn.00401e70
lea ecx, [esp + 0x44]
call fcn.00401e70
lea ecx, [esp + 0x28]
call fcn.00401e70
lea ecx, [esp + 0x60]
call fcn.00401e70
xor al, al
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.004ead41
add esp, 0xe8
ret 0x20