Function at 0x409c00
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xffffffffffffffff
push 0x4445fc
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x4571dc]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
push edi
mov eax, dword [0x4571dc]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x248]
push 0x44760c
lea ecx, [esp + 0x1c]
call fcn.004018a0
xor ebx, ebx
push 0x44760c
lea ecx, [esp + 0x14]
mov dword [esp + 0x244], ebx
call fcn.004018a0
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov byte [esp + 0x244], 1
call fcn.004080c0
cmp eax, ebx
jne 0x409cd9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x240], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409ca7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x240], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409cd2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x409ed6
push 0x20a
lea ecx, [esp + 0x2c]
push ebx
push ecx
call fcn.00428a10
add esp, 0xc
push 0x104
lea edx, [esp + 0x2c]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp eax, ebx
jbe 0x409c80
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x14]
call fcn.00401810
mov edx, dword [esp + 0x10]
push 0x5c
push edx
call fcn.00428cb0
add esp, 8
cmp eax, ebx
je 0x409d79
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, ebx
jle 0x409d79
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x18]
call fcn.00402470
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x244], 2
call fcn.00401770
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x240], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409d79
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [esp + 0x14]
push ecx
push 0x44d79c
push 1
push ebx
push 0x44d7bc
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x409dc6
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x240], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x409c9b
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x24], ebx
mov ecx, dword [eax]
push 0x44d7ac
push eax
mov eax, dword [ecx]
call eax
cmp eax, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
jge 0x409e0e
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x10]
call fcn.00401c10
lea ecx, [esp + 0x18]
call fcn.00401c10
xor eax, eax
jmp 0x409ed6
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x2c]
push edi
push eax
call edx
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
push 0x44760c
lea ecx, [esp + 0x20]
call fcn.004018a0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x244], 3
call fcn.00401770
push 0x44764c
lea ecx, [esp + 0x20]
call fcn.00402c90
push str.CpmDistMan.lnk
lea ecx, [esp + 0x20]
call fcn.00402c90
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push 1
push ecx
push eax
call edx
test eax, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jge 0x409eae
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x1c]
call fcn.00401c10
jmp 0x409df5
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x1c]
call fcn.00401c10
lea ecx, [esp + 0x10]
call fcn.00401c10
lea ecx, [esp + 0x18]
call fcn.00401c10
mov eax, 1
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.00428852
add esp, 0x234
ret 4