Function at 0x408e00
Capabilities:
Check if file exists
Create directory
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x438b3b
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x44cc80]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x434], eax
mov esi, ecx
mov dword [ebp - 0x454], esi
mov ebx, edx
xor edi, edi
push edi
push str.COperateFile::CreateShortcut
lea ecx, [ebp - 0x484]
push ecx
call fcn.00405b00
add esp, 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 0x438], 0x800000
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x43c], edi
mov byte [ebp - 4], 1
cmp esi, edi
je 0x4091a5
cmp ebx, edi
je 0x4091a5
mov word [ebp - 0x224], di
push 0x206
push edi
lea edx, [ebp - 0x222]
push edx
call fcn.004250c0
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x458], ecx
mov esi, 0x104
mov dword [ebp - 0x478], esi
lea eax, [ebp - 0x224]
mov dword [ebp - 0x444], eax
cmp esi, edi
je 0x408eef
movzx edx, word [ecx]
cmp dx, di
je 0x408ef8
mov word [eax], dx
add eax, 2
mov dword [ebp - 0x444], eax
add ecx, 2
mov dword [ebp - 0x458], ecx
sub esi, 1
mov dword [ebp - 0x478], esi
jmp 0x408ec3
sub eax, 2
mov dword [ebp - 0x444], eax
mov word [eax], di
push 0x5c
lea eax, [ebp - 0x224]
push eax
call fcn.0042338a
add esp, 8
mov word [eax], di
lea ecx, [ebp - 0x224]
push ecx
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x408fb6
push edi
lea edx, [ebp - 0x224]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
jge 0x408f71
lea eax, [ebp - 0x224]
push eax
push 0x8080000b
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx]
push edx
call fcn.00409990
add esp, 0xc
mov dword [ebp - 0x47c], 0x8080ffff
push 0x44729c
lea eax, [ebp - 0x47c]
push eax
call fcn.00426b1b
lea ecx, [ebp - 0x224]
push ecx
call esi
test eax, eax
jne 0x408fb6
lea edx, [ebp - 0x224]
push edx
push 0x8080000b
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
push ecx
call fcn.00409990
add esp, 0xc
mov dword [ebp - 0x450], 0x8080ffff
push 0x44729c
lea edx, [ebp - 0x450]
push edx
call fcn.00426b1b
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, edi
jge 0x408fdc
mov dword [ebp - 0x46c], 0x8080ffff
push 0x44729c
lea eax, [ebp - 0x46c]
push eax
call fcn.00426b1b
lea ecx, [ebp - 0x430]
push ecx
push 0x43f2ec
push 1
push edi
push 0x43f2fc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jge 0x409015
mov dword [ebp - 0x448], 0x8080ffff
push 0x44729c
lea edx, [ebp - 0x448]
push edx
call fcn.00426b1b
mov eax, dword [ebp - 0x430]
mov ecx, dword [eax]
lea edx, [ebp - 0x43c]
push edx
push 0x43f30c
push eax
mov eax, dword [ecx]
call eax
cmp eax, edi
jge 0x40904d
mov dword [ebp - 0x470], 0x8080ffff
push 0x44729c
lea ecx, [ebp - 0x470]
push ecx
call fcn.00426b1b
mov eax, dword [ebp - 0x430]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x50]
call eax
cmp eax, edi
jge 0x40907b
mov dword [ebp - 0x460], 0x8080ffff
push 0x44729c
lea ecx, [ebp - 0x460]
push ecx
call fcn.00426b1b
mov word [ebp - 0x42c], di
push 0x206
push edi
lea edx, [ebp - 0x42a]
push edx
call fcn.004250c0
add esp, 0xc
mov edx, ebx
mov dword [ebp - 0x474], edx
mov esi, 0x104
mov dword [ebp - 0x468], esi
lea eax, [ebp - 0x42c]
mov dword [ebp - 0x440], eax
cmp esi, edi
je 0x4090e2
movzx ecx, word [edx]
cmp cx, di
je 0x4090eb
mov word [eax], cx
add eax, 2
mov dword [ebp - 0x440], eax
add edx, 2
mov dword [ebp - 0x474], edx
sub esi, 1
mov dword [ebp - 0x468], esi
jmp 0x4090b6
sub eax, 2
mov dword [ebp - 0x440], eax
mov word [eax], di
push 0x5c
lea eax, [ebp - 0x42c]
push eax
call fcn.0042338a
add esp, 8
mov word [eax], di
mov eax, dword [ebp - 0x430]
mov ecx, dword [eax]
lea edx, [ebp - 0x42c]
push edx
push eax
mov eax, dword [ecx + 0x24]
call eax
cmp eax, edi
jge 0x409153
lea ecx, [ebp - 0x42c]
push ecx
push 0x8080000d
mov edx, dword [ebp - 0x434]
mov eax, dword [edx]
push eax
call fcn.00409990
add esp, 0xc
mov dword [ebp - 0x44c], 0x8080ffff
push 0x44729c
lea ecx, [ebp - 0x44c]
push ecx
call fcn.00426b1b
mov eax, dword [ebp - 0x43c]
mov edx, dword [eax]
push 1
mov esi, dword [ebp - 0x454]
push esi
push eax
mov eax, dword [edx + 0x18]
call eax
cmp eax, edi
jge 0x4091a0
push esi
push 0x8080000d
mov ecx, dword [ebp - 0x434]
mov edx, dword [ecx]
push edx
call fcn.00409990
add esp, 0xc
mov dword [ebp - 0x45c], 0x8080ffff
push 0x44729c
lea eax, [ebp - 0x45c]
push eax
call fcn.00426b1b
mov dword [ebp - 4], edi
jmp 0x4091f4
mov dword [ebp - 0x464], 0x8080ffff
push 0x44729c
lea ecx, [ebp - 0x464]
push ecx
call fcn.00426b1b
mov edx, dword [ebp - 0x488]
mov eax, dword [edx]
mov dword [ebp - 0x438], eax
mov dword [ebp - 4], 0
mov eax, 0x4091f2
ret
mov eax, dword [ebp - 0x430]
cmp eax, edi
je 0x409206
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x43c]
cmp eax, edi
je 0x409218
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [ebp - 0x438]
push esi
push str.return_DWORD__d__n
push 2
lea eax, [ebp - 0x484]
push eax
call fcn.00404dc0
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x484]
call fcn.00405a70
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004237ad
mov esp, ebp
pop ebp
ret 4