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

Disassembly:
mov eax, 0x413a74
call fcn.00413260
sub esp, 0x27c
push esi
mov esi, dword [ebp + 8]
mov ax, word [esi]
cmp ax, 0x30
push edi
mov edi, dword [sym.imp.msvcrt.dll__wtol]
jb 0x403569
cmp ax, 0x39
ja 0x403569
push esi
call edi
pop ecx
jmp 0x4035e4
movzx eax, ax
push 0x20
pop ecx
or eax, ecx
sub eax, 0x64
je 0x4035ce
sub eax, 0xc
je 0x4035b7
sub eax, 3
je 0x40359f
dec eax
jne 0x4038e0
mov ax, word [esi + 2]
or ax, cx
sub ax, 0x75
neg ax
sbb eax, eax
and eax, 0x11
add eax, 7
jmp 0x4035e4
mov ax, word [esi + 2]
or ax, cx
sub ax, 0x75
neg ax
sbb eax, eax
and eax, 0xb
add eax, 0xb
jmp 0x4035e4
mov ax, word [esi + 2]
or ax, cx
sub ax, 0x75
neg ax
sbb eax, eax
and eax, 0x15
inc eax
inc eax
jmp 0x4035e4
mov ax, word [esi + 2]
or ax, cx
sub ax, 0x75
neg ax
sbb eax, eax
and eax, 9
add eax, 0x10
push ebx
xor ebx, ebx
jmp 0x4035f4
cmp cx, bx
je 0x4038df
inc esi
inc esi
mov cx, word [esi]
cmp cx, 0x2c
jne 0x4035e9
push ebx
push eax
lea eax, [ebp - 0x288]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4038df
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040239d
lea ecx, [ebp - 0x70]
mov dword [ebp - 4], ebx
call fcn.004015e5
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.004015e5
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004015e5
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call fcn.004015e5
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.004015e5
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 5
call fcn.004015e5
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call fcn.004015e5
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 7
call fcn.004015e5
lea eax, [ebp - 0x70]
push eax
push esi
mov byte [ebp - 4], 8
call fcn.00402cb7
cmp dword [ebp - 0x6c], ebx
pop ecx
pop ecx
jne 0x4036f4
push dword [ebp - 0x7c]
mov byte [ebp - 4], 7
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x64]
mov byte [ebp - 4], 6
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x4c]
mov byte [ebp - 4], 5
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x58]
mov byte [ebp - 4], 2
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
mov byte [ebp - 4], 1
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x70]
jmp 0x4038c8
lea ecx, [ebp - 0x40]
push ecx
push eax
call fcn.00402cb7
lea ecx, [ebp - 0x58]
push ecx
push eax
call fcn.00402cb7
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.00402cb7
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.00402cb7
lea ecx, [ebp - 0x4c]
push ecx
push eax
call fcn.00402cb7
lea ecx, [ebp - 0x64]
push ecx
push eax
call fcn.00402cb7
lea ecx, [ebp - 0x7c]
push ecx
push eax
call fcn.00402cb7
push dword [ebp - 0x7c]
call edi
mov esi, dword [ebp - 0x70]
add esp, 0x3c
cmp dword [ebp - 0x18], ebx
mov edi, eax
jne 0x40377b
lea eax, [ebp - 0x70]
push eax
call fcn.00402d43
pop ecx
lea eax, [esi + eax*2 + 2]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004014fd
push 0x2e
lea ecx, [ebp - 0x1c]
call fcn.00402424
cmp eax, ebx
jl 0x40377b
mov ecx, dword [ebp - 0x1c]
mov word [ecx + eax*2], bx
mov dword [ebp - 0x18], eax
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.004015fd
cmp dword [ebp - 0x54], ebx
je 0x4037a0
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.004015b6
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.004015fd
push dword [ebp - 0x28]
call fcn.004033cf
test eax, eax
pop ecx
je 0x403873
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
call fcn.004015b6
push str..lnk
lea ecx, [ebp - 0x28]
call fcn.004023ee
lea eax, [ebp + 8]
push eax
push 0x416910
push 1
push ebx
push 0x416920
mov dword [ebp + 8], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x403873
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp - 0x30], ebx
je 0x40380a
mov eax, dword [ebp + 8]
push dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp dword [ebp - 0x3c], ebx
je 0x40381b
mov eax, dword [ebp + 8]
push dword [ebp - 0x40]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp - 0x48], ebx
je 0x40382c
mov eax, dword [ebp + 8]
push dword [ebp - 0x4c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
cmp dword [ebp - 0x60], ebx
je 0x40383e
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push edi
push dword [ebp - 0x64]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x416950
push eax
call dword [ecx]
cmp eax, ebx
jl 0x40386a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
push dword [ebp - 0x28]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x7c]
mov byte [ebp - 4], 7
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x64]
mov byte [ebp - 4], 6
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x4c]
mov byte [ebp - 4], 5
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x34]
mov byte [ebp - 4], 3
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x58]
mov byte [ebp - 4], 2
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x40]
mov byte [ebp - 4], 1
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push esi
mov byte [ebp - 4], bl
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x28]
or dword [ebp - 4], 0xffffffff
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 0x24
pop ebx
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
leave
ret