Function at 0x41eb60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452c4e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x47d00c]
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
mov ebx, edx
mov dword [ebp - 0xa4], ebx
mov edi, ecx
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
push edi
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x20], xmm0
call fcn.00409a90
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00410f40
test al, al
je 0x41ed79
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
xor bl, bl
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
movq qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
call fcn.00409a40
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x46d658
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0040a840
mov esi, eax
test esi, esi
je 0x41ed32
lea ecx, [ebp - 0x20]
call fcn.00409c00
sub eax, 2
cmp esi, eax
jg 0x41ed32
lea ecx, [ebp - 0x20]
call fcn.00409c00
sub eax, esi
lea ecx, [ebp - 0x20]
push eax
lea eax, [esi + 1]
push eax
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b3a0
lea eax, [esi - 1]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a750
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x41ed32
lea ecx, [ebp - 0x20]
call fcn.00409cd0
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x41ed32
mov ecx, dword [ebp - 0x94]
lea esi, [ebp - 0x14]
push esi
push 0x4546d0
push 0
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x14]
test eax, eax
jne 0x41ed26
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push 0
mov esi, dword [eax]
lea eax, [ebp - 0x8c]
push eax
push 0
call fcn.00409cd0
push eax
push 0
push 0
push dword [ebp - 0x14]
call dword [esi + 0xc]
test eax, eax
jne 0x41ed26
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x90]
push edx
push 0
push 0x4546f0
mov ecx, dword [eax]
lea edx, [ebp - 0x8c]
push edx
push 1
push 0
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x41ed26
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x90]
push edx
push dword [ebp - 0xa4]
push dword [ebp + 8]
mov ecx, dword [eax]
push edi
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
sete bl
push dword [ebp - 0xa8]
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x41ed43
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x41ed53
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x41ed60
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x94]
test ecx, ecx
je 0x41f148
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
jmp 0x41f148
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x46daa8
lea ecx, [ebp - 0x20]
call fcn.0040a840
mov esi, eax
test esi, esi
jne 0x41edd9
push 0x104
push eax
push 0x104
lea ecx, [ebp - 0x20]
call fcn.00409f90
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push str.Shell32.dll
lea ecx, [ebp - 0x20]
call fcn.0040aaf0
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
push edi
call fcn.0040bb30
mov bl, al
jmp 0x41f150
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x2c]
movq qword [ebp - 0x2c], xmm0
call fcn.00409a40
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00409c00
push eax
push esi
lea ecx, [ebp - 0x20]
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040b3a0
push str..lnk
lea ecx, [ebp - 0x2c]
call fcn.00409b40
test al, al
je 0x41eef4
push 0x4c
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.0043e2c0
add esp, 8
lea ecx, [ebp - 0x20]
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x88]
call fcn.0040eea0
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 3
call fcn.0040f090
push eax
lea ecx, [ebp - 0x20]
call fcn.00409b00
lea ecx, [ebp - 0x20]
call fcn.00409c00
test eax, eax
je 0x41ee92
push dword [ebp + 8]
mov eax, dword [ebp - 0x44]
lea ecx, [ebp - 0x20]
push edi
mov dword [ebx], eax
call fcn.0040bb30
lea ecx, [ebp - 0x88]
mov bl, al
call fcn.0040f1f0
jmp 0x41f148
lea ecx, [ebp - 0x88]
call fcn.0040f010
push eax
lea ecx, [ebp - 0x20]
call fcn.00409b00
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20]
push esi
push edi
call fcn.0040bb30
lea ecx, [ebp - 0x20]
call fcn.00409cd0
mov ecx, eax
call fcn.00410f40
test al, al
je 0x41eee2
push esi
mov edx, ebx
mov ecx, edi
call fcn.0041eb60
lea ecx, [ebp - 0x88]
mov bl, al
call fcn.0040f1f0
jmp 0x41f148
lea ecx, [ebp - 0x88]
mov bl, 1
call fcn.0040f1f0
jmp 0x41f148
sub esp, 0x28
lea ecx, [ebp - 0x2c]
push 0
push str.HKCR_
call fcn.0040ae00
push ecx
push 0x20019
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
call fcn.00409cd0
push eax
lea ecx, [ebp - 0x14]
call fcn.0040c6e0
push 0x46c5fc
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov dword [ebp - 0x98], 0
push eax
lea ecx, [ebp - 0x14]
movq qword [ebp - 0xa0], xmm0
call fcn.0040c760
sub esp, 0xc
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0xa0]
call fcn.0040c5c0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x98], 1
je 0x41ef80
xor bl, bl
jmp 0x41f135
push ecx
push dword [ebp - 0xa0]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.00409a90
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.DefaultIcon
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.00409cd0
push eax
push str.HKCR_
lea ecx, [ebp - 0x2c]
call fcn.00409c70
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00409cd0
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040c850
sub esp, 0xc
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0xa0]
call fcn.0040c5e0
mov esi, dword [ebp - 0x98]
cmp esi, 1
je 0x41f0f3
cmp esi, 2
je 0x41f0f3
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.ShellOpencommand
lea ecx, [ebp - 0x38]
call fcn.00409cd0
push eax
push str.HKCR_
lea ecx, [ebp - 0x2c]
call fcn.00409c70
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00409cd0
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040c850
sub esp, 0xc
mov ecx, esp
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
lea ecx, [ebp - 0xa0]
call fcn.0040c5e0
mov esi, dword [ebp - 0x98]
cmp esi, 1
je 0x41f097
cmp esi, 2
je 0x41f097
xor bl, bl
jmp 0x41f12d
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x20]
call fcn.00409b00
cmp esi, 2
jne 0x41f0b2
lea ecx, [ebp - 0x20]
call fcn.00409eb0
push 0
push 1
push 1
push 0
push str..exe
lea ecx, [ebp - 0x20]
call fcn.0040a840
test eax, eax
je 0x41f0d7
add eax, 3
lea ecx, [ebp - 0x20]
push eax
call fcn.0040a750
push 0
lea ecx, [ebp - 0x20]
call fcn.00409b70
cmp word [eax], 0x22
jne 0x41f10e
push 1
lea ecx, [ebp - 0x20]
call fcn.0040a7d0
jmp 0x41f10e
push dword [ebp - 0xa0]
lea ecx, [ebp - 0x20]
call fcn.00409b00
cmp esi, 2
jne 0x41f10e
lea ecx, [ebp - 0x20]
call fcn.00409eb0
lea ecx, [ebp - 0x20]
call fcn.00409cd0
push eax
call dword [sym.imp.SHLWAPI.dll_PathParseIconLocationW]
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
mov dword [ebx], eax
push edi
call fcn.0040bb30
mov bl, al
lea ecx, [ebp - 0x38]
call fcn.00409b80
lea ecx, [ebp - 0xa0]
call fcn.00409b80
lea ecx, [ebp - 0x14]
call fcn.0040c740
lea ecx, [ebp - 0x2c]
call fcn.00409b80
lea ecx, [ebp - 0x20]
call fcn.00409b80
mov al, bl
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.00424a0b
mov esp, ebp
pop ebp
ret 4