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

Disassembly:
push 0xffffffffffffffff
push 0x427f71
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x430240]
xor eax, esp
mov dword [esp + 0xdc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x430240]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x108]
mov edi, dword [esp + 0x104]
mov ebp, dword [esp + 0x10c]
mov dword [esp + 0x28], eax
xor eax, eax
cmp dword [edi + 0x14], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
je 0x40ea8e
cmp dword [ebp + 0x14], eax
je 0x40ea8e
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], eax
mov word [esp + 0x68], ax
lea esi, [esp + 0x64]
mov ebx, edi
mov dword [esp + 0xfc], eax
call fcn.004116a0
test al, al
je 0x40ea85
xor eax, eax
mov esi, 7
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], eax
mov word [esp + 0x30], ax
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
lea ecx, [esp + 0x48]
mov ebx, ebp
mov byte [esp + 0xfc], 2
call fcn.00411600
test al, al
jne 0x40e726
mov ebp, 8
cmp dword [esp + 0x60], ebp
jb 0x40e6db
mov eax, dword [esp + 0x4c]
push eax
call fcn.00413bbf
add esp, 4
xor edi, edi
cmp dword [esp + 0x44], ebp
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], edi
mov word [esp + 0x4c], di
jb 0x40e6fd
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00413bbf
add esp, 4
cmp dword [esp + 0x7c], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
mov word [esp + 0x30], di
jb 0x40ea8e
mov edx, dword [esp + 0x68]
push edx
call fcn.00413bbf
add esp, 4
jmp 0x40ea8e
cmp dword [esp + 0x5c], 0
je 0x40ea73
lea esi, [esp + 0x2c]
mov ebx, ebp
call fcn.004116a0
test al, al
je 0x40ea73
push 0x20
mov ecx, esi
call fcn.004087c0
mov eax, esi
add esp, 4
push eax
call fcn.0040eac0
add esp, 4
test al, al
jne 0x40e766
mov ebx, esi
call fcn.0040ecb0
lea ecx, [esp + 0x2c]
push ecx
call fcn.0040eac0
add esp, 4
test al, al
je 0x40ea73
lea edx, [esp + 0x2c]
push edx
call fcn.0040eb90
add esp, 4
test al, al
je 0x40ea73
push 0x5c
lea esi, [esp + 0x30]
call fcn.00408d00
mov eax, esi
push eax
lea esi, [esp + 0x84]
call fcn.00402db0
xor ebx, ebx
push ebx
lea ecx, [esp + 0x4c]
push ecx
or eax, 0xffffffff
mov byte [esp + 0x104], 3
call fcn.00402ec0
lea edx, [esp + 0x18]
push edx
push 0x4294d4
push 1
push ebx
push 0x4294e4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x40ea67
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40ea67
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x4294f4
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jl 0x40ea5b
cmp dword [esp + 0x1c], ebx
je 0x40ea5b
mov ebp, 8
cmp dword [edi + 0x18], ebp
lea esi, [edi + 4]
jb 0x40e82a
mov eax, dword [esi]
jmp 0x40e82c
mov eax, esi
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x50]
push ecx
call eax
cmp dword [esp + 0x7c], ebp
mov ecx, dword [esp + 0x68]
jae 0x40e847
lea ecx, [esp + 0x68]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x24]
call eax
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x14], ebx
je 0x40e888
cmp dword [eax + 0x18], ebp
jb 0x40e875
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
push ebx
push eax
mov eax, dword [edx + 0x44]
push ecx
call eax
jmp 0x40e89d
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
add eax, 4
push ebx
push eax
mov eax, dword [edx + 0x44]
push ecx
call eax
jmp 0x40e89d
cmp dword [edi + 0x18], ebp
jb 0x40e88f
mov esi, dword [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x44]
push ebx
push esi
push eax
call edx
mov eax, dword [esp + 0x28]
cmp dword [eax + 0x18], ebp
jb 0x40e8ab
mov ecx, dword [eax + 4]
jmp 0x40e8ae
lea ecx, [eax + 4]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x2c]
call eax
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x18], ebp
jb 0x40e8c9
mov ecx, dword [eax + 4]
jmp 0x40e8cc
lea ecx, [eax + 4]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
mov edx, 0x42c0d8
lea eax, [esp + 0x9c]
call fcn.00402d70
mov byte [esp + 0xfc], 4
lea edi, [esp + 0x20]
lea ebx, [esp + 0x80]
mov dword [esp + 0x20], 0x2e
call fcn.00406fa0
cmp eax, 0xffffffff
jne 0x40e924
push 0
lea ecx, [esp + 0xa0]
push ecx
or eax, eax
mov esi, ebx
call fcn.00402ec0
jmp 0x40e981
push 0xffffffffffffffff
lea edx, [esp + 0x84]
push edx
mov ecx, eax
lea esi, [esp + 0xdc]
call fcn.00404d10
lea eax, [esp + 0x9c]
mov byte [esp + 0xfc], 5
call fcn.00405020
test eax, eax
je 0x40e96d
push 0
lea eax, [esp + 0xa0]
push eax
or eax, 0xffffffff
lea esi, [esp + 0x88]
call fcn.00402ec0
lea esi, [esp + 0xd4]
mov byte [esp + 0xfc], 4
call fcn.00404b40
lea ecx, [esp + 0x80]
push ecx
call fcn.0040eac0
add esp, 4
test al, al
je 0x40e9b3
cmp dword [esp + 0x98], ebp
mov eax, dword [esp + 0x84]
jae 0x40e9ac
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x80]
push edx
lea esi, [esp + 0xbc]
xor bl, bl
call fcn.0040d230
add esp, 4
mov byte [esp + 0xfc], 6
cmp dword [esp + 0xd0], ebp
mov ecx, dword [esp + 0xbc]
jae 0x40e9eb
lea ecx, [esp + 0xbc]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push 1
push ecx
push eax
mov eax, dword [edx + 0x18]
call eax
test eax, eax
jl 0x40ea00
mov bl, 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0xb8]
call fcn.00404b40
lea esi, [esp + 0x9c]
call fcn.00404b40
lea esi, [esp + 0x80]
call fcn.00404b40
lea esi, [esp + 0x48]
call fcn.00404b40
lea esi, [esp + 0x2c]
call fcn.00404b40
lea esi, [esp + 0x64]
call fcn.00404b40
mov al, bl
jmp 0x40ea90
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [esp + 0x80]
call fcn.00404b40
lea esi, [esp + 0x48]
call fcn.00404b40
lea esi, [esp + 0x2c]
call fcn.00404b40
lea esi, [esp + 0x64]
call fcn.00404b40
xor al, al
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xdc]
xor ecx, esp
call fcn.004138c3
add esp, 0xec
ret 0xc