Function at 0x40dcf0
Capabilities:
Create directory
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x513b68
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x549950]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x2c], 1
push edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x14]
push eax
push 0x521658
push 1
push edi
push 0x521858
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
je 0x40ddad
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push 0x5217e8
push eax
mov eax, dword [ecx]
call eax
cmp eax, edi
jne 0x40df70
call fcn.004c01dc
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40dde4
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ecx, 0xb
lea esi, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.0040c8c0
call fcn.004c01dc
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40de21
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x2c], 3
mov ebp, dword [esp + 0x1c]
push ebp
lea ecx, [esp + 0x14]
push 0x52c650
push ecx
call fcn.004039c0
mov edx, dword [esp + 0x1c]
add esp, 0xc
push edi
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov ecx, dword [esp + 0x38]
push ecx
push ebp
lea edx, [esp + 0x18]
push 0x52c668
push edx
call fcn.004039c0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
add esp, 0x10
push 1
push esi
push eax
call edx
cmp dword [esp + 0x3c], edi
je 0x40df2c
call fcn.004c01dc
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40deb9
push 0x80004005
call fcn.00401ff0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, 0x19
lea esi, [esp + 0x20]
mov byte [esp + 0x2c], 4
call fcn.0040c8c0
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
push ecx
push edi
lea edx, [esp + 0x18]
push 0x52c684
push edx
call fcn.004039c0
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
add esp, 0x10
push 1
push esi
push eax
call edx
lea eax, [edi - 0x10]
mov byte [esp + 0x2c], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df2c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x2c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df4d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40df7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40df7c
mov eax, dword [esp + 0x14]
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
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dfbf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dfe7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret