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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x30
jl 0x404414
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x39
jg 0x404414
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
add esp, 4
mov dword [ebp - 8], eax
jmp 0x4044fb
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.0x404446.1
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x404a00]
jmp dword [edx*4 + 0x4049ec]
mov eax, 2
shl eax, 0
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax]
or edx, 0x20
cmp edx, 0x75
jne 0x40446d
mov dword [ebp - 8], 0x10
jmp 0x404474
mov dword [ebp - 8], 0x19
jmp 0x4044fb
mov eax, 2
shl eax, 0
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax]
or edx, 0x20
cmp edx, 0x75
jne 0x404499
mov dword [ebp - 8], 0xb
jmp 0x4044a0
mov dword [ebp - 8], 0x16
jmp 0x4044fb
mov eax, 2
shl eax, 0
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax]
or edx, 0x20
cmp edx, 0x75
jne 0x4044c2
mov dword [ebp - 8], 2
jmp 0x4044c9
mov dword [ebp - 8], 0x17
jmp 0x4044fb
mov eax, 2
shl eax, 0
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax]
or edx, 0x20
cmp edx, 0x75
jne 0x4044eb
mov dword [ebp - 8], 7
jmp 0x4044f2
mov dword [ebp - 8], 0x18
jmp 0x4044fb
xor eax, eax
jmp 0x4049e5
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x2c
je 0x404522
mov edx, dword [ebp + 8]
movzx eax, word [edx]
test eax, eax
jne 0x404517
xor eax, eax
jmp 0x4049e5
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp + 8], ecx
jmp 0x4044fb
push 0
mov edx, dword [ebp - 8]
push edx
lea eax, [ebp - 0x2d4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x404542
xor eax, eax
jmp 0x4049e5
lea ecx, [ebp - 0x2d4]
push ecx
lea ecx, [ebp - 0x24]
call fcn.00401830
lea ecx, [ebp - 0x3c]
call fcn.00401310
lea ecx, [ebp - 0x78]
call fcn.00401310
lea ecx, [ebp - 0x6c]
call fcn.00401310
lea ecx, [ebp - 0x60]
call fcn.00401310
lea ecx, [ebp - 0x30]
call fcn.00401310
lea ecx, [ebp - 0x54]
call fcn.00401310
lea ecx, [ebp - 0x48]
call fcn.00401310
lea ecx, [ebp - 0xc8]
call fcn.00401310
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00404f30
add esp, 8
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x3c]
call fcn.00405f20
movzx ecx, al
test ecx, ecx
je 0x404616
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0xc8]
call fcn.00401880
lea ecx, [ebp - 0x48]
call fcn.00401880
lea ecx, [ebp - 0x54]
call fcn.00401880
lea ecx, [ebp - 0x30]
call fcn.00401880
lea ecx, [ebp - 0x60]
call fcn.00401880
lea ecx, [ebp - 0x6c]
call fcn.00401880
lea ecx, [ebp - 0x78]
call fcn.00401880
lea ecx, [ebp - 0x3c]
call fcn.00401880
lea ecx, [ebp - 0x24]
call fcn.00401880
mov eax, dword [ebp - 0xa0]
jmp 0x4049e5
lea edx, [ebp - 0x78]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00404f30
add esp, 8
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x6c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00404f30
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404f30
add esp, 8
mov dword [ebp + 8], eax
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00404f30
add esp, 8
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00404f30
add esp, 8
mov dword [ebp + 8], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404f30
add esp, 8
mov dword [ebp + 8], eax
lea edx, [ebp - 0xc8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00404f30
add esp, 8
lea ecx, [ebp - 0xc8]
call fcn.004013a0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
add esp, 4
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x30]
call fcn.00405f20
movzx ecx, al
test ecx, ecx
je 0x40470b
lea edx, [ebp - 0x3c]
push edx
call fcn.004052f0
add esp, 4
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x3c]
call fcn.004013a0
mov ecx, dword [ebp - 0x14]
lea edx, [eax + ecx*2 + 2]
push edx
lea ecx, [ebp - 0x30]
call fcn.004021b0
push 0x2e
lea ecx, [ebp - 0x30]
call fcn.0041b660
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x40470b
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x30]
call fcn.004020d0
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.004018a0
lea ecx, [ebp - 0x6c]
call fcn.00405f20
movzx ecx, al
test ecx, ecx
jne 0x40473a
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x24]
call fcn.0041ae70
push 0x5c
lea ecx, [ebp - 0x24]
call fcn.004018a0
lea ecx, [ebp - 0x24]
call fcn.004013a0
push eax
call fcn.00404120
add esp, 4
test eax, eax
jne 0x4047af
mov dword [ebp - 0xa4], 0
lea ecx, [ebp - 0xc8]
call fcn.00401880
lea ecx, [ebp - 0x48]
call fcn.00401880
lea ecx, [ebp - 0x54]
call fcn.00401880
lea ecx, [ebp - 0x30]
call fcn.00401880
lea ecx, [ebp - 0x60]
call fcn.00401880
lea ecx, [ebp - 0x6c]
call fcn.00401880
lea ecx, [ebp - 0x78]
call fcn.00401880
lea ecx, [ebp - 0x3c]
call fcn.00401880
lea ecx, [ebp - 0x24]
call fcn.00401880
mov eax, dword [ebp - 0xa4]
jmp 0x4049e5
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x24]
call fcn.0041ae70
push str..lnk
lea ecx, [ebp - 0x24]
call fcn.0041aed0
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0x432c9c
push 1
push 0
push 0x432ccc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x40498a
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x50]
mov dword [ebp - 0xac], ecx
lea ecx, [ebp - 0x3c]
call fcn.004013a0
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0xac]
lea ecx, [ebp - 0x60]
call fcn.00405f20
movzx ecx, al
test ecx, ecx
jne 0x404864
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0xb4], ecx
lea ecx, [ebp - 0x60]
call fcn.004013a0
mov dword [ebp - 0xb0], eax
mov edx, dword [ebp - 0xb0]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0xb4]
lea ecx, [ebp - 0x78]
call fcn.00405f20
movzx ecx, al
test ecx, ecx
jne 0x4048a0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x2c]
mov dword [ebp - 0xbc], ecx
lea ecx, [ebp - 0x78]
call fcn.004013a0
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb8]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0xbc]
lea ecx, [ebp - 0x54]
call fcn.00405f20
movzx ecx, al
test ecx, ecx
jne 0x4048d0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x80], ecx
lea ecx, [ebp - 0x54]
call fcn.004013a0
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0x80]
lea ecx, [ebp - 0x48]
call fcn.00405f20
movzx ecx, al
test ecx, ecx
jne 0x404913
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x44]
mov dword [ebp - 0x8c], ecx
lea ecx, [ebp - 0x48]
call fcn.004013a0
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [ebp - 0x8c]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
lea edx, [ebp - 0xc]
push edx
push 0x432cbc
mov eax, dword [ebp - 4]
push eax
call dword [ebp - 0x90]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x40497c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0x24]
call fcn.004013a0
mov dword [ebp - 0x94], eax
push 1
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [ebp - 0x98]
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 - 0x9c], 0
lea ecx, [ebp - 0xc8]
call fcn.00401880
lea ecx, [ebp - 0x48]
call fcn.00401880
lea ecx, [ebp - 0x54]
call fcn.00401880
lea ecx, [ebp - 0x30]
call fcn.00401880
lea ecx, [ebp - 0x60]
call fcn.00401880
lea ecx, [ebp - 0x6c]
call fcn.00401880
lea ecx, [ebp - 0x78]
call fcn.00401880
lea ecx, [ebp - 0x3c]
call fcn.00401880
lea ecx, [ebp - 0x24]
call fcn.00401880
mov eax, dword [ebp - 0x9c]
mov esp, ebp
pop ebp
ret