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

Disassembly:
push 0xffffffffffffffff
push 0x4453b0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push ebp
push esi
mov eax, dword [0x459930]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
push 0x44ba54
xor ebx, ebx
push 1
push ebx
mov dword [esp + 0x4c], 1
push 0x44ba64
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
je 0x4021e7
mov byte [esp + 0x3c], bl
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 0x4021a8
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 0x4021d0
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 + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x44ba94
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
jne 0x40256c
call fcn.0040fb6f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40221e
push 0x80004005
call fcn.004049d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov ecx, 0xb
lea esi, [esp + 0x28]
mov byte [esp + 0x3c], 2
call fcn.00409280
call fcn.0040fb6f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40225b
push 0x80004005
call fcn.004049d0
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], 3
call fcn.0040fb6f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40228a
push 0x80004005
call fcn.004049d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x3c], 4
call fcn.0040fb6f
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4022b9
push 0x80004005
call fcn.004049d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x3c], 5
mov esi, dword [esp + 0x28]
push 0x44c5b8
push esi
lea ecx, [esp + 0x28]
push 0x44c624
push ecx
call fcn.00404600
mov ebp, dword [esp + 0x30]
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [esp + 0x34], esp
mov ebx, esp
push eax
mov dword [esp + 0x34], eax
call fcn.00404850
add eax, 0x10
add esp, 4
mov dword [ebx], eax
call fcn.00409320
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 4
test eax, eax
jne 0x402320
push 0
push ebp
call ebx
push 0x44c410
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00403870
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 6
call fcn.00404750
mov byte [esp + 0x3c], 5
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40236b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 4
push 0x44c5b8
lea ecx, [esp + 0x2c]
call fcn.00403c20
mov ebp, dword [esp + 0x24]
push 0
push ebp
call ebx
mov eax, dword [esp + 0x14]
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 0x44c5b8
push 0x44c5b8
push esi
lea edx, [esp + 0x28]
push 0x44c638
push edx
call fcn.00404600
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 ebx, esp
push esi
call fcn.00404850
add esp, 4
add eax, 0x10
push edi
mov dword [ebx], eax
call fcn.004034f0
push 4
push ecx
add ebp, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebx, esp
push ebp
call fcn.00404850
add esp, 4
add eax, 0x10
push edi
mov dword [ebx], eax
call fcn.004034f0
mov eax, dword [esp + 0x2c]
push 4
push ecx
mov dword [esp + 0x38], esp
mov ebx, esp
push eax
call fcn.00404850
add esp, 4
add eax, 0x10
push edi
mov dword [ebx], eax
call fcn.004034f0
cmp dword [esp + 0x4c], 0
je 0x4024e6
call fcn.0040fb6f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402450
push 0x80004005
call fcn.004049d0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x4c], eax
xor ecx, ecx
lea esi, [esp + 0x4c]
mov byte [esp + 0x3c], 7
call fcn.00409280
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
push ecx
push ebx
lea edx, [esp + 0x20]
push 0x44c658
push edx
call fcn.00404600
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.00404850
mov ecx, dword [esp + 0x3c]
add esp, 4
add eax, 0x10
push edi
mov dword [ecx], eax
call fcn.004034f0
lea eax, [ebx - 0x10]
mov byte [esp + 0x3c], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4024e6
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 0x402504
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov byte [esp + 0x3c], 3
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x402523
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
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 0x402545
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 + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402578
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x402578
mov eax, dword [esp + 0x14]
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 + 0x14]
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 0x4025b5
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 0x4025dd
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