Function at 0x406f30
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x439b53
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x449f18]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x449f18]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], esi
push 1
mov dword [esp + 0x258], 1
call fcn.00415a5c
mov eax, dword [esp + 0x260]
add eax, 0xfffffff0
push eax
call fcn.004016c0
lea ebp, [eax + 0x10]
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x268]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x25c], 2
call fcn.004016c0
lea edi, [eax + 0x10]
add esp, 8
mov dword [esp + 0x28], edi
mov eax, dword [ebp - 0xc]
mov byte [esp + 0x254], 3
test eax, eax
je 0x4073d7
cmp dword [edi - 0xc], 0
je 0x4073d7
mov edi, dword [esp + 0x25c]
lea eax, [esp + 0x30]
push eax
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
cmp edi, 2
jne 0x4070e8
mov eax, dword [esi + 0x74c]
mov eax, dword [eax - 0xc]
lea ecx, [esi + 0x74c]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00401ff0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x254], 4
call fcn.004020c0
lea eax, [esp + 0x144]
push eax
push 0
push 0
push 0x8002
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea edi, [esp + 0x40]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x407050
mov cx, word [0x43cbd0]
mov ebx, dword [esp + 0x1c]
mov eax, ebx
mov word [edi], cx
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x407070
lea edi, [esp + 0x40]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x407080
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea edx, [esp + 0x40]
and ecx, 3
push 0
push edx
rep movsb byte es:[edi], byte [esi]
call fcn.00425138
add esp, 8
test eax, eax
je 0x4070c2
push ecx
lea eax, [esp + 0x44]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00402dd0
call fcn.004054e0
add esp, 4
lea eax, [ebx - 0x10]
mov byte [esp + 0x254], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407108
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x407108
cmp edi, 0x1a
jne 0x407108
lea edi, [esp + 0x40]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4070f2
mov ecx, 0xa
mov esi, 0x43d864
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [eax]
mov edx, dword [edx + 0x14]
push ecx
push eax
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea esi, [ebp - 0x10]
push esi
call fcn.004016c0
add eax, 0x10
add esp, 4
mov dword [esp + 0x20], eax
push 4
push 0x43d85c
lea ecx, [esp + 0x28]
mov byte [esp + 0x25c], 5
call fcn.00402930
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x18]
call fcn.00402dd0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
push eax
mov byte [esp + 0x258], 6
call fcn.004016c0
lea edi, [eax + 0x10]
add esp, 4
mov dword [esp + 0x34], edi
cmp dword [esp + 0x25c], 2
mov bl, 7
mov byte [esp + 0x254], bl
jne 0x40724f
push 0x43cbd0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00402a60
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x258], 8
call fcn.004017c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x254], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4071ef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00404da0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x258], 9
call fcn.004017c0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x254], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40723f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x24]
call fcn.004017c0
jmp 0x407267
mov edx, dword [esp + 0x14]
push edi
push edx
lea eax, [esp + 0x28]
push str._s_s
push eax
call fcn.004013b0
add esp, 0x10
xor ebp, ebp
push ebp
mov dword [esp + 0x28], ebp
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x24]
push ecx
push 0x441bf4
push 1
push ebp
push 0x441c14
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x40730e
mov eax, dword [esp + 0x24]
push dword [esp + 0x28]
mov dword [esp + 0x20], ebp
mov edx, dword [eax]
push eax
mov eax, dword [edx + 0x50]
call eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x441c04
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebp
jl 0x407302
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405f50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 1
push ecx
push eax
mov byte [esp + 0x260], 0xa
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x254], bl
call fcn.004012d0
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ecx, dword [esp + 0x38]
push ebp
call fcn.00415a5c
lea eax, [edi - 0x10]
mov byte [esp + 0x254], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40733c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x254], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x254], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40738c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x254], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4073b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x254], 1
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40742d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
jmp 0x40742d
push 0
push 0
push str.Please_enter_the_Menu_Item_and_File_name_correctly.
call fcn.0041a093
lea eax, [edi - 0x10]
mov byte [esp + 0x254], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407409
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x254], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40742d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x260]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x254], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407458
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x264]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x254], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407482
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.00423763
add esp, 0x244
ret 0xc