Function at 0x402cf0
Capabilities:
Create directory
Create shortcut via ishelllink
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x446b10
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
mov eax, dword [0x45c970]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
lea eax, [esp + 0x10]
push eax
push 0x44daf4
xor ebp, ebp
push 1
push ebp
mov dword [esp + 0x4c], 1
push 0x44db04
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
je 0x402da8
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402d91
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x44db34
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebp
jne 0x40316f
call fcn.00410d21
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x402ddf
push 0x80004005
call fcn.004018a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
lea ecx, [esp + 0x20]
push ecx
push 0xb
mov byte [esp + 0x44], 2
push ebp
mov dword [esp + 0x2c], ebp
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x402e1d
lea ebx, [esp + 0x20]
lea esi, [esp + 0x24]
call fcn.0040a7a0
mov esi, dword [esp + 0x24]
xor ebp, ebp
call fcn.00410d21
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x402e37
push 0x80004005
call fcn.004018a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x3c], 3
call fcn.00410d21
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x402e66
push 0x80004005
call fcn.004018a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x3c], 4
call fcn.00410d21
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x402e95
push 0x80004005
call fcn.004018a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0x44e6a0
push esi
lea ecx, [esp + 0x1c]
push 0x44e724
push ecx
mov byte [esp + 0x4c], 5
call fcn.00401500
mov eax, dword [esp + 0x24]
add esp, 0xc
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov ebx, esp
push eax
mov dword [esp + 0x34], eax
call fcn.004018d0
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.0040a820
add esp, 4
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jne 0x402efc
mov edx, dword [esp + 0x14]
push 0
push edx
call ebp
push 0x44e4d4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.00404990
add esp, 0xc
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 6
call fcn.004017b0
mov byte [esp + 0x3c], 5
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x402f47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0xa
push 0x44e6a0
lea ecx, [esp + 0x28]
call fcn.00404ff0
mov ebx, dword [esp + 0x20]
push 0
push ebx
call ebp
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov ecx, dword [esp + 0x48]
push ecx
push 0x44e6a0
push 0x44e6a0
push esi
lea edx, [esp + 0x28]
push 0x44e738
push edx
call fcn.00401500
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
add esp, 0x18
push 1
push esi
push eax
call edx
push 3
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebp, esp
push esi
call fcn.004018d0
add esp, 4
add eax, 0x10
push edi
mov dword [ebp], eax
call fcn.00404610
push 4
push ecx
add ebx, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebp, esp
push ebx
mov dword [esp + 0x3c], ebx
call fcn.004018d0
add esp, 4
add eax, 0x10
push edi
mov dword [ebp], eax
call fcn.00404610
mov eax, dword [esp + 0x2c]
push 4
push ecx
mov dword [esp + 0x30], esp
mov ebp, esp
push eax
call fcn.004018d0
add esp, 4
add eax, 0x10
push edi
mov dword [ebp], eax
call fcn.00404610
cmp dword [esp + 0x4c], 0
je 0x4030ea
call fcn.00410d21
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403033
push 0x80004005
call fcn.004018a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x28], ebp
lea ecx, [esp + 0x4c]
push ecx
push 0
mov byte [esp + 0x44], 7
push 0
mov dword [esp + 0x58], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x403078
lea ebx, [esp + 0x4c]
lea esi, [esp + 0x28]
call fcn.0040a7a0
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x48]
push edx
push ebp
lea eax, [esp + 0x20]
push 0x44e758
push eax
call fcn.00401500
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x18]
add esp, 0x10
push 1
push esi
push eax
call edx
push 3
push ecx
mov dword [esp + 0x38], esp
add esi, 0xfffffff0
mov dword [esp + 0x38], esp
push esi
call fcn.004018d0
mov ecx, dword [esp + 0x3c]
add esp, 4
add eax, 0x10
push edi
mov dword [ecx], eax
call fcn.00404610
lea eax, [ebp - 0x10]
mov byte [esp + 0x3c], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4030ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 4
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403108
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x3c], 3
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x403126
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x3c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403148
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40317b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40317b
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4031b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4031e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0xc