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

Disassembly:
push 0xffffffffffffffff
push 0x100449d6
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x10054020]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10054020]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe8]
mov edi, dword [esp + 0xe4]
mov ebp, dword [esp + 0xec]
mov dword [esp + 0x24], eax
xor eax, eax
cmp dword [edi + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
je 0x10031f41
cmp dword [ebp + 0x14], eax
je 0x10031f41
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], eax
mov word [esp + 0x64], ax
lea esi, [esp + 0x60]
mov ebx, edi
mov dword [esp + 0xdc], eax
call fcn.100255d0
test al, al
je 0x10031f38
xor eax, eax
mov esi, 7
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], eax
mov word [esp + 0x2c], ax
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
lea ecx, [esp + 0x44]
mov ebx, ebp
mov byte [esp + 0xdc], 2
call fcn.10025530
test al, al
jne 0x10031c06
mov ebp, 8
cmp dword [esp + 0x5c], ebp
jb 0x10031bbb
mov eax, dword [esp + 0x48]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
cmp dword [esp + 0x40], ebp
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], edi
mov word [esp + 0x48], di
jb 0x10031bdd
mov ecx, dword [esp + 0x2c]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x78], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
jb 0x10031f41
mov edx, dword [esp + 0x64]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x10031f41
cmp dword [esp + 0x58], 0
je 0x10031f26
lea esi, [esp + 0x28]
mov ebx, ebp
call fcn.100255d0
test al, al
je 0x10031f26
push 0x20
mov ecx, esi
call fcn.10024150
mov eax, esi
add esp, 4
push eax
call fcn.10024720
add esp, 4
test al, al
jne 0x10031c46
mov ebx, esi
call fcn.10024ed0
lea ecx, [esp + 0x28]
push ecx
call fcn.10024720
add esp, 4
test al, al
je 0x10031f26
lea edx, [esp + 0x28]
push edx
call fcn.100248c0
add esp, 4
test al, al
je 0x10031f26
push 0x5c
lea esi, [esp + 0x2c]
call fcn.10021f90
mov eax, esi
push eax
lea esi, [esp + 0x80]
call fcn.10001f00
xor ebx, ebx
push ebx
lea ecx, [esp + 0x48]
push ecx
or eax, 0xffffffff
mov byte [esp + 0xe4], 3
call fcn.100023d0
lea edx, [esp + 0x14]
push edx
push 0x100474ac
push 1
push ebx
push 0x100474dc
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10031f1d
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10031f1d
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x100474cc
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x10031f11
cmp dword [esp + 0x18], ebx
je 0x10031f11
mov ebp, 8
cmp dword [edi + 0x18], ebp
lea esi, [edi + 4]
jb 0x10031d0a
mov eax, dword [esi]
jmp 0x10031d0c
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], ebp
mov ecx, dword [esp + 0x64]
jae 0x10031d27
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 0x10031d5e
cmp dword [eax + 0x18], ebp
jb 0x10031d50
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push ebx
push eax
push ecx
jmp 0x10031d79
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push ebx
add eax, 4
push eax
push ecx
jmp 0x10031d79
mov ecx, dword [esp + 0xf0]
cmp ecx, ebx
jl 0x10031d7e
cmp dword [edi + 0x18], ebp
jb 0x10031d70
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 eax, dword [esp + 0x24]
cmp dword [eax + 0x18], ebp
jb 0x10031d8c
mov ecx, dword [eax + 4]
jmp 0x10031d8f
lea ecx, [eax + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], ebp
jb 0x10031daa
mov ecx, dword [eax + 4]
jmp 0x10031dad
lea ecx, [eax + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov edx, str..lnk
lea eax, [esp + 0x98]
call fcn.10001ec0
mov byte [esp + 0xdc], 4
lea edi, [esp + 0x1c]
lea ebx, [esp + 0x7c]
mov dword [esp + 0x1c], 0x2e
call fcn.1000ab40
cmp eax, 0xffffffff
jne 0x10031e02
push 0
lea ecx, [esp + 0x9c]
push ecx
or eax, eax
mov esi, ebx
call fcn.100023d0
jmp 0x10031e61
push 0xffffffffffffffff
lea edx, [esp + 0x80]
push edx
mov ecx, eax
lea esi, [esp + 0xbc]
call fcn.10002070
lea eax, [esp + 0x98]
mov ecx, esi
mov byte [esp + 0xdc], 5
call fcn.10022660
test al, al
jne 0x10031e4d
push 0
lea eax, [esp + 0x9c]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x84]
call fcn.100023d0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xdc], 4
call fcn.10001f30
cmp byte [esp + 0xf4], 0
je 0x10031e9a
lea ecx, [esp + 0x7c]
push ecx
call fcn.10024720
add esp, 4
test al, al
je 0x10031e9a
cmp dword [esp + 0x94], ebp
mov eax, dword [esp + 0x80]
jae 0x10031e93
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x94], ebp
mov ecx, dword [esp + 0x80]
jae 0x10031eb1
lea ecx, [esp + 0x80]
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
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
sete bl
call edx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x98]
call fcn.10001f30
lea ecx, [esp + 0x7c]
call fcn.10001f30
lea ecx, [esp + 0x44]
call fcn.10001f30
lea ecx, [esp + 0x28]
call fcn.10001f30
lea ecx, [esp + 0x60]
call fcn.10001f30
mov al, bl
jmp 0x10031f43
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x7c]
call fcn.10001f30
lea ecx, [esp + 0x44]
call fcn.10001f30
lea ecx, [esp + 0x28]
call fcn.10001f30
lea ecx, [esp + 0x60]
call fcn.10001f30
xor al, al
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.1003ec9d
add esp, 0xcc
ret 0x14