Function at 0x404288
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x30
jl 0x404223
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x39
jg 0x404223
mov ecx, dword [ebp + 8]
push ecx
call sub.api_ms_win_crt_convert_l1_1_0.dll__wtol
add esp, 4
mov dword [ebp - 8], eax
jmp 0x40430a
mov edx, 2
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax]
or edx, 0x20
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, 0x64
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x10
ja case.0x404255.1
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x404780]
jmp dword [edx*4 + 0x40476c]
mov eax, 2
shl eax, 0
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax]
or edx, 0x20
cmp edx, 0x75
jne 0x40427c
mov dword [ebp - 8], 0x10
jmp 0x404283
mov dword [ebp - 8], 0x19
jmp 0x40430a
mov eax, 2
shl eax, 0
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax]
or edx, 0x20
cmp edx, 0x75
jne 0x4042a8
mov dword [ebp - 8], 0xb
jmp 0x4042af
mov dword [ebp - 8], 0x16
jmp 0x40430a
mov eax, 2
shl eax, 0
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax]
or edx, 0x20
cmp edx, 0x75
jne 0x4042d1
mov dword [ebp - 8], 2
jmp 0x4042d8
mov dword [ebp - 8], 0x17
jmp 0x40430a
mov eax, 2
shl eax, 0
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax]
or edx, 0x20
cmp edx, 0x75
jne 0x4042fa
mov dword [ebp - 8], 7
jmp 0x404301
mov dword [ebp - 8], 0x18
jmp 0x40430a
xor eax, eax
jmp 0x404765
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x2c
je 0x404331
mov edx, dword [ebp + 8]
movzx eax, word [edx]
test eax, eax
jne 0x404326
xor eax, eax
jmp 0x404765
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp + 8], ecx
jmp 0x40430a
push 0
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x2a0]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x404351
xor eax, eax
jmp 0x404765
lea ecx, [ebp - 0x2a0]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00401780
lea ecx, [ebp - 0x3c]
call fcn.004012a0
lea ecx, [ebp - 0x78]
call fcn.004012a0
lea ecx, [ebp - 0x6c]
call fcn.004012a0
lea ecx, [ebp - 0x60]
call fcn.004012a0
lea ecx, [ebp - 0x30]
call fcn.004012a0
lea ecx, [ebp - 0x54]
call fcn.004012a0
lea ecx, [ebp - 0x48]
call fcn.004012a0
lea ecx, [ebp - 0x94]
call fcn.004012a0
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00404c90
add esp, 8
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x3c]
call fcn.00405c10
movzx ecx, al
test ecx, ecx
je 0x40441f
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x94]
call fcn.004017d0
lea ecx, [ebp - 0x48]
call fcn.004017d0
lea ecx, [ebp - 0x54]
call fcn.004017d0
lea ecx, [ebp - 0x30]
call fcn.004017d0
lea ecx, [ebp - 0x60]
call fcn.004017d0
lea ecx, [ebp - 0x6c]
call fcn.004017d0
lea ecx, [ebp - 0x78]
call fcn.004017d0
lea ecx, [ebp - 0x3c]
call fcn.004017d0
lea ecx, [ebp - 0x24]
call fcn.004017d0
mov eax, dword [ebp - 0x7c]
jmp 0x404765
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00404c90
add esp, 8
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00404c90
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404c90
add esp, 8
mov dword [ebp + 8], eax
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00404c90
add esp, 8
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00404c90
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404c90
add esp, 8
mov dword [ebp + 8], eax
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00404c90
add esp, 8
lea ecx, [ebp - 0x94]
call fcn.00401330
push eax
call sub.api_ms_win_crt_convert_l1_1_0.dll__wtol
add esp, 4
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x30]
call fcn.00405c10
movzx ecx, al
test ecx, ecx
je 0x404513
lea edx, [ebp - 0x3c]
push edx
call fcn.00405040
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x3c]
call fcn.00401330
mov ecx, dword [ebp - 0x14]
lea edx, [eax + ecx*2 + 2]
push edx
lea ecx, [ebp - 0x30]
call fcn.00402100
push 0x2e
lea ecx, [ebp - 0x30]
call fcn.00419660
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x404513
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.00402020
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.004017f0
lea ecx, [ebp - 0x6c]
call fcn.00405c10
movzx ecx, al
test ecx, ecx
jne 0x404542
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x24]
call fcn.00418e80
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.004017f0
lea ecx, [ebp - 0x24]
call fcn.00401330
push eax
call fcn.00403f30
add esp, 4
test eax, eax
jne 0x4045b1
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x94]
call fcn.004017d0
lea ecx, [ebp - 0x48]
call fcn.004017d0
lea ecx, [ebp - 0x54]
call fcn.004017d0
lea ecx, [ebp - 0x30]
call fcn.004017d0
lea ecx, [ebp - 0x60]
call fcn.004017d0
lea ecx, [ebp - 0x6c]
call fcn.004017d0
lea ecx, [ebp - 0x78]
call fcn.004017d0
lea ecx, [ebp - 0x3c]
call fcn.004017d0
lea ecx, [ebp - 0x24]
call fcn.004017d0
mov eax, dword [ebp - 0x80]
jmp 0x404765
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.00418e80
push str..lnk
lea ecx, [ebp - 0x24]
call fcn.00418ee0
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0x4265e0
push 1
push 0
push 0x426610
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x40470a
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x3c]
call fcn.00401330
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x50]
call edx
lea ecx, [ebp - 0x60]
call fcn.00405c10
movzx eax, al
test eax, eax
jne 0x40463a
lea ecx, [ebp - 0x60]
call fcn.00401330
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
lea ecx, [ebp - 0x78]
call fcn.00405c10
movzx edx, al
test edx, edx
jne 0x404660
lea ecx, [ebp - 0x78]
call fcn.00401330
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x2c]
call eax
lea ecx, [ebp - 0x54]
call fcn.00405c10
movzx ecx, al
test ecx, ecx
jne 0x404686
lea ecx, [ebp - 0x54]
call fcn.00401330
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x24]
call edx
lea ecx, [ebp - 0x48]
call fcn.00405c10
movzx eax, al
test eax, eax
jne 0x4046b3
mov ecx, dword [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x48]
call fcn.00401330
push eax
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [eax + 0x44]
call edx
lea eax, [ebp - 0xc]
push eax
push 0x426600
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4046fc
push 1
lea ecx, [ebp - 0x24]
call fcn.00401330
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 0x88], 0
lea ecx, [ebp - 0x94]
call fcn.004017d0
lea ecx, [ebp - 0x48]
call fcn.004017d0
lea ecx, [ebp - 0x54]
call fcn.004017d0
lea ecx, [ebp - 0x30]
call fcn.004017d0
lea ecx, [ebp - 0x60]
call fcn.004017d0
lea ecx, [ebp - 0x6c]
call fcn.004017d0
lea ecx, [ebp - 0x78]
call fcn.004017d0
lea ecx, [ebp - 0x3c]
call fcn.004017d0
lea ecx, [ebp - 0x24]
call fcn.004017d0
mov eax, dword [ebp - 0x88]
mov esp, ebp
pop ebp
ret