Function at 0x41ea50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ccab
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x46400c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x8c], ebx
mov edi, ecx
push ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
push edi
movq qword [ebp - 0x1c], xmm0
call fcn.0040ab20
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.00410cc0
test al, al
je 0x41ec30
xorps xmm0, xmm0
mov dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
xor bl, bl
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
movq qword [ebp - 0x30], xmm0
call fcn.0040aae0
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x45876c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040b6c0
mov esi, eax
test esi, esi
je 0x41ebf3
lea ecx, [ebp - 0x1c]
call fcn.0040ac70
sub eax, 2
cmp esi, eax
jg 0x41ebf3
lea ecx, [ebp - 0x1c]
call fcn.0040ac70
sub eax, esi
lea ecx, [ebp - 0x1c]
push eax
lea eax, [esi + 1]
push eax
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x30]
call fcn.0040c230
lea eax, [esi - 1]
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040b5e0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x41ebf3
lea ecx, [ebp - 0x1c]
call fcn.0040ad30
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41ebf3
mov ecx, dword [ebp - 0x7c]
lea esi, [ebp - 0x20]
push esi
push 0x44e700
push 0
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x14]
test eax, eax
jne 0x41ebea
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
push 0
mov esi, dword [eax]
lea eax, [ebp - 0x74]
push eax
push 0
call fcn.0040ad30
push eax
push 0
push 0
push dword [ebp - 0x20]
call dword [esi + 0xc]
test eax, eax
jne 0x41ebea
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x78]
push edx
push 0
push 0x44e720
mov ecx, dword [eax]
lea edx, [ebp - 0x74]
push edx
push 1
push 0
push eax
call dword [ecx + 0x28]
test eax, eax
jne 0x41ebea
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x78]
push edx
push dword [ebp - 0x8c]
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 - 0x24]
call dword [sym.imp.SHELL32.dll_ILFree]
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x41ec01
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x41ec0e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x41ec1b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x41ec28
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
lea ecx, [ebp - 0x30]
jmp 0x41efd2
push 0
push 1
push 0xffffffffffffffff
push 1
push 0x458bc0
lea ecx, [ebp - 0x1c]
call fcn.0040b6c0
mov esi, eax
test esi, esi
jne 0x41ec90
push 0x104
push eax
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.0040afa0
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 - 0x1c]
call fcn.0040b970
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push edi
call fcn.0040c9c0
mov bl, al
jmp 0x41efd7
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.0040aae0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.0040ac70
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x28]
call fcn.0040c230
push str..lnk
lea ecx, [ebp - 0x28]
call fcn.0040abd0
test al, al
je 0x41ed8f
push 0x38
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.00431b40
add esp, 8
lea ecx, [ebp - 0x1c]
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x70]
call fcn.0040ec50
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.0040ee40
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040ab90
lea ecx, [ebp - 0x1c]
call fcn.0040ac70
test eax, eax
je 0x41ed36
push dword [ebp + 8]
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x1c]
push edi
mov dword [ebx], eax
call fcn.0040c9c0
lea ecx, [ebp - 0x70]
mov bl, al
call fcn.0040efa0
jmp 0x41efcf
lea ecx, [ebp - 0x70]
call fcn.0040edc0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040ab90
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push esi
push edi
call fcn.0040c9c0
lea ecx, [ebp - 0x1c]
call fcn.0040ad30
mov ecx, eax
call fcn.00410cc0
test al, al
je 0x41ed80
push esi
mov edx, ebx
mov ecx, edi
call fcn.0041ea50
lea ecx, [ebp - 0x70]
mov bl, al
call fcn.0040efa0
jmp 0x41efcf
lea ecx, [ebp - 0x70]
mov bl, 1
call fcn.0040efa0
jmp 0x41efcf
sub esp, 0x28
lea ecx, [ebp - 0x28]
push 0
push str.HKCR_
call fcn.0040bc80
push 0x20019
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x20], 0
call fcn.0040ad30
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d4c0
push 0x455d58
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
push eax
lea ecx, [ebp - 0x20]
movq qword [ebp - 0x88], xmm0
call fcn.0040d540
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 - 0x88]
call fcn.0040d3a0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x80], 1
je 0x41ee14
xor bl, bl
jmp 0x41efbc
push ecx
push dword [ebp - 0x88]
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
call fcn.0040ab20
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.DefaultIcon
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call fcn.0040ad30
push eax
push str.HKCR_
lea ecx, [ebp - 0x28]
call fcn.0040acd0
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040ad30
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d630
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 - 0x88]
call fcn.0040d3c0
mov esi, dword [ebp - 0x80]
cmp esi, 1
je 0x41ef7a
cmp esi, 2
je 0x41ef7a
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.ShellOpencommand
lea ecx, [ebp - 0x30]
call fcn.0040ad30
push eax
push str.HKCR_
lea ecx, [ebp - 0x28]
call fcn.0040acd0
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040ad30
push eax
lea eax, [ebp - 0x98]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d630
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 - 0x88]
call fcn.0040d3c0
mov esi, dword [ebp - 0x80]
cmp esi, 1
je 0x41ef1e
cmp esi, 2
je 0x41ef1e
xor bl, bl
jmp 0x41efb4
push dword [ebp - 0x88]
lea ecx, [ebp - 0x1c]
call fcn.0040ab90
cmp esi, 2
jne 0x41ef39
lea ecx, [ebp - 0x1c]
call fcn.0040aec0
push 0
push 1
push 1
push 0
push str..exe
lea ecx, [ebp - 0x1c]
call fcn.0040b6c0
test eax, eax
je 0x41ef5e
add eax, 3
lea ecx, [ebp - 0x1c]
push eax
call fcn.0040b5e0
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040ac00
cmp word [eax], 0x22
jne 0x41ef95
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040b660
jmp 0x41ef95
push dword [ebp - 0x88]
lea ecx, [ebp - 0x1c]
call fcn.0040ab90
cmp esi, 2
jne 0x41ef95
lea ecx, [ebp - 0x1c]
call fcn.0040aec0
lea ecx, [ebp - 0x1c]
call fcn.0040ad30
push eax
call dword [sym.imp.SHLWAPI.dll_PathParseIconLocationW]
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
mov dword [ebx], eax
push edi
call fcn.0040c9c0
mov bl, al
lea ecx, [ebp - 0x30]
call fcn.0040ac10
lea ecx, [ebp - 0x88]
call fcn.0040ac10
lea ecx, [ebp - 0x20]
call fcn.0040d530
lea ecx, [ebp - 0x28]
call fcn.0040ac10
lea ecx, [ebp - 0x1c]
call fcn.0040ac10
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 - 0x14]
xor ecx, ebp
call fcn.0042cf3b
mov esp, ebp
pop ebp
ret 4