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

Disassembly:
push 0xffffffffffffffff
push 0x465800
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48bb84]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov edi, dword [esp + 0x130]
mov dword [esp + 0xf8], 3
cmp edi, 7
jne 0x4059cb
push 0x46dc24
mov ecx, 0x48d374
call fcn.00425360
test al, al
jne 0x406228
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jl 0x406228
lea eax, [esp + 0x14]
push eax
push 0x47ac10
push 1
push 0
push 0x47ac80
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x406222
push 0x46df54
lea ecx, [esp + 0x4c]
call fcn.00425100
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x46df4c
mov byte [esp + 0x10c], 4
call fcn.00425100
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x120]
mov byte [esp + 0x10c], 5
call fcn.00425440
mov byte [esp + 0x108], 6
mov ecx, eax
mov byte [esp + 0x108], 7
call fcn.004254c0
cmp eax, 1
lea ecx, [esp + 0x1c]
setne bl
mov byte [esp + 0xf8], 4
call fcn.004252d0
test bl, bl
je 0x405b05
sub esp, 0xc
lea edx, [esp + 0x118]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00425170
lea esi, [esp + 0x28]
call fcn.00416820
add esp, 0xc
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xfc], 8
call fcn.004252e0
mov ecx, esi
mov byte [esp + 0xf8], 4
call fcn.004252d0
lea ecx, [esp + 0x48]
call fcn.004251e0
cmp eax, 3
jle 0x405b05
lea ecx, [esp + 0x48]
call fcn.004251e0
dec eax
push eax
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x54]
call fcn.004254f0
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0xfc], 9
call fcn.004252e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], 4
call fcn.004252d0
push 0x46dc24
lea ecx, [esp + 0x11c]
call fcn.004253c0
test al, al
je 0x405b2e
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x11c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x110]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x104]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x3c]
push 5
push eax
call edx
push 0x46dc24
lea ecx, [esp + 0x128]
call fcn.004253c0
test al, al
je 0x405ba0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x128]
mov ecx, dword [eax]
push 0
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x44]
push edx
push 0x47ac40
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x406205
lea ecx, [esp + 0x28]
call fcn.00425260
lea eax, [edi - 4]
mov byte [esp + 0xf8], 0xa
cmp eax, 5
ja case.0x405bda.5
jmp dword [eax*4 + 0x406298]
push 0x46dc24
mov ecx, 0x48d374
call fcn.00425360
test al, al
je 0x405c07
push 0x46dc24
lea ecx, [esp + 0x2c]
call fcn.00425300
jmp case.0x405bda.5
sub esp, 0xc
lea edx, [esp + 0x10c]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00425170
lea esi, [esp + 0x6c]
call fcn.00416820
add esp, 0xc
lea eax, [esp + 0x100]
push eax
push 0x48d374
lea ecx, [esp + 0x98]
mov bl, 0xb
push ecx
mov byte [esp + 0x104], bl
call fcn.0040bd50
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0xc
call fcn.004252e0
lea ecx, [esp + 0x90]
mov byte [esp + 0xf8], bl
call fcn.004252d0
push 0x46dc24
mov ecx, esi
call fcn.004253c0
test al, al
je 0x405cdd
mov ecx, esi
call fcn.004251e0
dec eax
push eax
push 1
lea edx, [esp + 0xbc]
push edx
mov ecx, esi
call fcn.004254f0
push eax
mov ecx, esi
mov byte [esp + 0xfc], 0xd
call fcn.004252e0
lea ecx, [esp + 0xb4]
mov byte [esp + 0xf8], bl
call fcn.004252d0
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x24], esp
mov ecx, esi
push ecx
push 0x48d374
push eax
call fcn.0040bd50
call fcn.004045d0
add esp, 0xc
lea ecx, [esp + 0x60]
jmp 0x405edd
push 0x46dd70
lea ecx, [esp + 0x3c]
call fcn.00425100
lea edx, [esp + 0xa8]
push 4
push edx
mov byte [esp + 0x100], 0xe
call fcn.00424800
add esp, 8
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0xec]
push edx
mov byte [esp + 0x104], 0xf
call fcn.0040bd50
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
lea edx, [esp + 0x10c]
push edx
push eax
mov bl, 0x10
push ecx
mov byte [esp + 0x110], bl
call fcn.0040bd50
lea eax, [esp + 0xd8]
push eax
call fcn.00404d70
add esp, 0x10
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0x11
call fcn.004252e0
lea ecx, [esp + 0xcc]
mov byte [esp + 0xf8], bl
call fcn.004252d0
lea ecx, [esp + 0xe4]
mov byte [esp + 0xf8], 0xf
call fcn.004252d0
lea ecx, [esp + 0xa8]
mov byte [esp + 0xf8], 0xe
call fcn.004252d0
lea ecx, [esp + 0x38]
jmp 0x405edd
push 0x46dd70
lea ecx, [esp + 0x20]
call fcn.00425100
lea ecx, [esp + 0x9c]
push 8
push ecx
mov byte [esp + 0x100], 0x12
call fcn.00424800
add esp, 8
lea edx, [esp + 0x1c]
push edx
push eax
lea eax, [esp + 0xc8]
push eax
mov byte [esp + 0x104], 0x13
call fcn.0040bd50
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
lea edx, [esp + 0x10c]
push edx
push eax
mov bl, 0x14
push ecx
mov byte [esp + 0x110], bl
call fcn.0040bd50
lea eax, [esp + 0xe4]
push eax
call fcn.00404d70
add esp, 0x10
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0x15
call fcn.004252e0
lea ecx, [esp + 0xd8]
mov byte [esp + 0xf8], bl
call fcn.004252d0
lea ecx, [esp + 0xc0]
mov byte [esp + 0xf8], 0x13
call fcn.004252d0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xf8], 0x12
call fcn.004252d0
lea ecx, [esp + 0x1c]
jmp 0x405edd
cmp byte [esp + 0x134], 0
je 0x405eb0
lea ecx, [esp + 0x100]
push ecx
push 0x48e9b8
lea edx, [esp + 0x78]
push edx
call fcn.0040bd50
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0x16
call fcn.004252e0
lea ecx, [esp + 0x70]
jmp 0x405edd
lea eax, [esp + 0x100]
push eax
push 0x48e9c4
lea ecx, [esp + 0x5c]
push ecx
call fcn.0040bd50
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0x17
call fcn.004252e0
lea ecx, [esp + 0x54]
mov byte [esp + 0xf8], 0xa
call fcn.004252d0
lea edx, [esp + 0x80]
push edx
call fcn.004383a3
mov bl, 0x18
push 0x46df44
lea ecx, [esp + 0x20]
mov byte [esp + 0xfc], bl
call fcn.00425100
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x104], 0x19
call fcn.0040bd50
mov eax, dword [eax + 4]
xor ecx, ecx
mov word [esp + 0x70], cx
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xfc], 0x1a
call fcn.004389f2
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0xfc], 0x1b
call fcn.0043837f
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x70]
push eax
call ebp
lea ecx, [esp + 0x54]
mov byte [esp + 0xf8], 0x19
call fcn.004252d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], bl
call fcn.004252d0
push 0
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x46df40
call fcn.00425100
lea ecx, [esp + 0x38]
call fcn.004254c0
test eax, eax
jle 0x406090
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x46dc24
call fcn.00425100
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x84], esp
push 0x46df40
mov byte [esp + 0x114], 0x1c
call fcn.00425100
sub esp, 0xc
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x58], esp
push edx
mov byte [esp + 0x120], 0x1d
call fcn.00425170
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0x120], bl
call fcn.00403060
add esp, 0x28
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0x1e
call fcn.004252e0
lea ecx, [esp + 0x54]
mov byte [esp + 0xf8], bl
call fcn.004252d0
push 0x46df38
lea ecx, [esp + 0x20]
call fcn.00425100
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x104], 0x1f
call fcn.0040bd50
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], 0x21
call fcn.004252d0
mov ecx, dword [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x38]
mov byte [esp + 0xf8], bl
call fcn.004252d0
jmp 0x4061de
push 0x46dc24
lea ecx, [esp + 0x2c]
call fcn.004253c0
test al, al
je 0x4061de
cmp byte [esp + 0x138], 0
je 0x40617f
mov edi, dword [esp + 0x140]
test edi, edi
je 0x40617f
push 0x46df44
lea ecx, [esp + 0x3c]
call fcn.00425100
push 0x46df2c
lea ecx, [esp + 0x20]
mov byte [esp + 0xfc], 0x22
call fcn.00425100
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x40], esp
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
mov byte [esp + 0x110], 0x23
call fcn.0040bd50
mov ecx, dword [esp + 0x148]
lea esi, [esp + 0x60]
mov byte [esp + 0x104], 0x24
call fcn.00402f70
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x84], esp
push eax
lea eax, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x11c], 0x25
call fcn.0040bd50
mov ecx, edi
mov byte [esp + 0x110], 0x26
call fcn.00422190
mov ecx, esi
mov byte [esp + 0xf8], 0x23
call fcn.004252d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], 0x22
call fcn.004252d0
lea ecx, [esp + 0x38]
mov byte [esp + 0xf8], bl
call fcn.004252d0
push 0x46df44
lea ecx, [esp + 0x20]
call fcn.00425100
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x40], esp
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x38]
push eax
push ecx
mov byte [esp + 0x110], 0x27
call fcn.0040bd50
mov ecx, 0x48e86c
call fcn.00425720
lea ecx, [esp + 0x1c]
mov byte [esp + 0xf8], bl
call fcn.004252d0
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x88]
mov ecx, dword [eax]
push 1
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x80]
push eax
call ebp
lea ecx, [esp + 0x28]
mov byte [esp + 0xf8], 4
call fcn.004252d0
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xf8], 3
call fcn.004252d0
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x100]
mov byte [esp + 0xf8], 2
call fcn.004252d0
lea ecx, [esp + 0x10c]
mov byte [esp + 0xf8], 1
call fcn.004252d0
lea ecx, [esp + 0x118]
mov byte [esp + 0xf8], 0
call fcn.004252d0
lea ecx, [esp + 0x124]
mov dword [esp + 0xf8], 0xffffffff
call fcn.004252d0
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret