Function at 0x410c10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471161
mov eax, dword fs:[0]
push eax
sub esp, 0x738
mov eax, dword [0x4950d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004572d0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004572d0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004572d0
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
add esp, 0x24
push 0
push 0x19
push eax
push 0
call esi
push 0
push 0x17
lea eax, [ebp - 0x218]
push eax
push 0
call esi
push 0
push 0x1a
lea eax, [ebp - 0x420]
push eax
push 0
call esi
test eax, eax
je 0x410cd8
lea edi, [ebp - 0x420]
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x410cc0
mov ecx, 0x15
mov esi, str.MicrosoftInternet_ExplorerQuick_Launch
rep movsd dword es:[edi], dword [esi]
xor eax, eax
mov dword [ebp - 0x71c], 7
mov dword [ebp - 0x720], 0
mov word [ebp - 0x730], ax
cmp word [ebp - 0x628], ax
jne 0x410d02
xor ecx, ecx
jmp 0x410d1f
lea ecx, [ebp - 0x628]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410d10
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x730]
call fcn.0040a200
xor eax, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x6ec], 7
mov dword [ebp - 0x6f0], 0
mov word [ebp - 0x700], ax
cmp word [ebp - 0x420], ax
jne 0x410d63
xor ecx, ecx
jmp 0x410d7f
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410d70
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x700]
call fcn.0040a200
xor eax, eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x704], 7
mov dword [ebp - 0x708], 0
mov word [ebp - 0x718], ax
cmp word [ebp - 0x218], ax
jne 0x410dc0
xor ecx, ecx
jmp 0x410ddf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410dd0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x718]
call fcn.0040a200
mov eax, dword [0x4990f0]
mov byte [ebp - 4], 2
test eax, eax
jne 0x410e2b
push 0x54
call fcn.0041508d
add esp, 4
mov dword [ebp - 0x734], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x410e20
mov ecx, eax
call fcn.00408440
jmp 0x410e22
xor eax, eax
mov byte [ebp - 4], 2
mov dword [0x4990f0], eax
mov ecx, eax
call fcn.00408d20
mov dword [ebp - 0x734], eax
test eax, eax
je 0x411595
mov esi, dword [eax]
cmp esi, dword [eax + 4]
je 0x411595
nop dword [eax + eax]
mov ebx, dword [esi]
lea ecx, [ebp - 0x640]
push 0xb
xor eax, eax
mov dword [ebp - 0x62c], 7
push str.ShortcutPos
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
call fcn.0040a200
mov eax, dword [ebx]
lea ecx, [ebp - 0x640]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 4
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x62c]
mov edi, eax
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x410eb7
inc ecx
push ecx
push dword [ebp - 0x640]
lea ecx, [ebp - 0x640]
call fcn.0040a300
xor eax, eax
mov dword [ebp - 0x62c], 7
push 0xc
push str.ShortcutName
lea ecx, [ebp - 0x6a0]
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
mov dword [ebp - 0x68c], 7
mov dword [ebp - 0x690], eax
mov word [ebp - 0x6a0], ax
call fcn.0040a200
mov eax, dword [ebx]
lea ecx, [ebp - 0x6a0]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 5
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x68c]
mov dword [ebp - 0x740], eax
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x410f37
inc ecx
push ecx
push dword [ebp - 0x6a0]
lea ecx, [ebp - 0x6a0]
call fcn.0040a300
xor eax, eax
mov dword [ebp - 0x68c], 7
push 0xa
push str.SourceName
lea ecx, [ebp - 0x6b8]
mov dword [ebp - 0x690], 0
mov word [ebp - 0x6a0], ax
mov dword [ebp - 0x6a4], 7
mov dword [ebp - 0x6a8], eax
mov word [ebp - 0x6b8], ax
call fcn.0040a200
mov eax, dword [ebx]
lea ecx, [ebp - 0x6b8]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 6
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x6a4]
mov dword [ebp - 0x744], eax
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x410fb7
inc ecx
push ecx
push dword [ebp - 0x6b8]
lea ecx, [ebp - 0x6b8]
call fcn.0040a300
xor eax, eax
mov dword [ebp - 0x6a4], 7
push 0xa
push str.FolderName
lea ecx, [ebp - 0x6d0]
mov dword [ebp - 0x6a8], 0
mov word [ebp - 0x6b8], ax
mov dword [ebp - 0x6bc], 7
mov dword [ebp - 0x6c0], eax
mov word [ebp - 0x6d0], ax
call fcn.0040a200
mov eax, dword [ebx]
lea ecx, [ebp - 0x6d0]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 7
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x6bc]
mov dword [ebp - 0x738], eax
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x411037
inc ecx
push ecx
push dword [ebp - 0x6d0]
lea ecx, [ebp - 0x6d0]
call fcn.0040a300
xor eax, eax
mov dword [ebp - 0x6bc], 7
push 8
push str.Describe
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x6c0], 0
mov word [ebp - 0x6d0], ax
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], eax
mov word [ebp - 0x658], ax
call fcn.0040a200
mov eax, dword [ebx]
lea ecx, [ebp - 0x658]
push ecx
mov ecx, ebx
mov byte [ebp - 4], 8
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0x644]
mov dword [ebp - 0x73c], eax
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x4110b7
inc ecx
push ecx
push dword [ebp - 0x658]
lea ecx, [ebp - 0x658]
call fcn.0040a300
xor eax, eax
mov dword [ebp - 0x644], 7
mov dword [ebp - 0x648], 0
mov word [ebp - 0x658], ax
test edi, edi
je 0x411583
push eax
push 0x47476c
lea ecx, [ebp - 0x670]
mov dword [ebp - 0x65c], 7
mov dword [ebp - 0x660], eax
mov word [ebp - 0x670], ax
call fcn.0040a200
push 0x47476c
lea ecx, [ebp - 0x688]
mov byte [ebp - 4], 9
call fcn.004083e0
push 0x47476c
lea ecx, [ebp - 0x6e8]
mov byte [ebp - 4], 0xa
call fcn.004083e0
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 0xb
jb 0x41113a
mov eax, dword [edi]
jmp 0x41113c
mov eax, edi
mov ecx, str.Desktop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411167
test dx, dx
je 0x411163
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411167
add eax, 4
add ecx, 4
test dx, dx
jne 0x411141
xor eax, eax
jmp 0x41116c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x411185
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x730]
push eax
lea ecx, [ebp - 0x670]
call fcn.0040a0e0
cmp dword [edi + 0x14], 8
jb 0x41118f
mov eax, dword [edi]
jmp 0x411191
mov eax, edi
mov ecx, str.StartMenu
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4111bc
test dx, dx
je 0x4111b8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4111bc
add eax, 4
add ecx, 4
test dx, dx
jne 0x411196
xor eax, eax
jmp 0x4111c1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x411202
cmp word [ebp - 0x218], ax
jne 0x4111d2
xor ecx, ecx
jmp 0x4111ef
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4111e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x670]
call fcn.0040a200
cmp dword [edi + 0x14], 8
jb 0x41120c
mov eax, dword [edi]
jmp 0x41120e
mov eax, edi
mov ecx, str.Program
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x411239
test dx, dx
je 0x411235
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x411239
add eax, 4
add ecx, 4
test dx, dx
jne 0x411213
xor eax, eax
jmp 0x41123e
sbb eax, eax
or eax, 1
test eax, eax
jne 0x411282
cmp word [ebp - 0x218], ax
jne 0x41124f
xor ecx, ecx
jmp 0x41126f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411260
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x670]
call fcn.0040a200
cmp dword [edi + 0x14], 8
jb 0x41128a
mov edi, dword [edi]
mov eax, str.StartUp
nop
mov cx, word [edi]
cmp cx, word [eax]
jne 0x4112b6
test cx, cx
je 0x4112b2
mov cx, word [edi + 2]
cmp cx, word [eax + 2]
jne 0x4112b6
add edi, 4
add eax, 4
test cx, cx
jne 0x411290
xor eax, eax
jmp 0x4112bb
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4112d4
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x700]
push eax
lea ecx, [ebp - 0x670]
call fcn.0040a0e0
mov ebx, dword [ebp - 0x738]
test ebx, ebx
je 0x41134f
call fcn.004099c0
mov ecx, eax
call fcn.00408af0
mov edx, eax
cmp word [edx], 0
jne 0x4112f6
xor ecx, ecx
jmp 0x41130f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411300
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x688]
call fcn.0040a200
cmp dword [ebx + 0x14], 8
jb 0x411324
mov ebx, dword [ebx]
cmp word [ebx], 0
jne 0x41132e
xor ecx, ecx
jmp 0x411342
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411333
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x688]
call fcn.00409fb0
mov ebx, dword [ebp - 0x73c]
test ebx, ebx
je 0x41138c
cmp dword [ebx + 0x14], 8
jb 0x411361
mov ebx, dword [ebx]
cmp word [ebx], 0
jne 0x41136b
xor ecx, ecx
jmp 0x41137f
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411370
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x6e8]
call fcn.0040a200
mov ebx, dword [ebp - 0x740]
xor eax, eax
cmp dword [ebp - 0x660], eax
mov edi, dword [ebp - 0x744]
setne al
xor ecx, ecx
test ebx, ebx
cmove eax, ecx
test edi, edi
cmove eax, ecx
test eax, eax
je 0x4114eb
xor eax, eax
mov dword [ebp - 0x630], ecx
push 0xffffffffffffffff
push eax
mov word [ebp - 0x640], ax
lea ecx, [ebp - 0x640]
lea eax, [ebp - 0x670]
mov dword [ebp - 0x62c], 7
push eax
call fcn.0040a0e0
push 1
push 0x4747a0
lea ecx, [ebp - 0x640]
mov byte [ebp - 4], 0xc
call fcn.00409fb0
cmp dword [ebx + 0x14], 8
jb 0x411403
mov ebx, dword [ebx]
push ebx
lea ecx, [ebp - 0x640]
call fcn.004087b0
push 4
push str..lnk
lea ecx, [ebp - 0x640]
call fcn.00409fb0
cmp dword [ebp - 0x62c], 8
lea eax, [ebp - 0x640]
cmovae eax, dword [ebp - 0x640]
push eax
call fcn.0045575f
add esp, 4
call fcn.004099c0
mov ecx, eax
call fcn.00408af0
push eax
lea ecx, [ebp - 0x658]
call fcn.004083e0
cmp dword [edi + 0x14], 8
mov byte [ebp - 4], 0xd
jb 0x411462
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x658]
call fcn.004087b0
cmp dword [ebp - 0x674], 8
lea edi, [ebp - 0x688]
push 0x47476c
cmovae edi, dword [ebp - 0x688]
lea edx, [ebp - 0x6e8]
cmp dword [ebp - 0x6d4], 8
lea ecx, [ebp - 0x658]
push edi
cmovae edx, dword [ebp - 0x6e8]
lea eax, [ebp - 0x640]
cmp dword [ebp - 0x644], 8
push 0
cmovae ecx, dword [ebp - 0x658]
cmp dword [ebp - 0x62c], 8
push 1
cmovae eax, dword [ebp - 0x640]
push 0
push edx
push ecx
push eax
call fcn.00455959
add esp, 0x20
lea ecx, [ebp - 0x658]
call fcn.0040d220
lea ecx, [ebp - 0x640]
call fcn.0040d220
mov eax, dword [ebp - 0x6d4]
cmp eax, 8
jb 0x411509
inc eax
lea ecx, [ebp - 0x6e8]
push eax
push dword [ebp - 0x6e8]
call fcn.0040a300
xor eax, eax
mov dword [ebp - 0x6d4], 7
mov word [ebp - 0x6e8], ax
mov eax, dword [ebp - 0x674]
mov dword [ebp - 0x6d8], 0
cmp eax, 8
jb 0x411544
inc eax
lea ecx, [ebp - 0x688]
push eax
push dword [ebp - 0x688]
call fcn.0040a300
xor eax, eax
mov dword [ebp - 0x674], 7
mov word [ebp - 0x688], ax
mov eax, dword [ebp - 0x65c]
mov dword [ebp - 0x678], 0
mov byte [ebp - 4], 2
cmp eax, 8
jb 0x411583
inc eax
lea ecx, [ebp - 0x670]
push eax
push dword [ebp - 0x670]
call fcn.0040a300
mov eax, dword [ebp - 0x734]
add esi, 4
cmp esi, dword [eax + 4]
jne 0x410e50
mov eax, dword [ebp - 0x704]
cmp eax, 8
jb 0x4115b3
inc eax
lea ecx, [ebp - 0x718]
push eax
push dword [ebp - 0x718]
call fcn.0040a300
xor eax, eax
mov dword [ebp - 0x704], 7
mov word [ebp - 0x718], ax
mov eax, dword [ebp - 0x6ec]
mov dword [ebp - 0x708], 0
cmp eax, 8
jb 0x4115ee
inc eax
lea ecx, [ebp - 0x700]
push eax
push dword [ebp - 0x700]
call fcn.0040a300
xor eax, eax
mov dword [ebp - 0x6ec], 7
mov word [ebp - 0x700], ax
mov eax, dword [ebp - 0x71c]
mov dword [ebp - 0x6f0], 0
cmp eax, 8
jb 0x411629
inc eax
lea ecx, [ebp - 0x730]
push eax
push dword [ebp - 0x730]
call fcn.0040a300
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415020
mov esp, ebp
pop ebp
ret